Data entity

PayrollPayStatementEarningLineInquiryEntity

Read-only view of pay statement earning lines, joined with worker name, pay cycle and period dates. It is keyed by pay statement number and line number. It shows the earning code, rate, quantity, amount, position, tax region and benefit plan and option.

Entity name
PayrollPayStatementEarningLineInquiryEntity
Public entity name
PayStatementEarningLineInquiry
OData collection
PayStatementEarningLineInquiries
Category
Not set
Module
Payroll
Read-only
Yes
Data management enabled
No
Configuration key
PayrollAdministration
Keys
PayStatementNumber, LineNum
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PayStatementEarningLineInquiries
Dataverse virtual table
mserp_payrollpaystatementearninglineinquiryentity. 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

  • PayrollPayStatementEarningLine · root · read-only
  • PayrollPayStatement · InnerJoin to PayrollPayStatementEarningLine · read-only
  • HcmWorker · InnerJoin to PayrollPayStatement · 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 PayrollPayStatement · read-only
  • PayrollPayCycle · InnerJoin to PayrollPayPeriod · read-only
  • PayrollEarningCode · InnerJoin to PayrollPayStatementEarningLine · read-only
  • HcmPosition · InnerJoin to PayrollPayStatementEarningLine · read-only
  • PayrollWorkerTaxRegion · InnerJoin to PayrollPayStatementEarningLine · read-only
  • PayrollTaxRegion · InnerJoin to PayrollWorkerTaxRegion · read-only
  • LogisticsLocation · InnerJoin to PayrollTaxRegion · read-only
  • HcmBenefitGLI (table HcmBenefit) · OuterJoin to PayrollPayStatementEarningLine · read-only
  • HcmBenefitPlanGLI (table HcmBenefitPlan) · OuterJoin to HcmBenefitGLI · read-only
  • HcmBenefitOptionGLI (table HcmBenefitOption) · OuterJoin to HcmBenefitGLI · read-only
  • HcmBenefitCompensation (table HcmBenefit) · OuterJoin to PayrollPayStatementEarningLine · read-only
  • HcmBenefitPlanComp (table HcmBenefitPlan) · OuterJoin to HcmBenefitCompensation · read-only
  • HcmBenefitOptionComp (table HcmBenefitOption) · OuterJoin to HcmBenefitCompensation · read-only

Fields (22)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LineNumLine number.Real
LineNum
NoYesPayrollPayStatementLine.LineNum
WorkerFull name of the party.String (160)
DirPartyName
YesYesDirPartyTable.Name
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
PayStatementNumberUnique number of the pay statement.String (20)
PayrollPayStatementId
YesYesPayrollPayStatement.DocumentNumber
PeriodEndDateLast date of the pay period.Date
PayrollPeriodEnd
YesYesPayrollPayPeriod.PeriodEndDate
PeriodStartDateFirst date of the pay period.Date
PayrollPeriodStart
YesYesPayrollPayPeriod.PeriodStartDate
PayCycleIdUnique ID of the pay cycle.String (15)
PayrollPayCycleId
YesYesPayrollPayCycle.PayCycleId
AccountingDateAccounting date of the line.Date
AccountingDate
YesYesPayrollPayStatementLine.AccountingDate
EarningCodeUnique ID of the earning code.String (50)
PayrollEarningCodeId
YesYesPayrollEarningCode.EarningCode
DescriptionShort text describing the earning code.String (60)
PayrollEarningCodeDescription
YesYesPayrollEarningCode.Description
AccountingCurrencyAmountAmount of the line.Real
PayrollStatementAccountingCurrencyAmount
YesYesPayrollPayStatementLine.AccountingCurrencyAmount
QuantityQuantity of earnings, such as hours.Real
PayrollEarningQuantity
YesYesPayrollPayStatementEarningLine.Quantity
EarningRateRate applied to the earnings.Real
PayrollEarningRate
YesYesPayrollPayStatementEarningLine.EarningRate
PositionIdCode that identifies the position.String (25)
HcmPositionId
YesYesHcmPosition.PositionId
TaxRegionDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
BenefitPlanIDGLIShort code that identifies the benefit plan.String (20)
HcmBenefitPlanId
YesYesHcmBenefitPlan.BenefitPlanID
BenefitOptionIDGLIShort code that identifies the benefit option.String (20)
HcmBenefitOptionId
YesYesHcmBenefitOption.BenefitOptionID
GeneralLiabilityInsuranceText value for general liability insurance on the earning line.low confidenceString (50)NoYescomputed
BenefitPlanIDCompShort code that identifies the benefit plan.String (20)
HcmBenefitPlanId
YesYesHcmBenefitPlan.BenefitPlanID
BenefitOptionIDCompShort code that identifies the benefit option.String (20)
HcmBenefitOptionId
YesYesHcmBenefitOption.BenefitOptionID
WorkerCompensationWorkers' compensation code on the earning line, shown as text.String (50)NoYescomputed
SourceWhere the line came from, such as earnings, benefit, tax code or manual entry.Enum
PayrollPayStatementLineSource
  • EarningStatement 0
  • FringeBenefitRecover 1
  • GrossUpEarning 2
  • WorkerEnrolledBenefit 3
  • ArrearRecover 4
  • WorkerTaxCode 5
  • Manual 6
  • Upgrade 7
  • ArrearCalculation 8
NoYesPayrollPayStatementLine.Source

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

Email sales@drdynamics.co.uk