Table

JmgPayStatTrans

Payroll statistics

Holds payroll statistics records for a worker over a date range. Each record has an opening balance, an adjustment and pay units. It links to a worker, a pay type and a payroll statistics group. The table has no defined key.

Table name
JmgPayStatTrans
Module
Production control
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
JmgPayroll
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdjustmentAdjustment value, stored as a whole number of seconds.Integer
JmgSeconds
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FromDateFirst date of the period that the record covers.Date
FromDate
NoNone
OpeningBalanceBalance at the start of the period, stored as a whole number of seconds.Integer
JmgSeconds
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayCostTypePay type of the record. Points to a pay type.String
JmgPayCostType
NoJmgPayTable.PayCostTypeNone
PaySecondsPay units for the period, stored as a whole number of seconds.Integer
JmgSeconds
NoNone
PayStatGroupIdPayroll statistics group the record belongs to.String
JmgPayStatGroupId
NoJmgPayStatGroup.PayStatGroupIdNone
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
ToDateLast date of the period that the record covers.Date
ToDate
NoNone
WorkerThe worker the record belongs to. Points to the worker record ID.Int64
JmgWorkerRecId
NoHcmWorker.RecIdJmgEmployee.WorkerNone

Indexes (3)

Relations (5)

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

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many JmgPayStatTrans records → zero or one HcmWorker record

  • JmgEmployee → JmgEmployee

    Join on Worker = JmgEmployee.Worker

    Many JmgPayStatTrans records → zero or one JmgEmployee record

  • JmgPayStatConfig → JmgPayStatConfig

    Join on PayCostType = JmgPayStatConfig.PayCostType, PayStatGroupId = JmgPayStatConfig.PayStatGroupId

    Many JmgPayStatTrans records → zero or one JmgPayStatConfig record

  • JmgPayStatGroup → JmgPayStatGroup

    Join on PayStatGroupId = JmgPayStatGroup.PayStatGroupId

    Many JmgPayStatTrans records → zero or one JmgPayStatGroup record

  • JmgPayTable → JmgPayTable

    Join on PayCostType = JmgPayTable.PayCostType

    Many JmgPayStatTrans records → zero or one JmgPayTable record

Get this data out

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

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

Email sales@drdynamics.co.uk