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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PriceComponentKind of price component the code belongs to, for example base price, product discount or rebate.Enum
PriceComponent (enum)
YesNone
NameName of the price component code.String (60)
PriceComponentCodeName
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort description of the code.String (60)
Description
NoNone
IsDefaultYes or no flag. It appears to show whether this is the default code.low confidenceEnum
NoYes (enum)
NoNone
LedgerDimensionPoints to a ledger dimension combination that holds the main account.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PublishStatusPublish status of the code: draft, publishing or published.Enum
PriceAttributePublishStatus (enum)
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)

  • PriceComponentNameIdxPrimary indexReplacement key

    PriceComponent, Name

    Unique, alternate key.

Relations (1)

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

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Zero 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.

Email sales@drdynamics.co.uk