Show / Hide Table of Contents

Class QuoteRecordData

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

Inheritance
object
QuoteRecordData
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 QuoteRecordData
Remarks

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

QuoteRecordData()

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

Declaration
public QuoteRecordData()
Remarks

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

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 int AcceptedQuoteAlternativeId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ActiveQuoteVersionId

The primary key of the Quote Version that is currently active. (The active version will always be the latest version.)

Declaration
public int ActiveQuoteVersionId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

DocumentId

The ID of the main Quote Document

Declaration
public int DocumentId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PoNumber

Customer's Purchase order number

Declaration
public string PoNumber
Field Value
Type Description
string
Remarks

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

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 int QuoteConnectionId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

QuoteId

Primary key

Declaration
public int QuoteId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteRow 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 QuoteTableInfo 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 QuoteRow 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 QuoteTableInfo 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 QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

SaleId

The foreign key to the corresponding sale

Declaration
public int SaleId
Field Value
Type Description
int
Remarks

Please use this class instead of a full QuoteRow 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 QuoteTableInfo 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 QuoteRow 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 QuoteTableInfo 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 QuoteRow 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 QuoteTableInfo 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 QuoteRow 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 QuoteTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UseValuesFromQuote

If true, then the Earning, Earning_Percent and Amount fields are populated from the QuoteVersion.QuoteAlternative (current revision, most-likely alternative).

Declaration
public short UseValuesFromQuote
Field Value
Type Description
short
Remarks

Please use this class instead of a full QuoteRow 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 QuoteTableInfo 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)
QuoteRecordDataExtensions.ToInsertAsync(QuoteRecordData, 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