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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PositionPoints to the position that this record applies to. | Int64HcmPositionRecId | No | HcmPosition.RecId | None |
ValidFromFirst date on which this record is valid. | DateValidFromDate | Yes | None | |
CountryRegionIdThe country or region for the compensation. | StringLogisticsAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | None |
StateIdThe state for the compensation, within the chosen country or region. | StringLogisticsAddressStateId | Yes | LogisticsAddressState.StateId | None |
ValidToLast date on which this record is valid. | DateValidToDate | Yes | None | |
BenefitPoints to the benefit used as the compensation code. | Int64HcmBenefitRecId | Yes | HcmBenefit.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
HcmBenefitIdxNot unique.
PositionAddressIdxReplacement keyPosition,ValidFrom,CountryRegionId,StateId,ValidToUnique, alternate key.
LogisticsAddressStateIdxNot unique.
Relations (4)
Each relation joins PayrollPositionWorkerCompensation to another table on the fields shown.
Benefit→HcmBenefitJoin on
Benefit = HcmBenefit.RecIdMany PayrollPositionWorkerCompensation records → exactly one HcmBenefit record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
CountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany PayrollPositionWorkerCompensation records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressState→LogisticsAddressStateJoin on
StateId = LogisticsAddressState.StateId,CountryRegionId = LogisticsAddressState.CountryRegionIdMany PayrollPositionWorkerCompensation records → zero or one LogisticsAddressState record
Position→HcmPositionJoin on
Position = HcmPosition.RecIdMany 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.