Data entity

PayrollPayStatementBenefitLineInquiryEntity

Read-only view of pay statement benefit lines, joined with worker name, pay cycle and pay period dates. It is keyed by pay statement number and line number. Each line shows the benefit, position, amount, base and premium earnings, employer contribution and a related invoice.

Entity name
PayrollPayStatementBenefitLineInquiryEntity
Public entity name
PayStatementBenefitLineInquiry
OData collection
PayStatementBenefitLineInquiries
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/PayStatementBenefitLineInquiries
Dataverse virtual table
mserp_payrollpaystatementbenefitlineinquiryentity. 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

  • PayrollPayStatementBenefitLine · root
  • PayrollPayStatement · InnerJoin to PayrollPayStatementBenefitLine · 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
  • HcmPosition · OuterJoin to PayrollPayStatementBenefitLine · read-only
  • HcmBenefit · InnerJoin to PayrollPayStatementBenefitLine · read-only
  • HcmBenefitPlan · InnerJoin to HcmBenefit · read-only
  • VendTrans · OuterJoin to PayrollPayStatementBenefitLine · read-only

Fields (19)

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
PayStatementNumberUnique number of the pay statement.String (20)
PayrollPayStatementId
YesYesPayrollPayStatement.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
AccountingDateAccounting date of the line.Date
AccountingDate
YesYesPayrollPayStatementLine.AccountingDate
BenefitIdShort code that identifies the benefit.String (20)
HcmBenefitId
YesYesHcmBenefit.BenefitId
DescriptionShort text that describes the benefit plan.String (60)
HrmDescription
NoYesHcmBenefitPlan.Description
AccountingCurrencyAmountAmount of the line.Real
PayrollStatementAccountingCurrencyAmount
YesYesPayrollPayStatementLine.AccountingCurrencyAmount
BaseTimeEarningBaseAmountBase earning amount.Real
PayrollStatementAccountingCurrencyAmount
NoYesPayrollPayStatementBenefitLine.BaseTimeEarningBaseAmount
BaseTimeEarningBaseHoursBase earning hours.Real
PayrollEarningQuantity
NoYesPayrollPayStatementBenefitLine.BaseTimeEarningBaseHours
PremiumEarningBaseAmountPremium earning amount.Real
PayrollStatementAccountingCurrencyAmount
NoYesPayrollPayStatementBenefitLine.PremiumEarningBaseAmount
PremiumEarningBaseHoursPremium earning hours.Real
PayrollEarningQuantity
NoYesPayrollPayStatementBenefitLine.PremiumEarningBaseHours
IsEmployerYes/no flag for an employer contribution.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesPayrollPayStatementLine.IsEmployer
PositionIdCode that identifies the position.String (25)
HcmPositionId
YesYesHcmPosition.PositionId
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
VendorInvoiceVendor's invoice number.String (50)
VendInvoiceId
NoYesVendTrans.Invoice
LineNumLine number.Real
LineNum
NoYesPayrollPayStatementLine.LineNum

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

Email sales@drdynamics.co.uk