Table

PriceComponentCodeSetup

Price component codes

Sets up which price component codes are used in a price tree. Each record gives a pricing sequence and a concurrency mode. The key is the price tree name, code name and price component.

Table name
PriceComponentCodeSetup
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
PriceComponentCodeNameIdx
Replacement key
PriceComponentCodeNameIdx
Key fields
PriceTreeName, PriceComponentCodeName, PriceComponent
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PriceTreeNameName of the price tree the setup belongs to.String (60)
Name
NoPriceTree.NameNone
PriceComponentCodeNameName of the price component code used in the tree.String (60)
PriceComponentCodeName
NoPriceComponentCode.NameNone
PriceComponentKind of price component of the code.Enum
PriceComponent (enum)
YesPriceComponentCode.PriceComponentNone
CalculationSequenceNumber that sets the pricing sequence of the code in the tree.Integer
PriceCalculationSequence
NoNone
ConcurrencyModeConcurrency mode: none, exclusive, best price, compounded or always apply.Enum
PriceConcurrencyMode (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • PriceComponentCode → PriceComponentCode

    Join on PriceComponent = PriceComponentCode.PriceComponent, PriceComponentCodeName = PriceComponentCode.Name

    Many PriceComponentCodeSetup records → exactly one PriceComponentCode record

  • PriceTree → PriceTree

    Join on PriceTreeName = PriceTree.Name

    Many PriceComponentCodeSetup records → exactly one PriceTree record

Get this data out

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

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

Email sales@drdynamics.co.uk