Table

PayrollAccrualBasisEarningcode

Accrual basis earnings

Links a benefit accrual plan to the earning codes or earning code groups that form its basis. Each row also holds a rate for compensatory time. It has no declared key.

Table name
PayrollAccrualBasisEarningcode
Module
Payroll
Table group
Reference
Table type
Regular
Data per company
No
Configuration key
PayrollAdministration
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccrualPoints to the benefit accrual plan record.Int64
PayrollAccrualRecId
YesPayrollAccrual.RecIdPayrollAccrualBasisEarningCodeEntity
AccrualRateRate used for compensatory time.Real
PayrollAccrualCompensatoryRate
NoPayrollAccrualBasisEarningCodeEntity
AccuralTypeSays whether the row refers to an earning code or an earning code group.Enum
PayrollAccrualType (enum)
NoPayrollAccrualBasisEarningCodeEntity
EarningCodePoints to the earning code record.Int64
PayrollEarningCodeRecId
NoPayrollEarningCode.RecIdPayrollAccrualBasisEarningCodeEntity
EarningCodeGroupPoints to the earning code group record.Int64
PayrollEarningCodeGroupRecId
NoPayrollEarningCodeGroup.RecIdPayrollAccrualBasisEarningCodeEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

Each relation joins PayrollAccrualBasisEarningcode to another table on the fields shown.

  • PayrollAccrual → PayrollAccrual

    Join on Accrual = PayrollAccrual.RecId

    Many PayrollAccrualBasisEarningcode records → exactly one PayrollAccrual record

  • PayrollEarningCode → PayrollEarningCode

    Join on EarningCode = PayrollEarningCode.RecId

    Many PayrollAccrualBasisEarningcode records → exactly one PayrollEarningCode record

  • PayrollEarningCodeGroup → PayrollEarningCodeGroup

    Join on EarningCodeGroup = PayrollEarningCodeGroup.RecId

    Many PayrollAccrualBasisEarningcode records → exactly one PayrollEarningCodeGroup record

Get this data out

Tables are not exposed directly. These public entities read from PayrollAccrualBasisEarningcode; use one of them in Power BI, Power Platform or a data management project.

Need help with PayrollAccrualBasisEarningcode in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk