Show / Hide Table of Contents

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.
Inheritance
Object
Quote
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class Quote : Carrier

Constructors

Quote()

Default constructor

Declaration
public Quote()
See Also
QuoteAgent
IQuoteAgent

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
QuoteAgent
IQuoteAgent

ActiveQuoteVersion

The active quote version for the quote

Declaration
public virtual QuoteVersion ActiveQuoteVersion { get; set; }
Property Value
Type Description
QuoteVersion
See Also
QuoteAgent
IQuoteAgent

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
QuoteAgent
IQuoteAgent

DocumentId

The ID of the main Quote Document

Declaration
public virtual int DocumentId { get; set; }
Property Value
Type Description
Int32
See Also
QuoteAgent
IQuoteAgent

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
QuoteAgent
IQuoteAgent

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
QuoteAgent
IQuoteAgent

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
QuoteAgent
IQuoteAgent

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
QuoteAgent
IQuoteAgent

PoNumber

Customer's Purchase order number

Declaration
public virtual string PoNumber { get; set; }
Property Value
Type Description
String
See Also
QuoteAgent
IQuoteAgent

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
QuoteAgent
IQuoteAgent

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
QuoteAgent
IQuoteAgent

QuoteId

Primary key

Declaration
public virtual int QuoteId { get; set; }
Property Value
Type Description
Int32
See Also
QuoteAgent
IQuoteAgent

SaleId

The foreign key to the corresponding sale

Declaration
public virtual int SaleId { get; set; }
Property Value
Type Description
Int32
See Also
QuoteAgent
IQuoteAgent

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
QuoteAgent
IQuoteAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
String

The carrier contents.

See Also
QuoteAgent
IQuoteAgent

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.

See Also
QuoteAgent
IQuoteAgent

See Also

QuoteAgent
IQuoteAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top