Data entity
PayrollPayStatementBenefitLineEntity
Benefit lines on pay statements, keyed by pay statement number and line number. Each line has an amount in transaction currency, an accounting date and an employer contribution value. It links to a benefit, a position and an accounting distribution template. It also holds base and premium earning amounts and hours.
- Entity name
PayrollPayStatementBenefitLineEntity- Public entity name
PayStatementBenefitLine- OData collection
PayStatementBenefitLines- Category
Not set- Module
Payroll- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
PayStatementNumber, LineNumber- Staging table
PayrollPayStatementBenefitLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PayStatementBenefitLines- Dataverse virtual table
mserp_payrollpaystatementbenefitlineentity. 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
PayrollPayStatementBenefitLine· rootAccountingDistributionTemplate_FK(tableAccountingDistributionTemplate) · OuterJoin toPayrollPayStatementBenefitLine· read-onlyCompanyInfo· OuterJoin toAccountingDistributionTemplate_FK· read-onlyPayStatement_FK(tablePayrollPayStatement) · InnerJoin toPayrollPayStatementBenefitLine· read-onlyPosition_FK(tableHcmPosition) · OuterJoin toPayrollPayStatementBenefitLine· read-onlyReversedPayStatementLine_FK(tablePayrollPayStatementLine) · OuterJoin toPayrollPayStatementBenefitLine· read-onlyPayStatement_FK1(tablePayrollPayStatement) · OuterJoin toReversedPayStatementLine_FK· read-onlyPayrollPayStatementBenefitLine1(tablePayrollPayStatementBenefitLine) · Derived toReversedPayStatementLine_FKPayrollPayStatementEarningLine· Derived toReversedPayStatementLine_FKPayrollPayStatementTaxLine· Derived toReversedPayStatementLine_FKBenefit_FK(tableHcmBenefit) · InnerJoin toPayrollPayStatementBenefitLine· read-only
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountInTransactionCurrencyAmount of the line. | RealPayrollStatementAccountingCurrencyAmount | Yes | Yes | PayrollPayStatementLine.AccountingCurrencyAmount | |
AccountingDateAccounting date of the line. | DateAccountingDate | Yes | Yes | PayrollPayStatementLine.AccountingDate | |
TemplateIdAccounting distribution template used for the line. | Int64AccountingDistributionTemplateRecId | No | No (private) | AccountingDistributionTemplate.RecId | PayrollPayStatementLine.AccountingDistributionTemplate |
EmployerContributionYes/no flag for an employer contribution. | EnumNoYesId
| No | Yes | PayrollPayStatementLine.IsEmployer | |
LineLockedYes/no flag showing the line is locked. | EnumNoYesId
| No | Yes | PayrollPayStatementLine.IsLineLocked | |
LineToRemoveYes/no flag showing the line is to be removed. | EnumNoYesId
| No | Yes | PayrollPayStatementLine.IsMarkedForRemoval | |
LineOverriddenYes/no flag showing the line was overridden and is locked. | EnumNoYesId
| No | Yes | PayrollPayStatementLine.IsPayStatementLineOverridden | |
PayStatementPay statement the line belongs to. | Int64PayrollPayStatementRecId | Yes | No (private) | PayrollPayStatement.RecId | PayrollPayStatementLine.PayStatement |
PositionPosition linked to the line. | Int64HcmPositionRecId | No | No (private) | HcmPosition.RecId | PayrollPayStatementLine.Position |
ReversedPayStatementLinePay statement line that this one reverses. | Int64PayrollPayStatementLineRecId | No | No (private) | PayrollPayStatementLine.RecId | PayrollPayStatementLine.ReversedPayStatementLine |
PayStatementLineSourceWhere the line came from, such as earnings, benefit, tax code or manual entry. | Enum
| No | Yes | PayrollPayStatementLine.Source | |
SourceDocumentLineSource document line linked to this line. | Int64SourceDocumentLineRecId | No | No (private) | SourceDocumentLine.RecId | PayrollPayStatementLine.SourceDocumentLine |
LineNumberLine number. | RealLineNum | No | Yes | PayrollPayStatementLine.LineNum | |
CompanyThe company (legal entity) that the record belongs to. | String (4)DataAreaId | Yes | Yes | PayrollPayStatementBenefitLine.DataAreaId | |
BaseEarningAmountBase earning amount. | RealPayrollStatementAccountingCurrencyAmount | No | Yes | PayrollPayStatementBenefitLine.BaseTimeEarningBaseAmount | |
BaseEarningHoursBase earning hours. | RealPayrollEarningQuantity | No | Yes | PayrollPayStatementBenefitLine.BaseTimeEarningBaseHours | |
BenefitBenefit the line refers to. | Int64HcmBenefitRecId | Yes | No (private) | HcmBenefit.RecId | PayrollPayStatementBenefitLine.Benefit |
PremiumEarningAmountPremium earning amount. | RealPayrollStatementAccountingCurrencyAmount | No | Yes | PayrollPayStatementBenefitLine.PremiumEarningBaseAmount | |
PremiumEarningHoursPremium earning hours. | RealPayrollEarningQuantity | No | Yes | PayrollPayStatementBenefitLine.PremiumEarningBaseHours | |
AccountingDistributionTemplateIdName that identifies the template. | String (40)TemplateName | No | Yes | AccountingDistributionTemplate.Name | |
AccountingDistributionLegalEntityIdPoints to the legal entity (company) that owns the template. | Int64LegalEntityRecId | Yes | No (private) | CompanyInfo.RecId | AccountingDistributionTemplate.LegalEntity |
AccountingDistributionLegalEntityCompany ID of the legal entity. It is the key. | StringSelectableDataArea | No | Yes | CompanyInfo.DataArea | |
PayStatementNumberUnique number of the pay statement. | String (20)PayrollPayStatementId | Yes | Yes | PayrollPayStatement.DocumentNumber | |
PositionIdCode that identifies the position. | String (25)HcmPositionId | No | Yes | HcmPosition.PositionId | |
BenefitIdShort code that identifies the benefit. | String (20)HcmBenefitId | Yes | Yes | HcmBenefit.BenefitId | |
ReversedPayStatementNumberUnique number of the pay statement. | String (20)PayrollPayStatementId | No | Yes | PayrollPayStatement.DocumentNumber | |
ReversedPayStatementPay statement the line belongs to. | Int64PayrollPayStatementRecId | Yes | No (private) | PayrollPayStatement.RecId | PayrollPayStatementLine.PayStatement |
ReversedPayStatementLineNumLine number. | RealLineNum | No | Yes | PayrollPayStatementLine.LineNum |
Foreign keys (8)
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.
TemplateId→AccountingDistributionTemplate.RecId(key of AccountingDistributionTemplate)Many PayrollPayStatementLine records → zero or one AccountingDistributionTemplate record
AccountingDistributionTemplate details: see FinancialDimensionDefaultTemplateEntity, HcmPositionDefaultDimensionDualWriteEntity, HcmPositionDefaultDimensionEntity
PayStatement→PayrollPayStatement.RecId(key of PayrollPayStatement)Many PayrollPayStatementLine records → exactly one PayrollPayStatement record
PayrollPayStatement details: see PayrollPayStatementHeaderEntity, PayrollPayStatementEarningLineEntity, PayrollPayStatementTaxLineEntity
Position→HcmPosition.RecId(key of HcmPosition)Many PayrollPayStatementLine records → exactly one HcmPosition record
HcmPosition details: see HcmPositionTimelineEntity, HcmJobPositionDualWriteEntity, HcmPositionEntity
ReversedPayStatementLine→PayrollPayStatementLine.RecId(key of PayrollPayStatementLine)Zero or one PayrollPayStatementLine record → exactly one PayrollPayStatementLine record
PayrollPayStatementLine details: see PayrollPayStatementTaxLineEntity, PayrollPayStatementEarningLineEntity, PayrollPayStatementBenefitLineInquiryEntity
SourceDocumentLine→SourceDocumentLine.RecId(key of SourceDocumentLine)Many PayrollPayStatementLine records → exactly one SourceDocumentLine record
SourceDocumentLine details: see SourceDocumentLineBiEntity, SourceDocumentLineCDREntity
Benefit→HcmBenefit.RecId(key of HcmBenefit)Many PayrollPayStatementBenefitLine records → exactly one HcmBenefit record
HcmBenefit details: see HcmBenefitEligibilityOverrideEntity, HcmBenefitEntity, PayrollBenefitEarningBasisEntity
AccountingDistributionLegalEntityId→CompanyInfo.RecId(key of CompanyInfo)One or more AccountingDistributionTemplate records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
ReversedPayStatement→PayrollPayStatement.RecId(key of PayrollPayStatement)Many PayrollPayStatementLine records → exactly one PayrollPayStatement record
PayrollPayStatement details: see PayrollPayStatementHeaderEntity, PayrollPayStatementEarningLineEntity, PayrollPayStatementTaxLineEntity
Need help with PayrollPayStatementBenefitLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.