Table

EntAssetMaintenancePlanLine

Maintenance plan activities

Holds the activity lines of a maintenance plan. The key is the plan plus a line number. Each line gives a job type, trade, variant, work order type, service level and a repeat interval.

Table name
EntAssetMaintenancePlanLine
Module
Asset management
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
EntAsset
Primary index
None
Replacement key
MaintenancePlanLineNumIdx
Key fields
MaintenancePlan, LineNumber
Model
EnterpriseAssetManagementAppSuite

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
MaintenancePlanPoints to the maintenance plan that owns the line.Int64
RefRecId
YesEntAssetMaintenancePlan.RecIdEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
LineNumberNumber that orders the line within the plan.Real
LineNumber
NoEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenanceAssetCalendarEntityEntAssetMaintenancePlanLineTypeCounterEntityand 1 more
ActivityIntervalNumber of period units between repeats of the activity.Integer
EntAssetMaintenancePlanInterval
YesEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
ActivityIntervalTypeHow the interval is applied, such as repeated or once, and from which date or counter.Enum
EntAssetMaintenancePlanLineIntervalType (enum)
NoEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeTimeEntity
AutoCreateYes/no flag for creating a work order automatically from the schedule.Enum
EntAssetMaintenancePlanAutoCreate
NoYes (enum)
NoEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionDescription used for the work order.String (60)
Description
NoEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
ExpectedEndDaysNumber of days allowed from expected start to expected end.Integer
EntAssetMaintenancePlanExpectedEndDays
NoEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
ExpectedEndHoursNumber of hours allowed from expected start to expected end.Real
EntAssetMaintenancePlanExpectedEndHours
NoEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
InstanceRelationTypePurpose not clear from the metadata.low confidenceInt64
RelationType
NoNone
JobTradePoints to the trade for the activity.Int64
EntAssetJobTradeRecID
NoEntAssetJobTrade.RecIdEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
JobTypePoints to the maintenance job type for the activity.Int64
EntAssetJobTypeRecID
YesEntAssetJobType.RecIdEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
JobVariantPoints to the job type variant for the activity.Int64
EntAssetJobVariantRecID
NoEntAssetJobVariant.RecIdEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
ServiceLevelService level given to the work order.Integer
EntAssetServiceLevel
NoEntAssetWorkOrderServiceLevel.ServiceLevelEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
SuppressOverlappingJobsYes/no flag to skip the next line when it falls inside the tolerance date range.Enum
EntAssetOmitOverlap
NoYes (enum)
NoEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkOrderTypePoints to the work order type for the activity.Int64
EntAssetWorkOrderTypeRecId
NoEntAssetWorkOrderType.RecIdEntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity

Indexes (2)

Relations (6)

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

  • JobTrade → EntAssetJobTrade

    Join on JobTrade = EntAssetJobTrade.RecId

    Many EntAssetMaintenancePlanLine records → zero or one EntAssetJobTrade record

  • JobType → EntAssetJobType

    Join on JobType = EntAssetJobType.RecId

    Many EntAssetMaintenancePlanLine records → exactly one EntAssetJobType record

  • JobVariant → EntAssetJobVariant

    Join on JobVariant = EntAssetJobVariant.RecId

    Many EntAssetMaintenancePlanLine records → zero or one EntAssetJobVariant record

  • MaintenancePlan → EntAssetMaintenancePlan

    Join on MaintenancePlan = EntAssetMaintenancePlan.RecId

    Many EntAssetMaintenancePlanLine records → exactly one EntAssetMaintenancePlan record

  • WorkOrderServiceLevel → EntAssetWorkOrderServiceLevel

    Join on ServiceLevel = EntAssetWorkOrderServiceLevel.ServiceLevel

    Many EntAssetMaintenancePlanLine records → zero or one EntAssetWorkOrderServiceLevel record

  • WorkOrderType → EntAssetWorkOrderType

    Join on WorkOrderType = EntAssetWorkOrderType.RecId

    Many EntAssetMaintenancePlanLine records → zero or one EntAssetWorkOrderType record

Get this data out

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

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

Email sales@drdynamics.co.uk