Table

RetailPriceDiscAdmTrans

Trade agreement journal lines retail details

Holds retail details for trade agreement journal lines. Each record links to a journal line and may link to a retail category price rule. It stores price basis, inventory cost, comparison price and previous sales price values.

Table name
RetailPriceDiscAdmTrans
Module
Commerce merchandising
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BasePricePrice basis value. The currency is not stated in the metadata.Real
RetailCurrentBasePrice
NoNone
BasePriceOrigCurrencyCodeCurrency code of the original price basis.String (3)
RetailBasePriceOrigCurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventCostInventory cost value. The currency is not stated in the metadata.Real
RetailCurrentInventCost
NoNone
OrigCurBasePricePrice basis value in the original currency.Real
RetailCurrentOrigCurBasePrice
NoNone
OtherGroupPriceComparison price value. The currency is not stated in the metadata.Real
RetailCurrentOtherGroupPrice
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceDiscAdmTransTrade agreement journal line that these retail details belong to.Int64
PriceDiscAdmTransRecId
YesPriceDiscAdmTrans.RecIdNone
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
RetailCategoryPriceRuleRecIdRetail category price rule linked to this line.Int64
RetailCategoryPriceRuleRecId
NoRetailCategoryPriceRule.RecIdNone
SalesPricePrevious sales price. The currency is not stated in the metadata.Real
RetailCurrentSalesPrice
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • Currency → Currency

    Join on BasePriceOrigCurrencyCode = Currency.CurrencyCode

    Many RetailPriceDiscAdmTrans records → zero or one Currency record

  • PriceDiscAdmTrans → PriceDiscAdmTrans

    Join on PriceDiscAdmTrans = PriceDiscAdmTrans.RecId

    Zero or one RetailPriceDiscAdmTrans record → exactly one PriceDiscAdmTrans record

  • RetailCategoryPriceRule → RetailCategoryPriceRule

    Join on RetailCategoryPriceRuleRecId = RetailCategoryPriceRule.RecId

    Many RetailPriceDiscAdmTrans records → exactly one RetailCategoryPriceRule record

Get this data out

No public entity reads from RetailPriceDiscAdmTrans. Its data is only reachable through the application, a custom entity or a database export.

Need help with RetailPriceDiscAdmTrans in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk