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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PriceTreeNameName of the price tree the setup belongs to. | String (60)Name | No | PriceTree.Name | None |
PriceComponentCodeNameName of the price component code used in the tree. | String (60)PriceComponentCodeName | No | PriceComponentCode.Name | None |
PriceComponentKind of price component of the code. | EnumPriceComponent (enum) | Yes | PriceComponentCode.PriceComponent | None |
CalculationSequenceNumber that sets the pricing sequence of the code in the tree. | IntegerPriceCalculationSequence | No | None | |
ConcurrencyModeConcurrency mode: none, exclusive, best price, compounded or always apply. | EnumPriceConcurrencyMode (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
PriceComponentCodeNameIdxPrimary indexReplacement keyPriceTreeName,PriceComponentCodeName,PriceComponentUnique, alternate key.
Relations (2)
Each relation joins PriceComponentCodeSetup to another table on the fields shown.
PriceComponentCode→PriceComponentCodeJoin on
PriceComponent = PriceComponentCode.PriceComponent,PriceComponentCodeName = PriceComponentCode.NameMany PriceComponentCodeSetup records → exactly one PriceComponentCode record
PriceTree→PriceTreeJoin on
PriceTreeName = PriceTree.NameMany 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.