Table

JmgPayAgreementLine

Pay agreement lines

Holds the lines of a pay agreement. Each line sets conditions, such as day, time range, seniority, skill or project, and settings such as pay type, factor and rounding. It links to the pay agreement header and to many reference tables, such as absence codes, activities and special days.

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

Fields (46)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AbsenceActivityIdActivity code for absence. Points to the activity record.String
JmgIpcActivityId
NoJmgIpcActivity.ActivityJmgPayAgreementLineEntity
ActivityNumberProject activity the line applies to. Points to the activity record.String (50)
ProjActivityNumber
NosmmActivities.ActivityNumberJmgPayAgreementLineEntity
CancelPayYes/No flag that cancels payment for the line.Enum
JmgCancelPay
NoYes (enum)
NoJmgPayAgreementLineEntity
CertificateIdCertificate type the line applies to. Points to the certificate type record.String (15)
HcmCertificateTypeId
NoHcmCertificateType.CertificateTypeIdJmgPayAgreementLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DayIdDay of the week the line applies to, or a special day.Enum
JmgDayId
JmgDayIdEnum (enum)
NoJmgPayAgreementLineEntity
EventCodeSwitch code the line applies to. Points to an activity record.String
JmgEventCode
NoJmgIpcActivity.ActivityJmgPayAgreementLineEntity
FactorFactor value used on the line.Real
Factor
NoJmgPayAgreementLineEntity
ForcePayYes/No flag that states that no paid time is required for the line.Enum
JmgForcePay
NoYes (enum)
NoNone
FromDateDate from which the line is valid.Date
JmgDate
NoJmgPayAgreementLineEntity
HRMAbsenceCodeIdAbsence code the line applies to. Points to the absence code record.String
HrmAbsenceCodeId
NoHRMAbsenceCode.hrmAbsenceCodeIdJmgPayAgreementLineEntity
JobPayTypeWhether the line applies to all jobs, hourly rate jobs or piecework rate jobs.Enum
JmgJobPayTypeEnum (enum)
NoJmgPayAgreementLineEntity
MaxSeniorityInDaysUnit, day or month, for the maximum seniority value.Enum
DayMonth (enum)
NoJmgPayAgreementLineEntity
OnCallActivityActivity code for on-call time. Points to the activity record.String
JmgIpcActivityIdOnCall
NoJmgIpcActivity.ActivityJmgPayAgreementLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayAgreementPay agreement this line belongs to. Points to the pay agreement record.String (20)
JmgPayAgreement
NoJmgPayAgreementTable.PayAgreementJmgPayAgreementLineEntity
PayConstFixed constant value used on the line.Real
Constant
NoJmgPayAgreementLineEntity
PayCostTypePay type used for the line. Points to the pay type record.String
JmgPayCostType
YesJmgPayTable.PayCostTypeJmgPayAgreementLineEntity
PayCountIdCount unit used on the line. Points to the count unit record for the same agreement and wage type.String
JmgPayCountId
NoJmgPayCountTable.PayCountIdJmgPayAgreementLineEntity
PaySpecTypeWage type of the line, such as standard time, overtime, break or absence.Enum
JmgPaySpecType
JmgPaySpecTypeEnum (enum)
NoJmgPayCountTable.PaySpecTypeJmgPayAgreementLineEntity
ProfileIdTime profile the line applies to. Points to the profile record.String
JmgProfileId
NoJmgProfileTable.ProfileJmgPayAgreementLineEntity
ProfileStartCodeShows which day the 24-hour period starts on: this day, next day or previous day.Enum
JmgProfileStartCode (enum)
NoJmgPayAgreementLineEntity
ProfileTypeProfile type the line applies to. Points to the profile type record by system record ID.Int64
JmgProfileTypeRecId
NoJmgProfileTypeTable.RecIdNone
ProjIdProject the line applies to. Points to the project record.String (20)
ProjId
NoProjTable.ProjIdJmgPayAgreementLineEntity
RatingLevelRating level the line applies to. Points to the level record by system record ID.Int64
HcmRatingLevelRecId
NoHcmRatingLevel.RecIdNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoJmgPayAgreementLineEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReverseSignYes/No flag that inverts the sign of the value.Enum
NoYesId
NoYes (enum)
NoJmgPayAgreementLineEntity
RoundRounding value in seconds.Integer
JmgSeconds
NoJmgPayAgreementLineEntity
RoundBeforeFactorYes/No flag that sets rounding before the factor is applied.Enum
JmgRoundBeforeFactor
NoYes (enum)
NoJmgPayAgreementLineEntity
RoundTypeRounding form: up, down, minimum or normal.Enum
JmgRoundType
JmgRoundTypeEnum (enum)
NoJmgPayAgreementLineEntity
RouteOprIdOperation the line applies to. Points to the route operation record.String
RouteOprId
NoRouteOprTable.OprIdJmgPayAgreementLineEntity
SecondaryFactorSecond factor value used on the line.Real
Factor
NoJmgPayAgreementLineEntity
SecondaryPayCostTypeSecond pay type used on the line. Points to the pay type record.String
JmgPayCostType
NoJmgPayTable.PayCostTypeJmgPayAgreementLineEntity
SeniorityInDaysUnit, day or month, for the seniority values.Enum
DayMonth (enum)
NoJmgPayAgreementLineEntity
SeniorityMaxUpper limit of seniority for the line.Integer
Days
NoJmgPayAgreementLineEntity
SeniorityMinLower limit of seniority for the line.Integer
Days
NoJmgPayAgreementLineEntity
SkillIdSkill the line applies to. Points to the skill record.String (15)
HcmSkillId
NoHcmSkill.SkillIdJmgPayAgreementLineEntity
SpecialDayIdSpecial day the line applies to. Points to the special day record.String
JmgSpecialDayId
NoJmgSpecialDayTable.SpecialDayIdJmgPayAgreementLineEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TimeFromStart time of the time range for the line.Time
JmgTime
NoJmgPayAgreementLineEntity
TimeMaxUpper time limit in seconds.Integer
JmgSeconds
NoNone
TimeMinLower time limit in seconds.Integer
JmgSeconds
NoNone
TimeToEnd time of the time range for the line.Time
JmgTime
NoJmgPayAgreementLineEntity
ToDateDate until which the line is valid.Date
JmgDate
NoJmgPayAgreementLineEntity
UseConstantPayYes/No flag that selects a fixed quantity for the line.Enum
JmgUseConstantPay
NoYes (enum)
NoJmgPayAgreementLineEntity

