Table
JmgPieceRateTable
Piecework
Lists piecework records, each identified by a piecework ID. Each has a rate, a minimum pay type, a closed flag and a setting for who it applies to. It can link to a piecework group.
- Table name
JmgPieceRateTable- Module
Production control- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
JmgPayroll- Primary index
PieceRateIdx- Replacement key
None- Key fields
PieceRateId- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PieceRateIdUnique ID of the piecework record. | StringJmgPieceRateId | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text describing the piecework record. | String (60)Description | No | None | |
EmplGroupSets who the piecework applies to. Values are Table, Group or All. | EnumJmgEmplIdGroupId (enum) | No | None | |
EmplIDGroupIdThe piecework group that the record links to. | String (20)JmgPieceRateGroupId | No | JmgPieceRateGroup.GroupId | None |
LockedYes/No flag that shows whether the piecework is closed. | EnumLockedNoYes (enum) | No | None | |
MinPayCostTypePay type linked to the piecework, as given by the minimum pay type field name. | StringJmgPayCostType | No | JmgPayTable.PayCostType | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceRate set for the piecework. The currency is not stated in the metadata. | RealPrice | 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 (1)
PieceRateIdxPrimary indexUnique, alternate key.
Relations (2)
Each relation joins JmgPieceRateTable to another table on the fields shown.
JmgPayTable→JmgPayTableJoin on
MinPayCostType = JmgPayTable.PayCostTypeMany JmgPieceRateTable records → zero or one JmgPayTable record
PriceRateGroup→JmgPieceRateGroupJoin on
EmplGroup = JmgEmplIdGroupId::GroupId,EmplIDGroupId = JmgPieceRateGroup.GroupIdMany JmgPieceRateTable records → zero or one JmgPieceRateGroup record
Get this data out
No public entity reads from JmgPieceRateTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with JmgPieceRateTable in a report, an integration or a migration? Talk to Dr Dynamics.