Table
PriceComponentCode
Price component codes
Lists price component codes. Each code belongs to a price component, such as base price, sales trade agreement or rebate. The key is the price component plus the code name. It also holds a main account link and a publish status.
- Table name
PriceComponentCode- Module
Cross-module and platform- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
PriceComponentNameIdx- Replacement key
PriceComponentNameIdx- Key fields
PriceComponent, Name- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PriceComponentKind of price component the code belongs to, for example base price, product discount or rebate. | EnumPriceComponent (enum) | Yes | None | |
NameName of the price component code. | String (60)PriceComponentCodeName | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort description of the code. | String (60)Description | No | None | |
IsDefaultYes or no flag. It appears to show whether this is the default code.low confidence | EnumNoYes (enum) | No | None | |
LedgerDimensionPoints to a ledger dimension combination that holds the main account. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PublishStatusPublish status of the code: draft, publishing or published. | EnumPriceAttributePublishStatus (enum) | 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)
PriceComponentNameIdxPrimary indexReplacement keyUnique, alternate key.
Relations (1)
Each relation joins PriceComponentCode to another table on the fields shown.
DimensionAttributeValueCombination→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdZero or one PriceComponentCode record → zero or one DimensionAttributeValueCombination record
Get this data out
No public entity reads from PriceComponentCode. Its data is only reachable through the application, a custom entity or a database export.
Need help with PriceComponentCode in a report, an integration or a migration? Talk to Dr Dynamics.