Show / Hide Table of Contents

Class QuoteVersion

Information about a version of the .

Carrier object for QuoteVersion. Services for the QuoteVersion Carrier is available from the IQuoteAgent.
Inheritance
Object
QuoteVersion
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class QuoteVersion : Carrier

Constructors

QuoteVersion()

Default constructor

Declaration
public QuoteVersion()
See Also
QuoteAgent
IQuoteAgent

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

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

ApprovedRegisteredDate

When was approval granted or rejected

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

InvoiceCountryId

Country of invoice address, typically copied from contact record

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

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

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

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

QuoteAlternatives

The QuoteAlternatives for the QuoteVersion

Declaration
public virtual QuoteAlternative[] QuoteAlternatives { get; set; }
Property Value
Type Description
QuoteAlternative[]
See Also
QuoteAgent
IQuoteAgent

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

QuoteVersionId

Primary key

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

Rank

Rank/Version number, starts at 1

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

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

Registered

Registered when in UTC.

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

RegisteredAssociateId

Registered by whom

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

RequestAssociateId

User to whom the request proposal should be delivered

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

RequestComment

Comment for why quote should be approved

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

SentDate

The date the version was sent to the customer.

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

State

Current state of this quote version.

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

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

Updated

Last updated when in UTC.

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

UpdatedAssociateId

Last updated by whom

Declaration
public virtual int UpdatedAssociateId { get; set; }
Property Value
Type Description
Int32
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