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 Quote Agent.
Inheritance
object
QuoteVersion
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class QuoteVersion : Carrier

Constructors

QuoteVersion()

Default constructor

Declaration
public QuoteVersion()
See Also
IQuoteAgent

Properties

ApprovedBy

Id of associate who approved (or rejected approval) for this version

Declaration
[DataMember]
public virtual int ApprovedBy { get; set; }
Property Value
Type Description
int
See Also
IQuoteAgent

ApprovedRegisteredBy

Id of associate who actually entered the approval; might be different from ApprovedBy (f.x. due to telephone consultation/approval)

Declaration
[DataMember]
public virtual int ApprovedRegisteredBy { get; set; }
Property Value
Type Description
int
See Also
IQuoteAgent

ApprovedRegisteredDate

When was approval granted or rejected

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

ApprovedText

Text with comments on why approval was granted (or rejected)

Declaration
[DataMember]
public virtual string ApprovedText { get; set; }
Property Value
Type Description
string
See Also
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
[DataMember]
public virtual QuoteVersionState ArchivedState { get; set; }
Property Value
Type Description
QuoteVersionState
See Also
IQuoteAgent

DeliveryCountryId

Country of delivery address, typically copied from the contact record

Declaration
[DataMember]
public virtual int DeliveryCountryId { get; set; }
Property Value
Type Description
int
See Also
IQuoteAgent

Description

Description of Version. Potentially longer text description, typically used in a tooltip. Max 2K.

Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
Type Description
string
See Also
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
[DataMember]
public virtual string ERPDeliveryTermsKey { get; set; }
Property Value
Type Description
string
See Also
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
[DataMember]
public virtual string ERPDeliveryTypeKey { get; set; }
Property Value
Type Description
string
See Also
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
[DataMember]
public virtual string ERPPaymentTermsKey { get; set; }
Property Value
Type Description
string
See Also
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
[DataMember]
public virtual string ERPPaymentTypeKey { get; set; }
Property Value
Type Description
string
See Also
IQuoteAgent

ERPQuoteVersionKey

Key in the ERP system that uniquely identifies this Version within the ERP system (if available, the field may be empty).

Declaration
[DataMember]
public virtual string ERPQuoteVersionKey { get; set; }
Property Value
Type Description
string
See Also
IQuoteAgent

ExpirationDate

Last date the quote Version is valid, expiration is at midnight end of this day.

Declaration
[DataMember]
public virtual DateTime ExpirationDate { get; set; }
Property Value
Type Description
DateTime
See Also
IQuoteAgent

ExtraField1

Optional information added by Quote Connector; usable in the quote document merge process

Declaration
[DataMember]
public virtual string ExtraField1 { get; set; }
Property Value
Type Description
string
See Also
IQuoteAgent

ExtraField2

Optional information added by Quote Connector; usable in the quote document merge process

Declaration
[DataMember]
public virtual string ExtraField2 { get; set; }
Property Value
Type Description
string
See Also
IQuoteAgent

ExtraField3

Optional information added by Quote Connector; usable in the quote document merge process

Declaration
[DataMember]
public virtual string ExtraField3 { get; set; }
Property Value
Type Description
string
See Also
IQuoteAgent

ExtraField4

Optional information added by Quote Connector; usable in the quote document merge process

Declaration
[DataMember]
public virtual string ExtraField4 { get; set; }
Property Value
Type Description
string
See Also
IQuoteAgent

ExtraField5

Optional information added by Quote Connector; usable in the quote document merge process

Declaration
[DataMember]
public virtual string ExtraField5 { get; set; }
Property Value
Type Description
string
See Also
IQuoteAgent

FollowupId

Link to a follow-up activity, created when this quote version was sent to the customer.

Declaration
[DataMember]
public virtual int FollowupId { get; set; }
Property Value
Type Description
int
See Also
IQuoteAgent

HasOwnDeliveryAddress

The delivery address is not the same as the contact's Street address

Declaration
[DataMember]
public virtual bool HasOwnDeliveryAddress { get; set; }
Property Value
Type Description
bool
See Also
IQuoteAgent

HasOwnInvoiceAddress

The quote has an address for Invoicing. This will typically be copied from the company's addresses.

Declaration
[DataMember]
public virtual bool HasOwnInvoiceAddress { get; set; }
Property Value
Type Description
bool
See Also
IQuoteAgent

InvoiceCountryId

Country of invoice address, typically copied from contact record

Declaration
[DataMember]
public virtual int InvoiceCountryId { get; set; }
Property Value
Type Description
int
See Also
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
[DataMember]
public virtual DateTime LastRecalculated { get; set; }
Property Value
Type Description
DateTime
See Also
IQuoteAgent

LikelyQuoteAlternativeId

The alternative that is considered most likely to be accepted. Used to calculate probable income.

Declaration
[DataMember]
public virtual int LikelyQuoteAlternativeId { get; set; }
Property Value
Type Description
int
See Also
IQuoteAgent

Number

A quote number that the user (or ERP connector) can fill out.

Declaration
[DataMember]
public virtual string Number { get; set; }
Property Value
Type Description
string
See Also
IQuoteAgent

QuoteAlternatives

The QuoteAlternatives for the QuoteVersion

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

QuoteId

Foreign key to CRM quote (the conceptual parent). Owning Quote of this Quote Version.

Declaration
[DataMember]
public virtual int QuoteId { get; set; }
Property Value
Type Description
int
See Also
IQuoteAgent

QuoteVersionId

Primary key

Declaration
[DataMember]
public virtual int QuoteVersionId { get; set; }
Property Value
Type Description
int
See Also
IQuoteAgent

Rank

Rank/Version number, starts at 1

Declaration
[DataMember]
public virtual int Rank { get; set; }
Property Value
Type Description
int
See Also
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
[DataMember]
public virtual string Reason { get; set; }
Property Value
Type Description
string
See Also
IQuoteAgent

Registered

Registered when in UTC.

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

RegisteredAssociateId

Registered by whom

Declaration
[DataMember]
public virtual int RegisteredAssociateId { get; set; }
Property Value
Type Description
int
See Also
IQuoteAgent

RequestAssociateId

User to whom the request proposal should be delivered

Declaration
[DataMember]
public virtual int RequestAssociateId { get; set; }
Property Value
Type Description
int
See Also
IQuoteAgent

RequestComment

Comment for why quote should be approved

Declaration
[DataMember]
public virtual string RequestComment { get; set; }
Property Value
Type Description
string
See Also
IQuoteAgent

SentDate

The date the version was sent to the customer.

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

State

Current state of this quote version.

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

Status

If there was a problem with for instance calculation, this field is set to warning or error.

Declaration
[DataMember]
public virtual QuoteStatus Status { get; set; }
Property Value
Type Description
QuoteStatus
See Also
IQuoteAgent

Updated

Last updated when in UTC.

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

UpdatedAssociateId

Last updated by whom

Declaration
[DataMember]
public virtual int UpdatedAssociateId { get; set; }
Property Value
Type Description
int
See Also
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
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
IQuoteAgent

See Also

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