Skip to main content

Class Quote

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for Quote. Quote carrier with the active quote version and favorite alternative.

Inheritance

objectCarrierQuote

Inherited Members

Carrier.TableRight, Carrier.FieldProperties, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

Quote()

Default constructor - defaults any enum props to 0.

Properties

AcceptedQuoteAlternativeId

The primary key of the Quote Alternative which was finally accepted by the customer. Set when the user is marking a quote as accepted.

Property Value

int

ActiveQuoteVersion

The active quote version for the quote

Property Value

QuoteVersion

ActiveQuoteVersionId

The primary key of the Quote Version that is currently active. (The active version will always be the latest version.)

Property Value

int

DocumentId

The ID of the main Quote Document

Property Value

int

ERPOrderKey

The key in the ERP system that identifies this sale’s Order, as transferred and possibly later edited in the ERP system. Only filled out if there exists a corresponding order representation of the quote in the ERP system.

Property Value

string

ERPQuoteKey

Foreign key of quote (if available). The key in the ERP system that identifies this sale’s Quote (as opposed to the later Order information)

Property Value

string

FavoriteQuoteAlternative

The favorite quote alternative for the quote and active quote version.

Property Value

QuoteAlternative

OrderComment

A comment that is intended for the Invoice, Order, Packing list and similar stages - AFTER the quote has become an order and goes to ERP for processing

Property Value

string

PoNumber

Customer’s Purchase order number

Property Value

string

PreferredEmailCulture

When emails are sent (offer or confirmation), a language can be chosen in the GUI; this field saves the most recent choice and can be used to default the next such choice. Default-default is user’s current language

Property Value

string

QuoteConnectionId

The connection in the CRM system to where this quote came from. Identifies the ERP connection used for this quote. Each quote is bound to one and only one connection.

Property Value

int

QuoteId

Primary key

Property Value

int

SaleId

The foreign key to the corresponding sale

Property Value

int

UseValuesFromQuote

If true, then the Earning, Earning_Percent and Amount fields are populated from the QuoteVersion.QuoteAlternative (current revision, most-likely alternative).

Property Value

short

See Also

QuoteAgent