Table

JmgPayEmployee

Worker rates

Rates for a worker and pay type over a date range. The key is worker, pay type, from date and to date. Each record holds a rate and a percentage.

Table name
JmgPayEmployee
Module
Production control
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
JmgPayroll
Primary index
EmplTypeIdx
Replacement key
None
Key fields
Worker, PayCostType, FromDate, ToDate
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkerWorker the rate belongs to.Int64
JmgWorkerRecId
YesHcmWorker.RecIdNone
PayCostTypePay type the rate is for.String
JmgPayCostType
YesJmgPayTable.PayCostTypeNone
FromDateFirst date the rate applies.Date
JmgDate
YesNone
ToDateLast date the rate applies.Date
JmgDate
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PercentPercentage value of the rate.Real
Percent
NoNone
PriceRate amount.Real
Price
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 JmgPayEmployee to another table on the fields shown.

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    One or more JmgPayEmployee records → exactly one HcmWorker record

  • JmgPayRate → JmgPayRate

    Join on ToDate = JmgPayRate.ToDate, FromDate = JmgPayRate.FromDate, PayCostType = JmgPayRate.PayCostType

    One or more JmgPayEmployee records → zero or one JmgPayRate record

  • JmgPayTable → JmgPayTable

    Join on PayCostType = JmgPayTable.PayCostType

    Many JmgPayEmployee records → exactly one JmgPayTable record

Get this data out

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

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

Email sales@drdynamics.co.uk