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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelCurrencyCurrency code used for the simulated transaction.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
CustAccountCustomer account for the simulated transaction.String (20)
CustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionFree-text description of the simulation.String (60)
Description
NoNone
HeaderAttributeAllowMultiValuePurpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
IncludeDisabledDiscountsYes/No flag; by its name, it controls whether disabled discounts are included in the simulation.Enum
NoYes (enum)
NoNone
InventLocationIdWarehouse for the simulated transaction.String
SalesInventLocationId
NoInventLocation.InventLocationIdNone
InventSiteIdInventory site for the simulated transaction.String
InventSiteId
NoInventSite.SiteIdNone
LineItemCountTotal quantity of units across the transaction lines.Real
UnitQty
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PricingDiagnosticsLong text with diagnostic details from the pricing run.String (-1)
RetailDiagnosticsDetailType
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RetailChannelTablePoints to the retail channel used in the simulation.Int64
RefRecId
NoRetailChannelTable.RecIdNone
SalesAgreementIdIdentifier of the sales agreement used in the simulation.String (20)
SalesAgreementId
NoNone
SimulationDateTimeDate and time of the simulation.UtcDateTime
CreatedDateTime
NoNone
SimulationNameName given to the simulation.String (60)
ConfigName
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TotalDiscountTotal cash discount amount for the transaction.Real
DiscAmount
NoNone
TotalMarginTotal margin of the transaction, as a percentage.Real
Percent
NoNone
TransactionTotalTotal price of the transaction.Real
Price
NoNone

Indexes (1)

Relations (5)

Each relation joins RetailPricingSimulatorSalesTransaction to another table on the fields shown.

  • Currency → Currency

    Join on ChannelCurrency = Currency.CurrencyCode

    Many RetailPricingSimulatorSalesTransaction records → exactly one Currency record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many RetailPricingSimulatorSalesTransaction records → exactly one CustTable record

  • RetailChannelTable → RetailChannelTable

    Join on RetailChannelTable = RetailChannelTable.RecId

    Many RetailPricingSimulatorSalesTransaction records → exactly one RetailChannelTable record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many RetailPricingSimulatorSalesTransaction records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many 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.

Email sales@drdynamics.co.uk