Data entity

JmgPayAgreementLineEntity

Lines of pay agreements, identified by system record ID. Each line links to a pay agreement and sets pay type, wage type, factors, rounding, time and date ranges, and filters such as activity, project, absence code, skill or special day.

Entity name
JmgPayAgreementLineEntity
Public entity name
PayAgreementLine
OData collection
PayAgreementLines
Category
Not set
Module
Production control
Read-only
No
Data management enabled
Yes
Configuration key
JmgPayroll
Keys
RecordId
Staging table
JmgPayAgreementLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PayAgreementLines
Dataverse virtual table
mserp_jmgpayagreementlineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • JmgPayAgreementLine · root

Fields (38)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AbsenceIndirectTimeAndAttendanceActivityIdActivity code for absence. Points to the activity record.String
JmgIpcActivityId
NoYesJmgIpcActivity.ActivityJmgPayAgreementLine.AbsenceActivityId
ProjectActivityNumberProject activity the line applies to. Points to the activity record.String (50)
ProjActivityNumber
NoYessmmActivities.ActivityNumberJmgPayAgreementLine.ActivityNumber
WillCancelPaymentYes/No flag that cancels payment for the line.Enum
JmgCancelPay
NoYes

Platform enum: values not in the metadata extract.

NoYesJmgPayAgreementLine.CancelPay
RequiredCertificateTypeCertificate type the line applies to. Points to the certificate type record.String (15)
HcmCertificateTypeId
NoYesHcmCertificateType.CertificateTypeIdJmgPayAgreementLine.CertificateId
SwitchCodeIndirectTimeAndAttendanceActivityIdSwitch code the line applies to. Points to an activity record.String
JmgEventCode
NoYesJmgIpcActivity.ActivityJmgPayAgreementLine.EventCode
PrimaryPayQuantityFactorFactor value used on the line.Real
Factor
NoYesJmgPayAgreementLine.Factor
FromAgreementDateDate from which the line is valid.Date
JmgDate
NoYesJmgPayAgreementLine.FromDate
AbsenceCodeAbsence code the line applies to. Points to the absence code record.String
HrmAbsenceCodeId
NoYesHRMAbsenceCode.hrmAbsenceCodeIdJmgPayAgreementLine.HRMAbsenceCodeId
JobPayRateMethodWhether the line applies to all jobs, hourly rate jobs or piecework rate jobs.Enum
JmgJobPayTypeEnum
  • Empty 0
  • Hours 1
  • PieceRate 2
NoNo (private)JmgPayAgreementLine.JobPayType
MaximumSeniorityUnitUnit, day or month, for the maximum seniority value.Enum
DayMonth
  • Day 0
  • Month 1
NoYesJmgPayAgreementLine.MaxSeniorityInDays
OnCallIndirectTimeAndAttendanceActivityIdActivity code for on-call time. Points to the activity record.String
JmgIpcActivityIdOnCall
NoYesJmgIpcActivity.ActivityJmgPayAgreementLine.OnCallActivity
PayAgreementCodePay agreement this line belongs to. Points to the pay agreement record.String (20)
JmgPayAgreement
NoYesJmgPayAgreementTable.PayAgreementJmgPayAgreementLine.PayAgreement
ConstantPayQuantityFixed constant value used on the line.Real
Constant
NoYesJmgPayAgreementLine.PayConst
PrimaryPayTypeCodePay type used for the line. Points to the pay type record.String
JmgPayCostType
YesYesJmgPayTable.PayCostTypeJmgPayAgreementLine.PayCostType
PayAgreementCountUnitIdCount unit used on the line. Points to the count unit record for the same agreement and wage type.String
JmgPayCountId
NoYesJmgPayCountTable.PayCountIdJmgPayAgreementLine.PayCountId
WageTypeWage type of the line, such as standard time, overtime, break or absence.Enum
JmgPaySpecType
JmgPaySpecTypeEnum
  • WorkTime 0
  • OverTime 1
  • Break 2
  • FlexAdd 3
  • FlexSub 4
  • AddOn 5
  • Absence 6
  • AddOnManual 7
  • PieceRate 8
  • Adjust 9
