Class QuoteVersion
Information about a version of the .
Carrier object for QuoteVersion. Services for the QuoteVersion Carrier is available from the IQuoteAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class QuoteVersion : Carrier
Constructors
QuoteVersion()
Default constructor
Declaration
public QuoteVersion()
See Also
Properties
ApprovedBy
Id of associate who approved (or rejected approval) for this version
Declaration
public virtual int ApprovedBy { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ApprovedRegisteredBy
Id of associate who actually entered the approval; might be different from ApprovedBy (f.x. due to telephone consultation/approval)
Declaration
public virtual int ApprovedRegisteredBy { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ApprovedRegisteredDate
When was approval granted or rejected
Declaration
public virtual DateTime ApprovedRegisteredDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
ApprovedText
Text with comments on why approval was granted (or rejected)
Declaration
public virtual string ApprovedText { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ArchivedState
State that this quote version had, right before it was changed to Archived; in this way we can show what happened before the archiving.
Declaration
public virtual QuoteVersionState ArchivedState { get; set; }
Property Value
Type | Description |
---|---|
QuoteVersionState |
See Also
DeliveryCountryId
Country of delivery address, typically copied from the contact record
Declaration
public virtual int DeliveryCountryId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Description
Description of Version. Potentially longer text description, typically used in a tooltip. Max 2K.
Declaration
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ERPDeliveryTermsKey
Either a List id to an id from a connector provided list, or, if the connection doesn’t support lists, a text. For instance: ‘FOB’ (‘Free on board’).
Declaration
public virtual string ERPDeliveryTermsKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ERPDeliveryTypeKey
Either a List id to an id from a connector provided list, or, if the connection doesn’t support lists, a text. For instance: ‘Air’.
Declaration
public virtual string ERPDeliveryTypeKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ERPPaymentTermsKey
Either a List id to an id from a connector provided list, or, if the connection doesn’t support lists, a text. For instance: ‘Standard 30 days’.
Declaration
public virtual string ERPPaymentTermsKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ERPPaymentTypeKey
Either a List id to an id from a connector provided list, or, if the connection doesn’t support lists, a text. For instance: 'Invoice'.
Declaration
public virtual string ERPPaymentTypeKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ERPQuoteVersionKey
Key in the ERP system that uniquely identifies this Version within the ERP system (if available, the field may be empty).
Declaration
public virtual string ERPQuoteVersionKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ExpirationDate
Last date the quote Version is valid, expiration is at midnight end of this day.
Declaration
public virtual DateTime ExpirationDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
ExtraField1
Optional information added by Quote Connector; usable in the quote document merge process
Declaration
public virtual string ExtraField1 { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ExtraField2
Optional information added by Quote Connector; usable in the quote document merge process
Declaration
public virtual string ExtraField2 { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ExtraField3
Optional information added by Quote Connector; usable in the quote document merge process
Declaration
public virtual string ExtraField3 { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ExtraField4
Optional information added by Quote Connector; usable in the quote document merge process
Declaration
public virtual string ExtraField4 { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ExtraField5
Optional information added by Quote Connector; usable in the quote document merge process
Declaration
public virtual string ExtraField5 { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
FollowupId
Link to a follow-up activity, created when this quote version was sent to the customer.
Declaration
public virtual int FollowupId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
HasOwnDeliveryAddress
The delivery address is not the same as the contact's Street address
Declaration
public virtual bool HasOwnDeliveryAddress { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
HasOwnInvoiceAddress
The quote has an address for Invoicing. This will typically be copied from the company's addresses.
Declaration
public virtual bool HasOwnInvoiceAddress { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
InvoiceCountryId
Country of invoice address, typically copied from contact record
Declaration
public virtual int InvoiceCountryId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
LastRecalculated
When this version was last subjected to a total recalculation. This field must be set by the connector, since the connector may choose to ignore a RecalculateVersion call based on policies and possibly the current value of this field. SuperOffice will set this field to 1.1.1760 whenever any change occurs to the quote, to indicate that a recalculation is needed.
Declaration
public virtual DateTime LastRecalculated { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
LikelyQuoteAlternativeId
The alternative that is considered most likely to be accepted. Used to calculate probable income.
Declaration
public virtual int LikelyQuoteAlternativeId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Number
A quote number that the user (or ERP connector) can fill out.
Declaration
public virtual string Number { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
QuoteAlternatives
The QuoteAlternatives for the QuoteVersion
Declaration
public virtual QuoteAlternative[] QuoteAlternatives { get; set; }
Property Value
Type | Description |
---|---|
QuoteAlternative[] |
See Also
QuoteId
Foreign key to CRM quote (the conceptual parent). Owning Quote of this Quote Version.
Declaration
public virtual int QuoteId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
QuoteVersionId
Primary key
Declaration
public virtual int QuoteVersionId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Rank
Rank/Version number, starts at 1
Declaration
public virtual int Rank { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Reason
If there was a problem, this field contains a localized explanation of the problem and possible steps to fix it that the user can be shown.
Declaration
public virtual string Reason { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Registered
Registered when in UTC.
Declaration
public virtual DateTime Registered { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
RegisteredAssociateId
Registered by whom
Declaration
public virtual int RegisteredAssociateId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
RequestAssociateId
User to whom the request proposal should be delivered
Declaration
public virtual int RequestAssociateId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
RequestComment
Comment for why quote should be approved
Declaration
public virtual string RequestComment { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
SentDate
The date the version was sent to the customer.
Declaration
public virtual DateTime SentDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
State
Current state of this quote version.
Declaration
public virtual QuoteVersionState State { get; set; }
Property Value
Type | Description |
---|---|
QuoteVersionState |
See Also
Status
If there was a problem with for instance calculation, this field is set to warning or error.
Declaration
public virtual QuoteStatus Status { get; set; }
Property Value
Type | Description |
---|---|
QuoteStatus |
See Also
Updated
Last updated when in UTC.
Declaration
public virtual DateTime Updated { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
UpdatedAssociateId
Last updated by whom
Declaration
public virtual int UpdatedAssociateId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
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. |