Indexes (6)

Relations (17)

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

  • HcmCertificateType → HcmCertificateType

    Join on CertificateId = HcmCertificateType.CertificateTypeId

    Many JmgPayAgreementLine records → zero or one HcmCertificateType record

  • HcmRatingLevel → HcmRatingLevel

    Join on RatingLevel = HcmRatingLevel.RecId

    Many JmgPayAgreementLine records → zero or one HcmRatingLevel record

  • HcmSkill → HcmSkill

    Join on SkillId = HcmSkill.SkillId

    Many JmgPayAgreementLine records → zero or one HcmSkill record

  • HRMAbsenceCode → HRMAbsenceCode

    Join on HRMAbsenceCodeId = HRMAbsenceCode.hrmAbsenceCodeId

    Many JmgPayAgreementLine records → zero or one HRMAbsenceCode record

  • JmgIpcActivity → JmgIpcActivity

    Join on JmgIpcActivity.SignInOut = JmgSignInOut::SysIndirect, JmgIpcActivity.BreakDrop = JmgBreakDropEnum::No, JmgIpcActivity.SignInOut = JmgSignInOut::Job, JmgIpcActivity.Type = JmgStampTypeEnum::Break, JmgIpcActivity.Type = JmgStampTypeEnum::Work, AbsenceActivityId = JmgIpcActivity.Activity

    Many JmgPayAgreementLine records → zero or one JmgIpcActivity record

  • JmgPayAgreementTable → JmgPayAgreementTable

    Join on PayAgreement = JmgPayAgreementTable.PayAgreement

    Many JmgPayAgreementLine records → zero or one JmgPayAgreementTable record

  • JmgPayCountTable → JmgPayCountTable

    Join on PayAgreement = JmgPayCountTable.PayAgreement, PaySpecType = JmgPayCountTable.PaySpecType, PayCountId = JmgPayCountTable.PayCountId

    Many JmgPayAgreementLine records → zero or one JmgPayCountTable record

  • JmgProfileTable → JmgProfileTable

    Join on ProfileId = JmgProfileTable.Profile

    Many JmgPayAgreementLine records → zero or one JmgProfileTable record

  • JmgProfileTypeTable → JmgProfileTypeTable

    Join on ProfileType = JmgProfileTypeTable.RecId

    Many JmgPayAgreementLine records → zero or one JmgProfileTypeTable record

  • JmgSpecialDayTable → JmgSpecialDayTable

    Join on SpecialDayId = JmgSpecialDayTable.SpecialDayId

    Many JmgPayAgreementLine records → zero or one JmgSpecialDayTable record

  • OnCallJmgIpcActivity → JmgIpcActivity

    Join on OnCallActivity = JmgIpcActivity.Activity, JmgIpcActivity.Type = JmgStampTypeEnum::OnCall

    Many JmgPayAgreementLine records → zero or one JmgIpcActivity record

  • PayType → JmgPayTable

    Join on PayCostType = JmgPayTable.PayCostType

    Many JmgPayAgreementLine records → exactly one JmgPayTable record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many JmgPayAgreementLine records → zero or one ProjTable record

  • RouteOprTable → RouteOprTable

    Join on RouteOprId = RouteOprTable.OprId

    Many JmgPayAgreementLine records → zero or one RouteOprTable record

  • SecondaryPayType → JmgPayTable

    Join on SecondaryPayCostType = JmgPayTable.PayCostType

    Many JmgPayAgreementLine records → zero or one JmgPayTable record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many JmgPayAgreementLine records → zero or one smmActivities record

  • SwitchJmgIpcActivity → JmgIpcActivity

    Join on EventCode = JmgIpcActivity.Activity, JmgIpcActivity.Type = JmgStampTypeEnum::EventCode

    Many JmgPayAgreementLine records → zero or one JmgIpcActivity record

Get this data out

Tables are not exposed directly. These public entities read from JmgPayAgreementLine; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk