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 · root
  • PayrollEarningStatement · InnerJoin to PayrollEarningStatementLine
  • HcmWorker · InnerJoin to PayrollEarningStatement · read-only
  • DirPartyTable · InnerJoin to HcmWorker · read-only
  • DirPartyTable_DirOrganizationBase (table DirOrganizationBase) · Derived to DirPartyTable
  • DirPartyTable_DirOrganization (table DirOrganization) · Derived to DirPartyTable_DirOrganizationBase
  • DirPartyTable_OMInternalOrganization (table OMInternalOrganization) · Derived to DirPartyTable_DirOrganizationBase
  • DirPartyTable_CompanyInfo (table CompanyInfo) · Derived to DirPartyTable_OMInternalOrganization
  • DirPartyTable_OMOperatingUnit (table OMOperatingUnit) · Derived to DirPartyTable_OMInternalOrganization
  • DirPartyTable_OMTeam (table OMTeam) · Derived to DirPartyTable_OMInternalOrganization
  • DirPartyTable_DirPerson (table DirPerson) · Derived to DirPartyTable
  • PayrollPayPeriod · InnerJoin to PayrollEarningStatement · read-only
  • PayrollPayCycle · InnerJoin to PayrollPayPeriod · read-only
  • HcmPosition · OuterJoin to PayrollEarningStatementLine · read-only
  • WorkerCompensationBenefit (table HcmBenefit) · OuterJoin to PayrollEarningStatementLine · read-only
  • WorkerGLIBenefit (table HcmBenefit) · OuterJoin to PayrollEarningStatementLine · read-only
  • PayrollWorkerTaxRegion · InnerJoin to PayrollEarningStatementLine
  • PayrollTaxRegion · InnerJoin to PayrollWorkerTaxRegion
  • LogisticsLocation · InnerJoin to PayrollTaxRegion
  • PayrollPremiumEarningCode · OuterJoin to PayrollEarningStatementLine
  • PayrollEarningCode · OuterJoin to PayrollEarningStatementLine

Fields (24)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
WorkerFull name of the party.String (160)
DirPartyName
YesYesDirPartyTable.Name
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
DocumentNumberUnique number of the earnings statement.String (20)
PayrollEarningStatementId
YesYesPayrollEarningStatement.DocumentNumber
PayCycleIdUnique ID of the pay cycle.String (15)
PayrollPayCycleId
YesYesPayrollPayCycle.PayCycleId
PeriodStartDateFirst date of the pay period.Date
PayrollPeriodStart
YesYesPayrollPayPeriod.PeriodStartDate
PeriodEndDateLast date of the pay period.Date
PayrollPeriodEnd
YesYesPayrollPayPeriod.PeriodEndDate
PaymentStatusPayment processing state of the line: none, on hold, released or processed.Enum
PayrollPaymentProcessingStatus
  • None 1
  • OnHold 2
  • Released 3
  • Processed 4
NoYesPayrollEarningStatementLine.PaymentStatus
AccountingDateDate used as the accounting date for the line.Date
TransDate
NoYesPayrollEarningStatementLine.AccountingDate
EarningDateDate on which the earning applies.Date
TransDate
YesYesPayrollEarningStatementLine.EarningDate
EarningCodeUnique ID of the earning code.String (50)
PayrollEarningCodeId
YesYesPayrollEarningCode.EarningCode
EarningCodeDescriptionShort text describing the earning code.String (60)
PayrollEarningCodeDescription
YesYesPayrollEarningCode.Description
QuantityUnitUnit used to measure the earning: hours, pieces or each.Enum
PayrollQuantityUnit
  • Hours 1
  • Pieces 2
  • Each 3
YesYesPayrollEarningCode.QuantityUnit
QuantityQuantity recorded for the earning, for example hours or units.Real
PayrollEarningQuantity
NoYesPayrollEarningStatementLine.Quantity
EarningRateRate applied to the earning on this line.Real
PayrollEarningRate
NoYesPayrollEarningStatementLine.EarningRate
AccountingCurrencyAmountAmount of the earning line in the accounting currency.Real
PayrollEarningAccountingCurrencyAmount
NoYesPayrollEarningStatementLine.AccountingCurrencyAmount
RetroactivePriorRateRate that was in place before a retroactive change.Real
PayrollEarningRate
NoYesPayrollEarningStatementLine.RetroactivePriorRate
PositionIdCode that identifies the position.String (25)
HcmPositionId
YesYesHcmPosition.PositionId
TaxRegionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
WorkerGLIBenefitIdShort code that identifies the benefit.String (20)
HcmBenefitId
YesYesHcmBenefit.BenefitId
WorkerCompensationBenefitIdShort code that identifies the benefit.String (20)
HcmBenefitId
YesYesHcmBenefit.BenefitId
IsProductiveYes/no flag showing whether the earning is productive.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

YesYesPayrollEarningCode.IsProductive
FringeBenefitTypeType of fringe benefit: not applicable, standard or group term life.Enum
PayrollFringeBenefitType
  • NotApplicable 1
  • Standard 2
  • GroupTermLife 3
YesYesPayrollEarningCode.FringeBenefitType
PremiumCodeShort text describing the premium code.String (60)
PayrollPremiumEarningCodeDescription
YesYesPayrollPremiumEarningCode.Description
GenerationSourceShows how the line was created, such as user entry, recurring, imported or premium.Enum
PayrollGenerationSource
  • UserEntry 1
  • Recurring 2
  • Salary 3
  • Imported 4
  • WorkerLeave 5
  • PositionSchedule 6
  • Retroactive 7
  • Premium 8
YesYesPayrollEarningStatementLine.GenerationSource

Need help with PayrollEarningStatementLineInquiryEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk