Show / Hide Table of Contents

Class QuoteTableInfo

Table 'Quote': Quote root level, at most one per Sale, always connected to one Sale

Inheritance
Object
TableInfo
QuoteTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(String)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.Item[String]
TableInfo.PrimaryKeyField
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("Quote")]
public class QuoteTableInfo : TableInfo, ICloneable
Remarks

An instance of this class represents one instance of this table in an SQL statement. In most cases each table appears only once in a SELECT, but in cases where you need to self-join, or there are multiple occurrences for other reasons (typically additional restrictions in the joins), then you will need multiple instances.
Instances of this class are created by calling .

Fields

DictionaryTableName

Conceptual name of table Quote in the database dictionary: Quote

Declaration
public const string DictionaryTableName = "Quote"
Field Value
Type Description
String

Properties

AcceptedQuoteAlternativeId

Field 'AcceptedQuoteAlternativeId' in table 'Quote': Dictionary type FK, .NET type: Int32

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 Int32FieldInfo AcceptedQuoteAlternativeId { get; }
Property Value
Type Description
Int32FieldInfo

AcceptedQuoteAlternativeId_InnerJoin_QuoteAlternative

Generated join from the foreign key AcceptedQuoteAlternativeId in this table, to its target table QuoteAlternativeTableInfo.

Declaration
public TargetedInnerJoin<QuoteAlternativeTableInfo> AcceptedQuoteAlternativeId_InnerJoin_QuoteAlternative { get; }
Property Value
Type Description
TargetedInnerJoin<QuoteAlternativeTableInfo>

ActiveQuoteVersionId

Field 'ActiveQuoteVersionId' in table 'Quote': Dictionary type FK, .NET type: Int32

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

Declaration
public Int32FieldInfo ActiveQuoteVersionId { get; }
Property Value
Type Description
Int32FieldInfo

ActiveQuoteVersionId_InnerJoin_QuoteVersion

Generated join from the foreign key ActiveQuoteVersionId in this table, to its target table QuoteVersionTableInfo.

Declaration
public TargetedInnerJoin<QuoteVersionTableInfo> ActiveQuoteVersionId_InnerJoin_QuoteVersion { get; }
Property Value
Type Description
TargetedInnerJoin<QuoteVersionTableInfo>

Definition

Definition of the table as described in the deployed runtime dictionary

Declaration
public override SoTable Definition { get; }
Property Value
Type Description
SoTable
Overrides
TableInfo.Definition

DictionaryTableNumber

Table number for table Quote in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database

Declaration
public int DictionaryTableNumber { get; }
Property Value
Type Description
Int32

DocumentId

Field 'DocumentId' in table 'Quote': Dictionary type FK, .NET type: Int32

The ID of the main Quote Document

Declaration
public Int32FieldInfo DocumentId { get; }
Property Value
Type Description
Int32FieldInfo

DocumentId_InnerJoin_Document

Generated join from the foreign key DocumentId in this table, to its target table DocumentTableInfo.

Declaration
public TargetedInnerJoin<DocumentTableInfo> DocumentId_InnerJoin_Document { get; }
Property Value
Type Description
TargetedInnerJoin<DocumentTableInfo>

ERPOrderKey

Field 'ERPOrderKey' in table 'Quote': Dictionary type String[255], .NET type: String

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 StringFieldInfo ERPOrderKey { get; }
Property Value
Type Description
StringFieldInfo

ERPQuoteKey

Field 'ERPQuoteKey' in table 'Quote': Dictionary type String[255], .NET type: String

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 StringFieldInfo ERPQuoteKey { get; }
Property Value
Type Description
StringFieldInfo

LeftOuterJoin_QuoteVersion_QuoteId

Generated left outer join from the primary key QuoteId on this table, to QuoteVersion.QuoteId.

Declaration
public TargetedLeftOuterJoin<QuoteVersionTableInfo> LeftOuterJoin_QuoteVersion_QuoteId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<QuoteVersionTableInfo>

OrderComment

Field 'OrderComment' in table 'Quote': Dictionary type String[2047], .NET type: String

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 StringFieldInfo OrderComment { get; }
Property Value
Type Description
StringFieldInfo

PoNumber

Field 'PoNumber' in table 'Quote': Dictionary type String[128], .NET type: String

Customer's Purchase order number

Declaration
public StringFieldInfo PoNumber { get; }
Property Value
Type Description
StringFieldInfo

PreferredEmailCulture

Field 'PreferredEmailCulture' in table 'Quote': Dictionary type String[20], .NET type: String

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 StringFieldInfo PreferredEmailCulture { get; }
Property Value
Type Description
StringFieldInfo

QuoteConnectionId

Field 'QuoteConnectionId' in table 'Quote': Dictionary type FK, .NET type: Int32

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 Int32FieldInfo QuoteConnectionId { get; }
Property Value
Type Description
Int32FieldInfo

QuoteConnectionId_InnerJoin_QuoteConnection

Generated join from the foreign key QuoteConnectionId in this table, to its target table QuoteConnectionTableInfo.

Declaration
public TargetedInnerJoin<QuoteConnectionTableInfo> QuoteConnectionId_InnerJoin_QuoteConnection { get; }
Property Value
Type Description
TargetedInnerJoin<QuoteConnectionTableInfo>

QuoteId

Field 'quote_id' in table 'Quote': Dictionary type PK, .NET type: Int32

Primary key

Declaration
public Int32FieldInfo QuoteId { get; }
Property Value
Type Description
Int32FieldInfo

Registered

Field 'registered' in table 'Quote': Dictionary type UtcDateTime, .NET type: DateTime

Registered when

Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type Description
DateTimeFieldInfo

RegisteredAssociateId

Field 'registered_associate_id' in table 'Quote': Dictionary type FK, .NET type: Int32

Registered by whom

Declaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type Description
Int32FieldInfo

RegisteredAssociateId_InnerJoin_Associate

Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.

Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type Description
TargetedInnerJoin<AssociateTableInfo>

RuntimeDefinition

Definition of the table as described in the deployed runtime dictionary

Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type Description
SoTable

SaleId

Field 'SaleId' in table 'Quote': Dictionary type FK, .NET type: Int32

The foreign key to the corresponding sale

Declaration
public Int32FieldInfo SaleId { get; }
Property Value
Type Description
Int32FieldInfo

SaleId_InnerJoin_Sale

Generated join from the foreign key SaleId in this table, to its target table SaleTableInfo.

Declaration
public TargetedInnerJoin<SaleTableInfo> SaleId_InnerJoin_Sale { get; }
Property Value
Type Description
TargetedInnerJoin<SaleTableInfo>

Updated

Field 'updated' in table 'Quote': Dictionary type UtcDateTime, .NET type: DateTime

Last updated when

Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type Description
DateTimeFieldInfo

UpdatedAssociateId

Field 'updated_associate_id' in table 'Quote': Dictionary type FK, .NET type: Int32

Last updated by whom

Declaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type Description
Int32FieldInfo

UpdatedAssociateId_InnerJoin_Associate

Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.

Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type Description
TargetedInnerJoin<AssociateTableInfo>

UpdatedCount

Field 'updatedCount' in table 'Quote': Dictionary type UShort, .NET type: Int16

Number of updates made to this record

Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type Description
UInt16FieldInfo

UseValuesFromQuote

Field 'UseValuesFromQuote' in table 'Quote': Dictionary type Bool, .NET type: Int16

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

Declaration
public UInt16FieldInfo UseValuesFromQuote { get; }
Property Value
Type Description
UInt16FieldInfo

Implements

System.ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top