Table
RetailPricingSimulatorSalesTransaction
Pricing simulator sales transaction header
Header record for a simulated sales transaction in the retail pricing simulator. It stores the simulation name, channel, customer, site and warehouse, and the totals for price, discount and margin. It also holds diagnostic text from the pricing run.
- Table name
RetailPricingSimulatorSalesTransaction- 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 (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelCurrencyCurrency code used for the simulated transaction. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
CustAccountCustomer account for the simulated transaction. | String (20)CustAccount | No | CustTable.AccountNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionFree-text description of the simulation. | String (60)Description | No | None | |
HeaderAttributeAllowMultiValuePurpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
IncludeDisabledDiscountsYes/No flag; by its name, it controls whether disabled discounts are included in the simulation. | EnumNoYes (enum) | No | None | |
InventLocationIdWarehouse for the simulated transaction. | StringSalesInventLocationId | No | InventLocation.InventLocationId | None |
InventSiteIdInventory site for the simulated transaction. | StringInventSiteId | No | InventSite.SiteId | None |
LineItemCountTotal quantity of units across the transaction lines. | RealUnitQty | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PricingDiagnosticsLong text with diagnostic details from the pricing run. | String (-1)RetailDiagnosticsDetailType | 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 | |
RetailChannelTablePoints to the retail channel used in the simulation. | Int64RefRecId | No | RetailChannelTable.RecId | None |
SalesAgreementIdIdentifier of the sales agreement used in the simulation. | String (20)SalesAgreementId | No | None | |
SimulationDateTimeDate and time of the simulation. | UtcDateTimeCreatedDateTime | No | None | |
SimulationNameName given to the simulation. | String (60)ConfigName | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TotalDiscountTotal cash discount amount for the transaction. | RealDiscAmount | No | None | |
TotalMarginTotal margin of the transaction, as a percentage. | RealPercent | No | None | |
TransactionTotalTotal price of the transaction. | RealPrice | No | None |
Indexes (1)
SimulationNameIdxUnique.
Relations (5)
Each relation joins RetailPricingSimulatorSalesTransaction to another table on the fields shown.
Currency→CurrencyJoin on
ChannelCurrency = Currency.CurrencyCodeMany RetailPricingSimulatorSalesTransaction records → exactly one Currency record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany RetailPricingSimulatorSalesTransaction records → exactly one CustTable record
RetailChannelTable→RetailChannelTableJoin on
RetailChannelTable = RetailChannelTable.RecIdMany RetailPricingSimulatorSalesTransaction records → exactly one RetailChannelTable record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany RetailPricingSimulatorSalesTransaction records → zero or one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany RetailPricingSimulatorSalesTransaction records → zero or one InventSite record
Get this data out
No public entity reads from RetailPricingSimulatorSalesTransaction. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailPricingSimulatorSalesTransaction in a report, an integration or a migration? Talk to Dr Dynamics.