NoYesJmgPayAgreementLine.PaySpecType
TimeProfileIdTime profile the line applies to. Points to the profile record.String
JmgProfileId
NoYesJmgProfileTable.ProfileJmgPayAgreementLine.ProfileId
ProfileStartCodeShows which day the 24-hour period starts on: this day, next day or previous day.Enum
JmgProfileStartCode
  • Blank 0
  • Next 1
  • Prev 2
NoYesJmgPayAgreementLine.ProfileStartCode
ProjectIdProject the line applies to. Points to the project record.String (20)
ProjId
NoYesProjTable.ProjIdJmgPayAgreementLine.ProjId
RoundOffSecondsRounding value in seconds.Integer
JmgSeconds
NoYesJmgPayAgreementLine.Round
WillRoundOffQuantityBeforeMultiplyingFactorYes/No flag that sets rounding before the factor is applied.Enum
JmgRoundBeforeFactor
NoYes

Platform enum: values not in the metadata extract.

NoYesJmgPayAgreementLine.RoundBeforeFactor
PayQuantityRoundingTypeRounding form: up, down, minimum or normal.Enum
JmgRoundType
JmgRoundTypeEnum
  • RoundUp 0
  • RoundDown 1
  • Minimum 2
  • Normal 3
NoYesJmgPayAgreementLine.RoundType
RouteOperationIdOperation the line applies to. Points to the route operation record.String
RouteOprId
NoYesRouteOprTable.OprIdJmgPayAgreementLine.RouteOprId
SecondaryPayQuantityFactorSecond factor value used on the line.Real
Factor
NoYesJmgPayAgreementLine.SecondaryFactor
SecondaryPayTypeCodeSecond pay type used on the line. Points to the pay type record.String
JmgPayCostType
NoYesJmgPayTable.PayCostTypeJmgPayAgreementLine.SecondaryPayCostType
MinimumSeniorityUnitUnit, day or month, for the seniority values.Enum
DayMonth
  • Day 0
  • Month 1
NoYesJmgPayAgreementLine.SeniorityInDays
MaximumSeniorityUpper limit of seniority for the line.Integer
Days
NoYesJmgPayAgreementLine.SeniorityMax
MinimumSeniorityLower limit of seniority for the line.Integer
Days
NoYesJmgPayAgreementLine.SeniorityMin
RequiredSkillIdSkill the line applies to. Points to the skill record.String (15)
HcmSkillId
NoYesHcmSkill.SkillIdJmgPayAgreementLine.SkillId
PayAgreementExceptionIdSpecial day the line applies to. Points to the special day record.String
JmgSpecialDayId
NoYesJmgSpecialDayTable.SpecialDayIdJmgPayAgreementLine.SpecialDayId
FromAgreementTimeStart time of the time range for the line.Time
JmgTime
NoYesJmgPayAgreementLine.TimeFrom
RecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesJmgPayAgreementLine.RecId
IsInvertedSignYes/No flag that inverts the sign of the value.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesJmgPayAgreementLine.ReverseSign
ToAgreementTimeEnd time of the time range for the line.Time
JmgTime
NoYesJmgPayAgreementLine.TimeTo
ToAgreementDateDate until which the line is valid.Date
JmgDate
NoYesJmgPayAgreementLine.ToDate
IsPayQuantityFixedYes/No flag that selects a fixed quantity for the line.Enum
JmgUseConstantPay
NoYes

Platform enum: values not in the metadata extract.

NoYesJmgPayAgreementLine.UseConstantPay
IsPaidTimeRequiredIndicates whether paid time is required for the line, judging by the name only.low confidenceStringNoYescomputed
WeekDayDay of the week the line applies to, or a special day.Enum
JmgDayId
JmgDayIdEnum
  • Monday 0
  • Tuesday 1
  • Wednesday 2
  • Thursday 3
  • Friday 4
  • Saturday 5
  • Sunday 6
  • Special 7
NoYesJmgPayAgreementLine.DayId

