Table

TmpRetailPriceDiscAdmTrans Temporary

Difference between the base prices in the price or discount journal lines

Purpose not clear from the metadata.

Table name
TmpRetailPriceDiscAdmTrans
Module
Cross-module and platform
Table group
Miscellaneous
Table type
TempDB
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdditionalDataStatusNo descriptionEnum
RetailAdditionalDataStatus (enum)
NoNone
AmountNo descriptionReal
AmountCur
NoNone
BasePriceNo descriptionReal
RetailCurrentBasePrice
NoNone
BasePriceDeviationNo descriptionReal
RetailCurrentBasePriceDeviation
NoNone
BasePriceOrigCurrencyCodeNo descriptionString (3)
RetailBasePriceOrigCurrencyCode
NoCurrency.CurrencyCodeNone
BasePricePercentNo descriptionReal
RetailCurrentBasePricePercent
NoNone
InventCostNo descriptionReal
RetailCurrentInventCost
NoNone
InventCostDeviationNo descriptionReal
RetailCurrentInventCostDeviation
NoNone
InventCostPercentNo descriptionReal
RetailCurrentInventCostPercent
NoNone
OrigCurBasePriceNo descriptionReal
RetailCurrentOrigCurBasePrice
NoNone
OtherGroupPriceNo descriptionReal
RetailCurrentOtherGroupPrice
NoNone
OtherGroupPriceDeviationNo descriptionReal
RetailCurrentOtherGroupPriceDeviation
NoNone
OtherGroupPricePercentNo descriptionReal
RetailCurrentOtherGroupPricePercent
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceDiscAdmTransNo descriptionInt64
PriceDiscAdmTransRecId
YesPriceDiscAdmTrans.RecIdNone
ProductNo descriptionInt64
EcoResProductRecId
YesEcoResProduct.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
RetailCategoryPriceRuleRecIdNo descriptionInt64
RetailCategoryPriceRuleRecId
NoRetailCategoryPriceRule.RecIdNone
SalesPriceNo descriptionReal
RetailCurrentSalesPrice
NoNone
SalesPriceDeviationNo descriptionReal
RetailCurrentSalesPriceDeviation
NoNone
SalesPricePercentNo descriptionReal
RetailCurrentSalesPricePercent
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

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

  • Currency → Currency

    Join on BasePriceOrigCurrencyCode = Currency.CurrencyCode

    Many TmpRetailPriceDiscAdmTrans records → zero or one Currency record

  • EcoResProduct → EcoResProduct

    Join on Product = EcoResProduct.RecId

    Many TmpRetailPriceDiscAdmTrans records → exactly one EcoResProduct record

  • EcoResProductCategory → EcoResProductCategory

    Join on Product = EcoResProductCategory.Product

    Many TmpRetailPriceDiscAdmTrans records → zero or one EcoResProductCategory record

  • PriceDiscAdmTrans → PriceDiscAdmTrans

    Join on PriceDiscAdmTrans = PriceDiscAdmTrans.RecId

    Zero or one TmpRetailPriceDiscAdmTrans record → exactly one PriceDiscAdmTrans record

  • RetailCategoryPriceRule → RetailCategoryPriceRule

    Join on RetailCategoryPriceRuleRecId = RetailCategoryPriceRule.RecId

    Many TmpRetailPriceDiscAdmTrans records → zero or one RetailCategoryPriceRule record

Get this data out

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

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

Email sales@drdynamics.co.uk