Data entity
PayrollEarningStatementLineInquiryEntity
Read-only inquiry on earnings statement lines, combined with worker, pay period and pay cycle details. Each row shows the worker, statement number, earning code, quantity, rate, amount and dates. It also shows the position, benefit and fringe benefit type. It is not available for data management.
- Entity name
PayrollEarningStatementLineInquiryEntity- Public entity name
EarningStatementLineInquiry- OData collection
EarningStatementLineInquiries- Category
Not set- Module
Payroll- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
DocumentNumber- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EarningStatementLineInquiries- Dataverse virtual table
mserp_payrollearningstatementlineinquiryentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
PayrollEarningStatementLine· rootPayrollEarningStatement· InnerJoin toPayrollEarningStatementLineHcmWorker· InnerJoin toPayrollEarningStatement· read-onlyDirPartyTable· InnerJoin toHcmWorker· read-onlyDirPartyTable_DirOrganizationBase(tableDirOrganizationBase) · Derived toDirPartyTableDirPartyTable_DirOrganization(tableDirOrganization) · Derived toDirPartyTable_DirOrganizationBaseDirPartyTable_OMInternalOrganization(tableOMInternalOrganization) · Derived toDirPartyTable_DirOrganizationBaseDirPartyTable_CompanyInfo(tableCompanyInfo) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_OMOperatingUnit(tableOMOperatingUnit) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_OMTeam(tableOMTeam) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_DirPerson(tableDirPerson) · Derived toDirPartyTablePayrollPayPeriod· InnerJoin toPayrollEarningStatement· read-onlyPayrollPayCycle· InnerJoin toPayrollPayPeriod· read-onlyHcmPosition· OuterJoin toPayrollEarningStatementLine· read-onlyWorkerCompensationBenefit(tableHcmBenefit) · OuterJoin toPayrollEarningStatementLine· read-onlyWorkerGLIBenefit(tableHcmBenefit) · OuterJoin toPayrollEarningStatementLine· read-onlyPayrollWorkerTaxRegion· InnerJoin toPayrollEarningStatementLinePayrollTaxRegion· InnerJoin toPayrollWorkerTaxRegionLogisticsLocation· InnerJoin toPayrollTaxRegionPayrollPremiumEarningCode· OuterJoin toPayrollEarningStatementLinePayrollEarningCode· OuterJoin toPayrollEarningStatementLine
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
WorkerFull name of the party. | String (160)DirPartyName | Yes | Yes | DirPartyTable.Name | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
DocumentNumberUnique number of the earnings statement. | String (20)PayrollEarningStatementId | Yes | Yes | PayrollEarningStatement.DocumentNumber | |
PayCycleIdUnique ID of the pay cycle. | String (15)PayrollPayCycleId | Yes | Yes | PayrollPayCycle.PayCycleId | |
PeriodStartDateFirst date of the pay period. | DatePayrollPeriodStart | Yes | Yes | PayrollPayPeriod.PeriodStartDate | |
PeriodEndDateLast date of the pay period. | DatePayrollPeriodEnd | Yes | Yes | PayrollPayPeriod.PeriodEndDate | |
PaymentStatusPayment processing state of the line: none, on hold, released or processed. | Enum
| No | Yes | PayrollEarningStatementLine.PaymentStatus | |
AccountingDateDate used as the accounting date for the line. | DateTransDate | No | Yes | PayrollEarningStatementLine.AccountingDate | |
EarningDateDate on which the earning applies. | DateTransDate | Yes | Yes | PayrollEarningStatementLine.EarningDate | |
EarningCodeUnique ID of the earning code. | String (50)PayrollEarningCodeId | Yes | Yes | PayrollEarningCode.EarningCode | |
EarningCodeDescriptionShort text describing the earning code. | String (60)PayrollEarningCodeDescription | Yes | Yes | PayrollEarningCode.Description | |
QuantityUnitUnit used to measure the earning: hours, pieces or each. | Enum
| Yes | Yes | PayrollEarningCode.QuantityUnit | |
QuantityQuantity recorded for the earning, for example hours or units. | RealPayrollEarningQuantity | No | Yes | PayrollEarningStatementLine.Quantity | |
EarningRateRate applied to the earning on this line. | RealPayrollEarningRate | No | Yes | PayrollEarningStatementLine.EarningRate | |
AccountingCurrencyAmountAmount of the earning line in the accounting currency. | RealPayrollEarningAccountingCurrencyAmount | No | Yes | PayrollEarningStatementLine.AccountingCurrencyAmount | |
RetroactivePriorRateRate that was in place before a retroactive change. | RealPayrollEarningRate | No | Yes | PayrollEarningStatementLine.RetroactivePriorRate | |
PositionIdCode that identifies the position. | String (25)HcmPositionId | Yes | Yes | HcmPosition.PositionId | |
TaxRegionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
WorkerGLIBenefitIdShort code that identifies the benefit. | String (20)HcmBenefitId | Yes | Yes | HcmBenefit.BenefitId | |
WorkerCompensationBenefitIdShort code that identifies the benefit. | String (20)HcmBenefitId | Yes | Yes | HcmBenefit.BenefitId | |
IsProductiveYes/no flag showing whether the earning is productive. | EnumNoYesId
| Yes | Yes | PayrollEarningCode.IsProductive | |
FringeBenefitTypeType of fringe benefit: not applicable, standard or group term life. | Enum
| Yes | Yes | PayrollEarningCode.FringeBenefitType | |
PremiumCodeShort text describing the premium code. | String (60)PayrollPremiumEarningCodeDescription | Yes | Yes | PayrollPremiumEarningCode.Description | |
GenerationSourceShows how the line was created, such as user entry, recurring, imported or premium. | Enum
| Yes | Yes | PayrollEarningStatementLine.GenerationSource |
Need help with PayrollEarningStatementLineInquiryEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.