Foreign keys (15)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • AbsenceIndirectTimeAndAttendanceActivityId → JmgIpcActivity.Activity (key of JmgIpcActivity)

    Relation also requires JmgIpcActivity.SignInOut = JmgSignInOut::SysIndirect, JmgIpcActivity.BreakDrop = JmgBreakDropEnum::No, JmgIpcActivity.SignInOut = JmgSignInOut::Job, JmgIpcActivity.Type = JmgStampTypeEnum::Break, JmgIpcActivity.Type = JmgStampTypeEnum::Work.

    Many JmgPayAgreementLine records → zero or one JmgIpcActivity record

    Not exposed by a public entity.

  • ProjectActivityNumber → smmActivities.ActivityNumber (key of smmActivities)

    Many JmgPayAgreementLine records → zero or one smmActivities record

    smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity

  • RequiredCertificateType → HcmCertificateType.CertificateTypeId (key of HcmCertificateType)

    Many JmgPayAgreementLine records → zero or one HcmCertificateType record

    HcmCertificateType details: see HcmCertificateTypeDualWriteEntity, HcmCertificateTypeEntity, HcmApplicantCertificateEntity

  • SwitchCodeIndirectTimeAndAttendanceActivityId → JmgIpcActivity.Activity (key of JmgIpcActivity)

    Relation also requires JmgIpcActivity.Type = JmgStampTypeEnum::EventCode.

    Many JmgPayAgreementLine records → zero or one JmgIpcActivity record

    Not exposed by a public entity.

  • AbsenceCode → HRMAbsenceCode.hrmAbsenceCodeId (key of HRMAbsenceCode)

    Many JmgPayAgreementLine records → zero or one HRMAbsenceCode record

    HRMAbsenceCode details: see HcmAbsenceCodeEntity

  • OnCallIndirectTimeAndAttendanceActivityId → JmgIpcActivity.Activity (key of JmgIpcActivity)

    Relation also requires JmgIpcActivity.Type = JmgStampTypeEnum::OnCall.

    Many JmgPayAgreementLine records → zero or one JmgIpcActivity record

    Not exposed by a public entity.

  • PayAgreementCode → JmgPayAgreementTable.PayAgreement (key of JmgPayAgreementTable)

    Many JmgPayAgreementLine records → zero or one JmgPayAgreementTable record

    JmgPayAgreementTable details: see JmgPayAgreementEntity

  • PrimaryPayTypeCode → JmgPayTable.PayCostType (key of JmgPayTable)

    Many JmgPayAgreementLine records → exactly one JmgPayTable record

    Not exposed by a public entity.

  • PayAgreementCountUnitId → JmgPayCountTable.PayCountId (key of JmgPayCountTable)

    Join on all of: PayAgreementCountUnitId = JmgPayCountTable.PayCountId, PayAgreementCode = JmgPayCountTable.PayAgreement, WageType = JmgPayCountTable.PaySpecType

    Many JmgPayAgreementLine records → zero or one JmgPayCountTable record

    Not exposed by a public entity.

  • TimeProfileId → JmgProfileTable.Profile (key of JmgProfileTable)

    Many JmgPayAgreementLine records → zero or one JmgProfileTable record

    JmgProfileTable details: see JmgTimeAndAttendanceTimeProfileEntity

  • ProjectId → ProjTable.ProjId (key of ProjTable)

    Many JmgPayAgreementLine records → zero or one ProjTable record

    ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity

  • RouteOperationId → RouteOprTable.OprId (key of RouteOprTable)

    Many JmgPayAgreementLine records → zero or one RouteOprTable record

    RouteOprTable details: see RouteOperationEntity

  • SecondaryPayTypeCode → JmgPayTable.PayCostType (key of JmgPayTable)

    Many JmgPayAgreementLine records → zero or one JmgPayTable record

    Not exposed by a public entity.

  • RequiredSkillId → HcmSkill.SkillId (key of HcmSkill)

    Many JmgPayAgreementLine records → zero or one HcmSkill record

    HcmSkill details: see HcmSkillDualWriteEntity, HcmSkillEntity, HcmRecruitingRequestSkillEntity

  • PayAgreementExceptionId → JmgSpecialDayTable.SpecialDayId (key of JmgSpecialDayTable)

    Many JmgPayAgreementLine records → zero or one JmgSpecialDayTable record

    Not exposed by a public entity.

Need help with JmgPayAgreementLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk