Table

CustHierarchyVersion

Customer hierarchy versions

Holds versions of a customer hierarchy. The key is the hierarchy ID plus the version number. Each version has an activation date, an active flag and a description.

Table name
CustHierarchyVersion
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
CustHierarchyVersionIdx
Replacement key
None
Key fields
CustHierarchyId, Version
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustHierarchyIdID of the customer hierarchy.String (60)
CustHierarchyId
YesCustHierarchy.CustHierarchyIdNone
VersionVersion number.Integer
Version
YesCustomerHierarchyEntity
ActivationDateTimeDate and time the version is activated.UtcDateTime
ActivationDateTime
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DescriptionShort description of the version.String (60)
Description
NoNone
IsActiveYes/No flag showing whether the version is active.Enum
CustHierarchyVersionIsActive
NoYes (enum)
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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 (2)

Relations (1)

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

  • CustHierarchy → CustHierarchy

    Join on CustHierarchyId = CustHierarchy.CustHierarchyId

    Exactly one CustHierarchyVersion record → exactly one CustHierarchy record

Get this data out

Tables are not exposed directly. These public entities read from CustHierarchyVersion; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk