Table
SalesQuotationPriceSimTable
Price simulations
Holds price simulations for quotation lines. Each row gives new price, discount, amount and margin values for a line. It is keyed by quotation, line number and record ID. It links to Sales quotation, Quotation lines and Items.
- Table name
SalesQuotationPriceSimTable- Module
Sales and marketing- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
SmmCRM- Primary index
QuotationIdLineNumIdx- Replacement key
None- Key fields
QuotationId, LineNum, RecId- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
QuotationIdQuotation number, pointing to Sales quotation. | String (20)QuotationId | Yes | SalesQuotationTable.QuotationId | None |
LineNumLine number of the quotation line. | RealLineNum | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
ContributionRatioNew contribution ratio from the simulation. | RealSalesContributionRatio | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ItemIdItem number, pointing to the Items table. | String (20)ItemId | No | InventTable.ItemId | None |
MarginNew margin from the simulation. | RealSalesContributionMargin | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NameDescription of the line. | String (60)Description | No | None | |
NewAmountNew amount from the simulation. | RealAmountCur | No | None | |
NewDiscountAmountNew discount amount from the simulation. | RealAmountCur | No | None | |
NewDiscountPercentageNew discount percentage from the simulation. | RealPercent | No | None | |
NewSalesPricePerUnitNew sales price per unit from the simulation. | RealSalesPrice | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SimResultResult of the margin calculation: cash discount amount, discount percentage or line amount. | EnumSalesQuotationPriceSimResult (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
QuotationIdLineNumIdxPrimary indexUnique.
Relations (3)
Each relation joins SalesQuotationPriceSimTable to another table on the fields shown.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany SalesQuotationPriceSimTable records → zero or one InventTable record
SalesQuotationLine→SalesQuotationLineJoin on
QuotationId = SalesQuotationLine.QuotationId,LineNum = SalesQuotationLine.LineNumMany SalesQuotationPriceSimTable records → zero or one SalesQuotationLine record
SalesQuotationTable→SalesQuotationTableJoin on
QuotationId = SalesQuotationTable.QuotationIdMany SalesQuotationPriceSimTable records → exactly one SalesQuotationTable record
Get this data out
No public entity reads from SalesQuotationPriceSimTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with SalesQuotationPriceSimTable in a report, an integration or a migration? Talk to Dr Dynamics.