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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
MaintenancePlanPoints to the maintenance plan that owns the line. | Int64RefRecId | Yes | EntAssetMaintenancePlan.RecId | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity |
LineNumberNumber that orders the line within the plan. | RealLineNumber | No | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenanceAssetCalendarEntityEntAssetMaintenancePlanLineTypeCounterEntityand 1 more | |
ActivityIntervalNumber of period units between repeats of the activity. | IntegerEntAssetMaintenancePlanInterval | Yes | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity | |
ActivityIntervalTypeHow the interval is applied, such as repeated or once, and from which date or counter. | EnumEntAssetMaintenancePlanLineIntervalType (enum) | No | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeTimeEntity | |
AutoCreateYes/no flag for creating a work order automatically from the schedule. | EnumEntAssetMaintenancePlanAutoCreateNoYes (enum) | No | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionDescription used for the work order. | String (60)Description | No | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity | |
ExpectedEndDaysNumber of days allowed from expected start to expected end. | IntegerEntAssetMaintenancePlanExpectedEndDays | No | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity | |
ExpectedEndHoursNumber of hours allowed from expected start to expected end. | RealEntAssetMaintenancePlanExpectedEndHours | No | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity | |
InstanceRelationTypePurpose not clear from the metadata.low confidence | Int64RelationType | No | None | |
JobTradePoints to the trade for the activity. | Int64EntAssetJobTradeRecID | No | EntAssetJobTrade.RecId | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity |
JobTypePoints to the maintenance job type for the activity. | Int64EntAssetJobTypeRecID | Yes | EntAssetJobType.RecId | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity |
JobVariantPoints to the job type variant for the activity. | Int64EntAssetJobVariantRecID | No | EntAssetJobVariant.RecId | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ServiceLevelService level given to the work order. | IntegerEntAssetServiceLevel | No | EntAssetWorkOrderServiceLevel.ServiceLevel | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity |
SuppressOverlappingJobsYes/no flag to skip the next line when it falls inside the tolerance date range. | EnumEntAssetOmitOverlapNoYes (enum) | No | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkOrderTypePoints to the work order type for the activity. | Int64EntAssetWorkOrderTypeRecId | No | EntAssetWorkOrderType.RecId | EntAssetMaintenancePlanLineTypeCounterV2EntityEntAssetMaintenancePlanLineTypeCounterEntityEntAssetMaintenancePlanLineTypeTimeEntity |
Indexes (2)
MaintenancePlanLineNumIdxReplacement keyUnique, alternate key.
JobTypeIdxNot unique.
Relations (6)
Each relation joins EntAssetMaintenancePlanLine to another table on the fields shown.
JobTrade→EntAssetJobTradeJoin on
JobTrade = EntAssetJobTrade.RecIdMany EntAssetMaintenancePlanLine records → zero or one EntAssetJobTrade record
JobType→EntAssetJobTypeJoin on
JobType = EntAssetJobType.RecIdMany EntAssetMaintenancePlanLine records → exactly one EntAssetJobType record
JobVariant→EntAssetJobVariantJoin on
JobVariant = EntAssetJobVariant.RecIdMany EntAssetMaintenancePlanLine records → zero or one EntAssetJobVariant record
MaintenancePlan→EntAssetMaintenancePlanJoin on
MaintenancePlan = EntAssetMaintenancePlan.RecIdMany EntAssetMaintenancePlanLine records → exactly one EntAssetMaintenancePlan record
WorkOrderServiceLevel→EntAssetWorkOrderServiceLevelJoin on
ServiceLevel = EntAssetWorkOrderServiceLevel.ServiceLevelMany EntAssetMaintenancePlanLine records → zero or one EntAssetWorkOrderServiceLevel record
WorkOrderType→EntAssetWorkOrderTypeJoin on
WorkOrderType = EntAssetWorkOrderType.RecIdMany 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.
EntAssetMaintenancePlanLineTypeCounterV2Entity· 14 fields from this tableEntAssetMaintenanceAssetCalendarEntity· 1 field from this tableEntAssetMaintenancePlanLineTypeCounterEntity· 13 fields from this tableEntAssetMaintenancePlanLineTypeTimeEntity· 14 fields from this table
Need help with EntAssetMaintenancePlanLine in a report, an integration or a migration? Talk to Dr Dynamics.