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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PieceRateIdUnique ID of the piecework record.String
JmgPieceRateId
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text describing the piecework record.String (60)
Description
NoNone
EmplGroupSets who the piecework applies to. Values are Table, Group or All.Enum
JmgEmplIdGroupId (enum)
NoNone
EmplIDGroupIdThe piecework group that the record links to.String (20)
JmgPieceRateGroupId
NoJmgPieceRateGroup.GroupIdNone
LockedYes/No flag that shows whether the piecework is closed.Enum
Locked
NoYes (enum)
NoNone
MinPayCostTypePay type linked to the piecework, as given by the minimum pay type field name.String
JmgPayCostType
NoJmgPayTable.PayCostTypeNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceRate set for the piecework. The currency is not stated in the metadata.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)

  • PieceRateIdxPrimary index

    PieceRateId

    Unique, alternate key.

Relations (2)

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

  • JmgPayTable → JmgPayTable

    Join on MinPayCostType = JmgPayTable.PayCostType

    Many JmgPieceRateTable records → zero or one JmgPayTable record

  • PriceRateGroup → JmgPieceRateGroup

    Join on EmplGroup = JmgEmplIdGroupId::GroupId, EmplIDGroupId = JmgPieceRateGroup.GroupId

    Many 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.

Email sales@drdynamics.co.uk