Data entity
HcmTotalCompStatementSectionEarningEntity
Links earning codes and earning code groups to a section of the total compensation statement. The key is the statement section ID, earning code group and earning code.
- Entity name
HcmTotalCompStatementSectionEarningEntity- Public entity name
TotalCompStatementSectionEarning- OData collection
TotalCompStatementSectionEarnings- Category
Not set- Module
HRM- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
StatementSectionId, EarningCodeGroupId, EarningCodeId- Staging table
HcmTotalCompStatementSectionEarningStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TotalCompStatementSectionEarnings- Dataverse virtual table
mserp_hcmtotalcompstatementsectionearningentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
HcmTotalCompStatementSectionEarning· rootHcmTotalCompStatementSection· InnerJoin toHcmTotalCompStatementSectionEarning· read-onlyPayrollEarningCode· OuterJoin toHcmTotalCompStatementSectionEarning· read-onlyPayrollEarningCodeGroup· OuterJoin toHcmTotalCompStatementSectionEarning· read-only
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
EarningCodePoints to the earning code (PayrollEarningCode) included in the section. | Int64PayrollEarningCodeRecId | No | No (private) | PayrollEarningCode.RecId | HcmTotalCompStatementSectionEarning.EarningCode |
EarningCodeOrGroupTypeShows whether the selection is a single earning code or an earning group. | Enum
| Yes | Yes | HcmTotalCompStatementSectionEarning.EarningCodeOrGroupType | |
EarningCodeGroupPoints to the earning code group (PayrollEarningCodeGroup) included in the section. | Int64PayrollEarningCodeGroupRecId | No | No (private) | PayrollEarningCodeGroup.RecId | HcmTotalCompStatementSectionEarning.EarningGroup |
TotalCompensationStatementSectionPoints to the statement section (HcmTotalCompStatementSection) that holds the earning. | Int64HcmTotalCompStatementSectionRecId | No | No (private) | HcmTotalCompStatementSection.RecId | HcmTotalCompStatementSectionEarning.StatementSection |
StatementSectionIdUnique ID of the statement section. | String (70)HcmTotalCompStatementSectionId | Yes | Yes | HcmTotalCompStatementSection.StatementSectionId | |
EarningCodeIdID of the earning code included in the statement section. | String (50)PayrollEarningCodeId | No | Yes | computed | |
NullableEarningCodeIdUnique ID of the earning code. | String (50)PayrollEarningCodeId | No | No (private) | PayrollEarningCode.EarningCode | |
EarningCodeGroupIdID of the earning code group that the earning code belongs to in this section. | String (70)PayrollEarningCodeGroupId | No | Yes | computed | |
NullableEarningCodeGroupIdUnique ID of the earning code group. | String (70)PayrollEarningCodeGroupId | No | No (private) | PayrollEarningCodeGroup.GroupId |
Foreign keys (3)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
EarningCode→PayrollEarningCode.RecId(key of PayrollEarningCode)Many HcmTotalCompStatementSectionEarning records → exactly one PayrollEarningCode record
PayrollEarningCode details: see LeaveTypeEntity, PayrollEarningCodeEntity, BenefitDeductionEntity
EarningCodeGroup→PayrollEarningCodeGroup.RecId(key of PayrollEarningCodeGroup)Many HcmTotalCompStatementSectionEarning records → exactly one PayrollEarningCodeGroup record
PayrollEarningCodeGroup details: see PayrollEarningCodeGroupEntity, PayrollAccrualBasisEarningCodeEntity, PayrollEarningCodeEntity
TotalCompensationStatementSection→HcmTotalCompStatementSection.RecId(key of HcmTotalCompStatementSection)Many HcmTotalCompStatementSectionEarning records → exactly one HcmTotalCompStatementSection record
HcmTotalCompStatementSection details: see HcmTotalCompStatementSectionHeaderEntity, HcmTotalCompStatementSectionBenefitEntity, HcmTotalCompStatementSectionTaxEntity
Need help with HcmTotalCompStatementSectionEarningEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.