Table
RetailPricingSimulatorLinePriceDiscTable
Holds trade agreement price and discount records that relate to a pricing simulator sales line. Each record links to a simulator transaction and sales line. It shows the agreement type, account and item selection, amount, discount percentages and whether it was applied.
- Table name
RetailPricingSimulatorLinePriceDiscTable- Module
Commerce merchandising- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountCodeWhether the party is set by a single account, a group or all. | EnumPriceDiscPartyCodePriceDiscPartyCodeType (enum) | No | None | |
AccountRelationCustomer or vendor account or group selected. | String (20)PriceDiscAccountRelation | No | None | |
AmountAmount in the transaction currency. | RealAmountCur | No | None | |
ColorIdProduct color. | StringEcoResItemColorName | No | None | |
ConfigurationIdProduct configuration. | String (50)EcoResItemConfigurationName | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ItemCodeWhether the product is set by a single item, a group or all. | EnumPriceDiscProductCodePriceDiscProductCodeType (enum) | No | None | |
ItemRelationItem or item group selected. | String (20)PriceDiscItemRelation | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
Percent1First discount percentage. | RealDiscPct | No | None | |
Percent2Second discount percentage. | RealDiscPct | No | None | |
PriceDiscTableRecIdSystem record ID of the related simulator price and discount record. | Int64RefRecId | 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 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
relationType of price or discount relation, such as sales price, line discount or total discount. | EnumPriceType (enum) | No | None | |
SalesLineIdSimulator sales line that this entry applies to. | Int64 | No | RetailPricingSimulatorSalesLine.RecId | None |
SalesTransactionIdPricing simulator sales transaction that this entry belongs to. | Int64RefRecId | No | RetailPricingSimulatorSalesTransaction.RecId | None |
SelectedYes or No flag showing whether this entry was applied. | EnumNoYes (enum) | No | None | |
SiteIdSite identifier. The metadata gives no further detail.low confidence | String | No | None | |
SizeIdProduct size. | StringEcoResItemSizeName | No | None | |
StyleIdProduct style. | StringEcoResItemStyleName | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitIdUnit of measure. | StringUnitOfMeasureSymbol | No | None | |
WarehouseIdWarehouse identifier. The metadata gives no further detail.low confidence | String | No | None |
Indexes (1)
SalesTransactionIdIndexNot unique.
Relations (3)
Each relation joins RetailPricingSimulatorLinePriceDiscTable to another table on the fields shown.
RetailPricingSimulatorSalesTransaction→RetailPricingSimulatorSalesTransactionJoin on
SalesTransactionId = RetailPricingSimulatorSalesTransaction.RecIdMany RetailPricingSimulatorLinePriceDiscTable records → exactly one RetailPricingSimulatorSalesTransaction record
RetailPricingSimulatorSalesLine→RetailPricingSimulatorSalesLineJoin on
SalesLineId = RetailPricingSimulatorSalesLine.RecIdMany RetailPricingSimulatorLinePriceDiscTable records → exactly one RetailPricingSimulatorSalesLine record
RetailPricingSimulatorPriceDiscTable→RetailPricingSimulatorPriceDiscTableJoin on
SalesTransactionId = RetailPricingSimulatorPriceDiscTable.RetailPricingSimulatorTransactionId,PriceDiscTableRecId = RetailPricingSimulatorPriceDiscTable.PriceDiscTableRecIdMany RetailPricingSimulatorLinePriceDiscTable records → zero or one RetailPricingSimulatorPriceDiscTable record
Get this data out
No public entity reads from RetailPricingSimulatorLinePriceDiscTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailPricingSimulatorLinePriceDiscTable in a report, an integration or a migration? Talk to Dr Dynamics.