Class SaleTypeRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the SaleType table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class SaleTypeRecordData
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
SaleTypeRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the SaleType table.
Declaration
public SaleTypeRecordData()
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
AllowQuoteAlternatives
Can quotes linked to sales of this type, have multiple Alternatives
Declaration
public short AllowQuoteAlternatives
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ArchiveGroupingFields
Comma-separated names of grouping fields for quote lines, in the quote lines archive
Declaration
public string ArchiveGroupingFields
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ConfirmationLinesTemplate
The template that this sale type should use when producing the order confirmation lines document; the template must have DocTmplQuoteType=ConfirmationLines
Declaration
public int ConfirmationLinesTemplate
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
DefaultQuoteValidity
Default valid days for quotes linked to sales of this type (valid from quote transmission)
Declaration
public int DefaultQuoteValidity
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Deleted
0 -> record is active 1 -> record is 'deleted' and should not be shown in lists
Declaration
public short Deleted
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
DocumentGroupingFields
Comma-separated names of grouping fields for quote lines, when generating the documents
Declaration
public string DocumentGroupingFields
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
DurationUnit
Units for the duration (day, week, whatever)
Declaration
public DurationUnit DurationUnit
Field Value
Type | Description |
---|---|
DurationUnit |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
HasGuide
Does this sale type have a guide attached
Declaration
public short HasGuide
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
HasStakeholders
Does this sale type have stakeholders
Declaration
public short HasStakeholders
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
IsAutoAdvance
Does the sale stage advance automatically, when the last guided activity in a stage is completed?
Declaration
public short IsAutoAdvance
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
MaxDiscountPercent
The maximum discount in percent of total, if set, on quotes linked to sales of this type
Declaration
public int MaxDiscountPercent
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
MaxDiscountPercentSet
Is there a limit, in percent, to the total discount on quotes linked to sales of this type
Declaration
public short MaxDiscountPercentSet
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
MinEarningPercent
The minimum earning in percent of total, if set, on quotes linked to sales of this type
Declaration
public int MinEarningPercent
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
MinEarningPercentSet
Is there a limit, in earning as percent of total, on quotes linked to sales of this type
Declaration
public short MinEarningPercentSet
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Name
The list item
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
QuoteLinesTemplate
The template that this sale type should use when producing the product lines offer document; the template must have DocTmplQuoteType=QuoteLines
Declaration
public int QuoteLinesTemplate
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Rank
Rank order
Declaration
public short Rank
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo 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 SaleTypeRow 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 SaleTypeTableInfo 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 SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
SaleDuration
Expected number of dales from initiation to close of sale
Declaration
public int SaleDuration
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
SaleTypeCatId
Category of sale type, copied to sale
Declaration
public int SaleTypeCatId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
SaleTypeId
Primary key
Declaration
public int SaleTypeId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Tooltip
Tooltip or other description
Declaration
public string Tooltip
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full SaleTypeRow 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 SaleTypeTableInfo 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 SaleTypeRow 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 SaleTypeTableInfo 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 SaleTypeRow 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 SaleTypeTableInfo 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 SaleTypeRow 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 SaleTypeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.