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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountCodeWhether the party is set by a single account, a group or all.Enum
PriceDiscPartyCode
PriceDiscPartyCodeType (enum)
NoNone
AccountRelationCustomer or vendor account or group selected.String (20)
PriceDiscAccountRelation
NoNone
AmountAmount in the transaction currency.Real
AmountCur
NoNone
ColorIdProduct color.String
EcoResItemColorName
NoNone
ConfigurationIdProduct configuration.String (50)
EcoResItemConfigurationName
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ItemCodeWhether the product is set by a single item, a group or all.Enum
PriceDiscProductCode
PriceDiscProductCodeType (enum)
NoNone
ItemRelationItem or item group selected.String (20)
PriceDiscItemRelation
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
Percent1First discount percentage.Real
DiscPct
NoNone
Percent2Second discount percentage.Real
DiscPct
NoNone
PriceDiscTableRecIdSystem record ID of the related simulator price and discount record.Int64
RefRecId
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
relationType of price or discount relation, such as sales price, line discount or total discount.Enum
PriceType (enum)
NoNone
SalesLineIdSimulator sales line that this entry applies to.Int64NoRetailPricingSimulatorSalesLine.RecIdNone
SalesTransactionIdPricing simulator sales transaction that this entry belongs to.Int64
RefRecId
NoRetailPricingSimulatorSalesTransaction.RecIdNone
SelectedYes or No flag showing whether this entry was applied.Enum
NoYes (enum)
NoNone
SiteIdSite identifier. The metadata gives no further detail.low confidenceStringNoNone
SizeIdProduct size.String
EcoResItemSizeName
NoNone
StyleIdProduct style.String
EcoResItemStyleName
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnitIdUnit of measure.String
UnitOfMeasureSymbol
NoNone
WarehouseIdWarehouse identifier. The metadata gives no further detail.low confidenceStringNoNone

Indexes (1)

Relations (3)

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

  • RetailPricingSimulatorSalesTransaction → RetailPricingSimulatorSalesTransaction

    Join on SalesTransactionId = RetailPricingSimulatorSalesTransaction.RecId

    Many RetailPricingSimulatorLinePriceDiscTable records → exactly one RetailPricingSimulatorSalesTransaction record

  • RetailPricingSimulatorSalesLine → RetailPricingSimulatorSalesLine

    Join on SalesLineId = RetailPricingSimulatorSalesLine.RecId

    Many RetailPricingSimulatorLinePriceDiscTable records → exactly one RetailPricingSimulatorSalesLine record

  • RetailPricingSimulatorPriceDiscTable → RetailPricingSimulatorPriceDiscTable

    Join on SalesTransactionId = RetailPricingSimulatorPriceDiscTable.RetailPricingSimulatorTransactionId, PriceDiscTableRecId = RetailPricingSimulatorPriceDiscTable.PriceDiscTableRecId

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

Email sales@drdynamics.co.uk