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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AbsenceActivityIdActivity code for absence. Points to the activity record. | StringJmgIpcActivityId | No | JmgIpcActivity.Activity | JmgPayAgreementLineEntity |
ActivityNumberProject activity the line applies to. Points to the activity record. | String (50)ProjActivityNumber | No | smmActivities.ActivityNumber | JmgPayAgreementLineEntity |
CancelPayYes/No flag that cancels payment for the line. | EnumJmgCancelPayNoYes (enum) | No | JmgPayAgreementLineEntity | |
CertificateIdCertificate type the line applies to. Points to the certificate type record. | String (15)HcmCertificateTypeId | No | HcmCertificateType.CertificateTypeId | JmgPayAgreementLineEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DayIdDay of the week the line applies to, or a special day. | EnumJmgDayIdJmgDayIdEnum (enum) | No | JmgPayAgreementLineEntity | |
EventCodeSwitch code the line applies to. Points to an activity record. | StringJmgEventCode | No | JmgIpcActivity.Activity | JmgPayAgreementLineEntity |
FactorFactor value used on the line. | RealFactor | No | JmgPayAgreementLineEntity | |
ForcePayYes/No flag that states that no paid time is required for the line. | EnumJmgForcePayNoYes (enum) | No | None | |
FromDateDate from which the line is valid. | DateJmgDate | No | JmgPayAgreementLineEntity | |
HRMAbsenceCodeIdAbsence code the line applies to. Points to the absence code record. | StringHrmAbsenceCodeId | No | HRMAbsenceCode.hrmAbsenceCodeId | JmgPayAgreementLineEntity |
JobPayTypeWhether the line applies to all jobs, hourly rate jobs or piecework rate jobs. | EnumJmgJobPayTypeEnum (enum) | No | JmgPayAgreementLineEntity | |
MaxSeniorityInDaysUnit, day or month, for the maximum seniority value. | EnumDayMonth (enum) | No | JmgPayAgreementLineEntity | |
OnCallActivityActivity code for on-call time. Points to the activity record. | StringJmgIpcActivityIdOnCall | No | JmgIpcActivity.Activity | JmgPayAgreementLineEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayAgreementPay agreement this line belongs to. Points to the pay agreement record. | String (20)JmgPayAgreement | No | JmgPayAgreementTable.PayAgreement | JmgPayAgreementLineEntity |
PayConstFixed constant value used on the line. | RealConstant | No | JmgPayAgreementLineEntity | |
PayCostTypePay type used for the line. Points to the pay type record. | StringJmgPayCostType | Yes | JmgPayTable.PayCostType | JmgPayAgreementLineEntity |
PayCountIdCount unit used on the line. Points to the count unit record for the same agreement and wage type. | StringJmgPayCountId | No | JmgPayCountTable.PayCountId | JmgPayAgreementLineEntity |
PaySpecTypeWage type of the line, such as standard time, overtime, break or absence. | EnumJmgPaySpecTypeJmgPaySpecTypeEnum (enum) | No | JmgPayCountTable.PaySpecType | JmgPayAgreementLineEntity |
ProfileIdTime profile the line applies to. Points to the profile record. | StringJmgProfileId | No | JmgProfileTable.Profile | JmgPayAgreementLineEntity |
ProfileStartCodeShows which day the 24-hour period starts on: this day, next day or previous day. | EnumJmgProfileStartCode (enum) | No | JmgPayAgreementLineEntity | |
ProfileTypeProfile type the line applies to. Points to the profile type record by system record ID. | Int64JmgProfileTypeRecId | No | JmgProfileTypeTable.RecId | None |
ProjIdProject the line applies to. Points to the project record. | String (20)ProjId | No | ProjTable.ProjId | JmgPayAgreementLineEntity |
RatingLevelRating level the line applies to. Points to the level record by system record ID. | Int64HcmRatingLevelRecId | No | HcmRatingLevel.RecId | 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 | JmgPayAgreementLineEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReverseSignYes/No flag that inverts the sign of the value. | EnumNoYesIdNoYes (enum) | No | JmgPayAgreementLineEntity | |
RoundRounding value in seconds. | IntegerJmgSeconds | No | JmgPayAgreementLineEntity | |
RoundBeforeFactorYes/No flag that sets rounding before the factor is applied. | EnumJmgRoundBeforeFactorNoYes (enum) | No | JmgPayAgreementLineEntity | |
RoundTypeRounding form: up, down, minimum or normal. | EnumJmgRoundTypeJmgRoundTypeEnum (enum) | No | JmgPayAgreementLineEntity | |
RouteOprIdOperation the line applies to. Points to the route operation record. | StringRouteOprId | No | RouteOprTable.OprId | JmgPayAgreementLineEntity |
SecondaryFactorSecond factor value used on the line. | RealFactor | No | JmgPayAgreementLineEntity | |
SecondaryPayCostTypeSecond pay type used on the line. Points to the pay type record. | StringJmgPayCostType | No | JmgPayTable.PayCostType | JmgPayAgreementLineEntity |
SeniorityInDaysUnit, day or month, for the seniority values. | EnumDayMonth (enum) | No | JmgPayAgreementLineEntity | |
SeniorityMaxUpper limit of seniority for the line. | IntegerDays | No | JmgPayAgreementLineEntity | |
SeniorityMinLower limit of seniority for the line. | IntegerDays | No | JmgPayAgreementLineEntity | |
SkillIdSkill the line applies to. Points to the skill record. | String (15)HcmSkillId | No | HcmSkill.SkillId | JmgPayAgreementLineEntity |
SpecialDayIdSpecial day the line applies to. Points to the special day record. | StringJmgSpecialDayId | No | JmgSpecialDayTable.SpecialDayId | JmgPayAgreementLineEntity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TimeFromStart time of the time range for the line. | TimeJmgTime | No | JmgPayAgreementLineEntity | |
TimeMaxUpper time limit in seconds. | IntegerJmgSeconds | No | None | |
TimeMinLower time limit in seconds. | IntegerJmgSeconds | No | None | |
TimeToEnd time of the time range for the line. | TimeJmgTime | No | JmgPayAgreementLineEntity | |
ToDateDate until which the line is valid. | DateJmgDate | No | JmgPayAgreementLineEntity | |
UseConstantPayYes/No flag that selects a fixed quantity for the line. | EnumJmgUseConstantPayNoYes (enum) | No | JmgPayAgreementLineEntity |
Indexes (6)
JmgProfileTypeTableIdxNot unique.
AgreementIdxNot unique.
PayCountIdxPayCountId,PayAgreement,PaySpecType,DayIdNot unique.
HcmRatingLevelIdxNot unique.
HcmSkillIdxNot unique.
HcmCertificateTypeIdxNot unique.
Relations (17)
Each relation joins JmgPayAgreementLine to another table on the fields shown.
HcmCertificateType→HcmCertificateTypeJoin on
CertificateId = HcmCertificateType.CertificateTypeIdMany JmgPayAgreementLine records → zero or one HcmCertificateType record
HcmRatingLevel→HcmRatingLevelJoin on
RatingLevel = HcmRatingLevel.RecIdMany JmgPayAgreementLine records → zero or one HcmRatingLevel record
HcmSkill→HcmSkillJoin on
SkillId = HcmSkill.SkillIdMany JmgPayAgreementLine records → zero or one HcmSkill record
HRMAbsenceCode→HRMAbsenceCodeJoin on
HRMAbsenceCodeId = HRMAbsenceCode.hrmAbsenceCodeIdMany JmgPayAgreementLine records → zero or one HRMAbsenceCode record
JmgIpcActivity→JmgIpcActivityJoin on
JmgIpcActivity.SignInOut = JmgSignInOut::SysIndirect,JmgIpcActivity.BreakDrop = JmgBreakDropEnum::No,JmgIpcActivity.SignInOut = JmgSignInOut::Job,JmgIpcActivity.Type = JmgStampTypeEnum::Break,JmgIpcActivity.Type = JmgStampTypeEnum::Work,AbsenceActivityId = JmgIpcActivity.ActivityMany JmgPayAgreementLine records → zero or one JmgIpcActivity record
JmgPayAgreementTable→JmgPayAgreementTableJoin on
PayAgreement = JmgPayAgreementTable.PayAgreementMany JmgPayAgreementLine records → zero or one JmgPayAgreementTable record
JmgPayCountTable→JmgPayCountTableJoin on
PayAgreement = JmgPayCountTable.PayAgreement,PaySpecType = JmgPayCountTable.PaySpecType,PayCountId = JmgPayCountTable.PayCountIdMany JmgPayAgreementLine records → zero or one JmgPayCountTable record
JmgProfileTable→JmgProfileTableJoin on
ProfileId = JmgProfileTable.ProfileMany JmgPayAgreementLine records → zero or one JmgProfileTable record
JmgProfileTypeTable→JmgProfileTypeTableJoin on
ProfileType = JmgProfileTypeTable.RecIdMany JmgPayAgreementLine records → zero or one JmgProfileTypeTable record
JmgSpecialDayTable→JmgSpecialDayTableJoin on
SpecialDayId = JmgSpecialDayTable.SpecialDayIdMany JmgPayAgreementLine records → zero or one JmgSpecialDayTable record
OnCallJmgIpcActivity→JmgIpcActivityJoin on
OnCallActivity = JmgIpcActivity.Activity,JmgIpcActivity.Type = JmgStampTypeEnum::OnCallMany JmgPayAgreementLine records → zero or one JmgIpcActivity record
PayType→JmgPayTableJoin on
PayCostType = JmgPayTable.PayCostTypeMany JmgPayAgreementLine records → exactly one JmgPayTable record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany JmgPayAgreementLine records → zero or one ProjTable record
RouteOprTable→RouteOprTableJoin on
RouteOprId = RouteOprTable.OprIdMany JmgPayAgreementLine records → zero or one RouteOprTable record
SecondaryPayType→JmgPayTableJoin on
SecondaryPayCostType = JmgPayTable.PayCostTypeMany JmgPayAgreementLine records → zero or one JmgPayTable record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany JmgPayAgreementLine records → zero or one smmActivities record
SwitchJmgIpcActivity→JmgIpcActivityJoin on
EventCode = JmgIpcActivity.Activity,JmgIpcActivity.Type = JmgStampTypeEnum::EventCodeMany 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.
JmgPayAgreementLineEntity· 37 fields from this table
Need help with JmgPayAgreementLine in a report, an integration or a migration? Talk to Dr Dynamics.