Table

RetailPriceDiscAdmTable

Trade agreement journal table retail details

Holds retail details for a trade agreement journal. It links one-to-one to the journal header through the PriceDiscAdmTable field. It also holds Yes or No settings about which price data to save, and an optional category hierarchy.

Table name
RetailPriceDiscAdmTable
Module
Commerce merchandising
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
PriceDiscAdmTableRecIdx
Key fields
PriceDiscAdmTable
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PriceDiscAdmTableTrade agreement journal that these retail details belong to.Int64
PriceDiscAdmTableRecId
YesPriceDiscAdmTable.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EcoResCategoryHierarchyIdCategory hierarchy linked to the journal.Int64
EcoResCategoryHierarchyId
NoEcoResCategoryHierarchy.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SaveAddDataYes or No setting to save pricing data.Enum
RetailSaveAddData
NoYes (enum)
NoNone
SaveBasePriceYes or No setting to enable the price basis.Enum
RetailSaveBasePrice
NoYes (enum)
NoNone
SaveInventCostYes or No setting to enable the inventory cost price.Enum
RetailSaveInventCost
NoYes (enum)
NoNone
SaveOtherGroupPriceYes or No setting to enable the comparison price.Enum
RetailSaveOtherGroupPrice
NoYes (enum)
NoNone
SaveSalesPriceYes or No setting to enable the sales price.Enum
RetailSaveSalesPrice
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • EcoResCategoryHierarchy → EcoResCategoryHierarchy

    Join on EcoResCategoryHierarchyId = EcoResCategoryHierarchy.RecId

    Many RetailPriceDiscAdmTable records → zero or one EcoResCategoryHierarchy record

  • PriceDiscAdmTable → PriceDiscAdmTable

    Join on PriceDiscAdmTable = PriceDiscAdmTable.RecId

    Zero or one RetailPriceDiscAdmTable record → exactly one PriceDiscAdmTable record

Get this data out

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

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

Email sales@drdynamics.co.uk