Table

JmgPieceRateLine

Piecework productions

Holds production lines recorded against a piecework record. Each line has a production order, operation number, job, quantity, seconds and rate. The table has no defined key.

Table name
JmgPieceRateLine
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 (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
JobIdID of the job that the line relates to.String (20)
JmgJobId
NoNone
OprNumNumber of the operation on the production order.Integer
OprNum
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PieceRateIdThe piecework record that the line belongs to.String
JmgPieceRateId
YesJmgPieceRateTable.PieceRateIdNone
PriceRate for the line. The currency is not stated in the metadata.Real
Price
NoNone
ProdIdThe production order that the line relates to.String (20)
ProdId
NoProdTable.ProdIdNone
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
TotalQtyTotal quantity produced on the line.Real
ProdQty
NoNone
TotalSecondsTotal time on the line, in seconds.Integer
JmgSeconds
NoNone

Indexes (1)

Relations (2)

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

  • JmgPieceRateTable → JmgPieceRateTable

    Join on PieceRateId = JmgPieceRateTable.PieceRateId

    Many JmgPieceRateLine records → exactly one JmgPieceRateTable record

  • ProdTable → ProdTable

    Join on ProdId = ProdTable.ProdId

    Many JmgPieceRateLine records → zero or one ProdTable record

Get this data out

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

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

Email sales@drdynamics.co.uk