Table
PriceComponentCodeAttribute
Price attribute
Links a price component code to the price attributes used with it. Each link has a status, display order and rank. The key is the price component, code name, status and attribute name.
- Table name
PriceComponentCodeAttribute- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
ComponentCodeAttribute- Replacement key
ComponentCodeAttribute- Key fields
PriceComponent, PriceComponentCodeName, Status, PriceAttributeName- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PriceComponentKind of price component of the code. | EnumPriceComponent (enum) | Yes | PriceComponentCode.PriceComponent | None |
PriceComponentCodeNameName of the price component code this record belongs to. | String (60)Name | Yes | PriceComponentCode.Name | None |
StatusStatus of the attribute link: published, added, deleted or draft. | EnumPriceAttributeStatus (enum) | No | None | |
PriceAttributeNameName of the price attribute, linked to the price attribute definition. | String (60)Name | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DisplayOrderNumber that sets the order in which attributes are displayed. | IntegerDisplayOrder | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriorityNumberRank number of the attribute for pricing priority. | IntegerRetailPricingPriorityNumber | 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)
ComponentCodeAttributePrimary indexReplacement keyPriceComponent,PriceComponentCodeName,Status,PriceAttributeNameUnique, alternate key.
Relations (2)
Each relation joins PriceComponentCodeAttribute to another table on the fields shown.
PriceComponentCode→PriceComponentCodeJoin on
PriceComponent = PriceComponentCode.PriceComponent,PriceComponentCodeName = PriceComponentCode.NameCardinality not set in the metadata.
PriceAttribute→PriceAttributeDefinitionJoin on
PriceComponent = PriceAttributeDefinition.PriceComponent,PriceAttributeName = PriceAttributeDefinition.NameCardinality not set in the metadata.
Get this data out
No public entity reads from PriceComponentCodeAttribute. Its data is only reachable through the application, a custom entity or a database export.
Need help with PriceComponentCodeAttribute in a report, an integration or a migration? Talk to Dr Dynamics.