Table

PayrollPositionWorkerCompensation

Workers compensation for positions

Holds workers compensation codes for a position, by country or region, state and validity period. Each record links a position to a benefit used as the compensation code. It is used for the United States, according to its configuration key.

Table name
PayrollPositionWorkerCompensation
Module
Cross-module and platform
Table group
Group
Table type
Regular
Data per company
No
Configuration key
PayrollAdministrationUSA
Primary index
None
Replacement key
PositionAddressIdx
Key fields
Position, ValidFrom, CountryRegionId, StateId, ValidTo
Model
PersonnelManagement

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PositionPoints to the position that this record applies to.Int64
HcmPositionRecId
NoHcmPosition.RecIdNone
ValidFromFirst date on which this record is valid.Date
ValidFromDate
YesNone
CountryRegionIdThe country or region for the compensation.String
LogisticsAddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
StateIdThe state for the compensation, within the chosen country or region.String
LogisticsAddressStateId
YesLogisticsAddressState.StateIdNone
ValidToLast date on which this record is valid.Date
ValidToDate
YesNone
BenefitPoints to the benefit used as the compensation code.Int64
HcmBenefitRecId
YesHcmBenefit.RecIdNone
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 (3)

Relations (4)

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

  • Benefit → HcmBenefit

    Join on Benefit = HcmBenefit.RecId

    Many PayrollPositionWorkerCompensation records → exactly one HcmBenefit record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many PayrollPositionWorkerCompensation records → exactly one LogisticsAddressCountryRegion record

  • LogisticsAddressState → LogisticsAddressState

    Join on StateId = LogisticsAddressState.StateId, CountryRegionId = LogisticsAddressState.CountryRegionId

    Many PayrollPositionWorkerCompensation records → zero or one LogisticsAddressState record

  • Position → HcmPosition

    Join on Position = HcmPosition.RecId

    Many PayrollPositionWorkerCompensation records → zero or one HcmPosition record

Get this data out

No public entity reads from PayrollPositionWorkerCompensation. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk