Show / Hide Table of Contents

Class QuoteVersionRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the QuoteVersion table.

Inheritance
object
QuoteVersionRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class QuoteVersionRecordData
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

QuoteVersionRecordData()

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the QuoteVersion table.

Declaration
public QuoteVersionRecordData()
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

ApprovedBy

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

Declaration
public int ApprovedBy
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ApprovedRegisteredBy

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

Declaration
public int ApprovedRegisteredBy
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ApprovedRegisteredDate

When was approval granted or rejected

Declaration
public DateTime ApprovedRegisteredDate
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ApprovedText

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

Declaration
public string ApprovedText
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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 QuoteVersionState ArchivedState
Field Value
Type Description
QuoteVersionState
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

DeliveryCountryId

Country of delivery address, typically copied from the contact record

Declaration
public int DeliveryCountryId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Description

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

Declaration
public string Description
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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 string ERPDeliveryTermsKey
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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 string ERPDeliveryTypeKey
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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 string ERPPaymentTermsKey
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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 string ERPPaymentTypeKey
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ERPQuoteVersionKey

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

Declaration
public string ERPQuoteVersionKey
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ExpirationDate

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

Declaration
public DateTime ExpirationDate
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ExtraField1

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

Declaration
public string ExtraField1
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ExtraField2

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

Declaration
public string ExtraField2
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ExtraField3

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

Declaration
public string ExtraField3
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ExtraField4

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

Declaration
public string ExtraField4
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ExtraField5

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

Declaration
public string ExtraField5
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

FollowupId

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

Declaration
public int FollowupId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

HasOwnDeliveryAddress

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

Declaration
public short HasOwnDeliveryAddress
Field Value
Type Description
short
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

HasOwnInvoiceAddress

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

Declaration
public short HasOwnInvoiceAddress
Field Value
Type Description
short
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

InvoiceCountryId

Country of invoice address, typically copied from contact record

Declaration
public int InvoiceCountryId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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 DateTime LastRecalculated
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

LikelyQuoteAlternativeId

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

Declaration
public int LikelyQuoteAlternativeId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Number

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

Declaration
public string Number
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

QuoteId

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

Declaration
public int QuoteId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

QuoteVersionId

Primary key

Declaration
public int QuoteVersionId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Rank

Rank/Version number, starts at 1

Declaration
public int Rank
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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 string Reason
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RequestAssociateId

User to whom the request proposal should be delivered

Declaration
public int RequestAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RequestComment

Comment for why quote should be approved

Declaration
public string RequestComment
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

SentDate

The date the version was sent to the customer.

Declaration
public DateTime SentDate
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

State

Current state of this quote version.

Declaration
public QuoteVersionState State
Field Value
Type Description
QuoteVersionState
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Status

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

Declaration
public QuoteStatus Status
Field Value
Type Description
QuoteStatus
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

Please use this class instead of a full QuoteVersionRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding QuoteVersionTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
QuoteVersionRecordDataExtensions.ToInsertAsync(QuoteVersionRecordData, CancellationToken)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top