Class Quote
Quote carrier with the active quote version and favorite alternative.
Carrier object for Quote. Services for the Quote Carrier is available from the IQuoteAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class Quote : Carrier
Constructors
Quote()
Default constructor
Declaration
public Quote()
See Also
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.
Declaration
public virtual int AcceptedQuoteAlternativeId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ActiveQuoteVersion
The active quote version for the quote
Declaration
public virtual QuoteVersion ActiveQuoteVersion { get; set; }
Property Value
Type | Description |
---|---|
QuoteVersion |
See Also
ActiveQuoteVersionId
The primary key of the Quote Version that is currently active. (The active version will always be the latest version.)
Declaration
public virtual int ActiveQuoteVersionId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
DocumentId
The ID of the main Quote Document
Declaration
public virtual int DocumentId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
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.
Declaration
public virtual string ERPOrderKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
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)
Declaration
public virtual string ERPQuoteKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
FavoriteQuoteAlternative
The favorite quote alternative for the quote and active quote version.
Declaration
public virtual QuoteAlternative FavoriteQuoteAlternative { get; set; }
Property Value
Type | Description |
---|---|
QuoteAlternative |
See Also
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
Declaration
public virtual string OrderComment { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
PoNumber
Customer's Purchase order number
Declaration
public virtual string PoNumber { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
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
Declaration
public virtual string PreferredEmailCulture { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
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.
Declaration
public virtual int QuoteConnectionId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
QuoteId
Primary key
Declaration
public virtual int QuoteId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
SaleId
The foreign key to the corresponding sale
Declaration
public virtual int SaleId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
UseValuesFromQuote
If true, then the Earning, Earning_Percent and Amount fields are populated from the QuoteVersion.QuoteAlternative (current revision, most-likely alternative).
Declaration
public virtual short UseValuesFromQuote { get; set; }
Property Value
Type | Description |
---|---|
Int16 |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |