Table

HcmBudgetPurposeEarningBasis

Earning basis

Links one budget cost element to another that acts as its earning basis. Both columns point to the budget cost element table. The key is the pair of the two cost elements.

Table name
HcmBudgetPurposeEarningBasis
Module
Budget
Table group
Reference
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
BudgetPurposeEarningBasisIdx
Key fields
BudgetPurposeType, EarningBudgetPurposeType
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BudgetPurposeTypeLinks to the budget cost element that has an earning basis.Int64
HcmBudgetPurposeTypeRecId
YesHcmBudgetPurposeType.RecIdNone
EarningBudgetPurposeTypeLinks to the budget cost element used as the earning basis.Int64
HcmBudgetPurposeTypeRecId
YesHcmBudgetPurposeType.RecIdNone
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
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • BudgetPurposeType → HcmBudgetPurposeType

    Join on BudgetPurposeType = HcmBudgetPurposeType.RecId

    Many HcmBudgetPurposeEarningBasis records → exactly one HcmBudgetPurposeType record

  • EarningBudgetPurposeType → HcmBudgetPurposeType

    Join on HcmBudgetPurposeType.CostElementType = HcmBudgetCostElementType::Earning, EarningBudgetPurposeType = HcmBudgetPurposeType.RecId

    Many HcmBudgetPurposeEarningBasis records → exactly one HcmBudgetPurposeType record

Get this data out

No public entity reads from HcmBudgetPurposeEarningBasis. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk