Table
EntAssetWorkOrderLine
Work order maintenance jobs
Holds the maintenance jobs (lines) of a work order, keyed by work order and line number. Each line can point to an asset, functional location, job type, trade, project and activity, and carries scheduled dates and an assigned worker. It also stores a reference to the record that created it, such as a maintenance plan.
- Table name
EntAssetWorkOrderLine- Module
Asset management- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
EntAsset- Primary index
None- Replacement key
LineNumIdx- Key fields
WorkOrder, LineNumber- Model
EnterpriseAssetManagementAppSuite
Fields (29)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkOrderPoints to the work order that the job belongs to. | Int64EntAssetWorkOrderRecID | Yes | EntAssetWorkOrderTable.RecId | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 5 more |
LineNumberNumber of the job line within the work order. | Int64TradeLineNumber | No | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 15 more | |
AddressLatitudeLatitude of the job location. | RealAddressLatitude | No | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more | |
AddressLongitudeLongitude of the job location. | RealAddressLongitude | No | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FunctionalLocationPoints to the functional location of the job. | Int64EntAssetFunctionalLocationRecID | No | EntAssetFunctionalLocation.RecId | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more |
FunctionalLocationInstallPoints to the functional location where the asset is to be installed. | Int64EntAssetFunctionalLocationRecID | No | EntAssetFunctionalLocation.RecId | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more |
FunctionalLocationObjectPoints to the installed asset the job is for. | Int64EntAssetFunctionalLocationObjectRecID | No | EntAssetFunctionalLocationObject.RecId | None |
JobTradePoints to the trade needed for the job. | Int64EntAssetJobTradeRecID | No | EntAssetJobTrade.RecId | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more |
JobTypePoints to the maintenance job type. | Int64EntAssetJobTypeRecID | Yes | EntAssetJobType.RecId | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more |
JobVariantPoints to the maintenance job type variant. | Int64EntAssetJobVariantRecID | No | EntAssetJobVariant.RecId | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more |
LogisticsPostalAddressPoints to the postal address record linked to the job. | Int64RefRecId | No | LogisticsPostalAddress.RecId | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more |
ObjectPoints to the asset the job is for. | Int64EntAssetObjectRecID | Yes | EntAssetObjectTable.RecId | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more |
ObjectMovePoints to the replacement asset for the job. | Int64EntAssetObjectRecID | No | EntAssetObjectTable.RecId | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjActivityNumber of the project activity linked to the job. | String (50)ProjActivityNumber | No | ProjActivity.ActivityNumbersmmActivities.ActivityNumber | None |
ProjIdProject ID linked to the job. | String (20)ProjId | No | ProjTable.ProjId | 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 | |
RefRecIdSystem record ID of the source record, such as a maintenance plan, that the job relates to. | Int64RefRecId | No | None | |
RefTableIdID of the table that the reference record belongs to. | IntegerRefTableId | No | None | |
SchedJobLinkType of scheduling link to another job: None, StartStart, EndEnd, EndStart or StartEnd. | EnumSchedJobLink (enum) | No | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more | |
ScheduledEndDate and time when the job is scheduled to end. | UtcDateTimeEntAssetScheduledEnd | No | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more | |
ScheduledStartDate and time when the job is scheduled to start. | UtcDateTimeEntAssetScheduledStart | No | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkerScheduledPoints to the maintenance worker the job is scheduled to. | Int64EntAssetWorkerRecId | No | EntAssetWorker.RecId | EntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more |
Indexes (5)
WorkOrderLineIdxWorkOrder,Object,JobType,JobVariant,JobTradeNot unique.
ProjIdxUnique.
ObjectTableIdxNot unique.
LineNumIdxReplacement keyUnique, alternate key.
FunctionalLocationIdxNot unique.
Relations (22)
Each relation joins EntAssetWorkOrderLine to another table on the fields shown.
ForecastSales→ForecastSalesJoin on
ProjId = ForecastSales.ProjId,ProjActivity = ForecastSales.ActivityNumberMany EntAssetWorkOrderLine records → zero or one ForecastSales record
FunctionalLocation→EntAssetFunctionalLocationJoin on
FunctionalLocation = EntAssetFunctionalLocation.RecIdMany EntAssetWorkOrderLine records → zero or one EntAssetFunctionalLocation record
FunctionalLocationObject→EntAssetFunctionalLocationObjectJoin on
FunctionalLocationObject = EntAssetFunctionalLocationObject.RecIdMany EntAssetWorkOrderLine records → zero or one EntAssetFunctionalLocationObject record
LogisticsPostalAddress→LogisticsPostalAddressJoin on
LogisticsPostalAddress = LogisticsPostalAddress.RecIdMany EntAssetWorkOrderLine records → zero or one LogisticsPostalAddress record
ObjectTable→EntAssetObjectTableJoin on
Object = EntAssetObjectTable.RecIdMany EntAssetWorkOrderLine records → exactly one EntAssetObjectTable record
Worker→EntAssetWorkerJoin on
WorkerScheduled = EntAssetWorker.RecIdMany EntAssetWorkOrderLine records → zero or one EntAssetWorker record
JobTrade→EntAssetJobTradeJoin on
JobTrade = EntAssetJobTrade.RecIdMany EntAssetWorkOrderLine records → zero or one EntAssetJobTrade record
JobType→EntAssetJobTypeJoin on
JobType = EntAssetJobType.RecIdMany EntAssetWorkOrderLine records → exactly one EntAssetJobType record
JobVariant→EntAssetJobVariantJoin on
JobVariant = EntAssetJobVariant.RecIdMany EntAssetWorkOrderLine records → zero or one EntAssetJobVariant record
MaintenancePlan→EntAssetMaintenancePlanJoin on
RefRecId = EntAssetMaintenancePlan.RecId,RefTableId = EntAssetMaintenancePlan.TableIdMany EntAssetWorkOrderLine records → zero or one EntAssetMaintenancePlan record
ProjActivity→ProjActivityJoin on
ProjActivity = ProjActivity.ActivityNumberZero or one EntAssetWorkOrderLine record → exactly one ProjActivity record
ProjForecastCost→ProjForecastCostJoin on
ProjId = ProjForecastCost.ProjId,ProjActivity = ProjForecastCost.ActivityNumberMany EntAssetWorkOrderLine records → zero or one ProjForecastCost record
ProjForecastEmpl→ProjForecastEmplJoin on
ProjId = ProjForecastEmpl.ProjId,ProjActivity = ProjForecastEmpl.ActivityNumberMany EntAssetWorkOrderLine records → zero or one ProjForecastEmpl record
ProjForecastRevenue→ProjForecastRevenueJoin on
ProjId = ProjForecastRevenue.ProjId,ProjActivity = ProjForecastRevenue.ActivityNumberMany EntAssetWorkOrderLine records → zero or one ProjForecastRevenue record
ProjItemTrans→ProjItemTransJoin on
ProjId = ProjItemTrans.ProjId,ProjActivity = ProjItemTrans.ActivityNumberZero or one EntAssetWorkOrderLine record → zero or one ProjItemTrans record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany EntAssetWorkOrderLine records → zero or one ProjTable record
RequestTable→EntAssetRequestTableJoin on
RefTableId = EntAssetRequestTable.TableId,RefRecId = EntAssetRequestTable.RecIdMany EntAssetWorkOrderLine records → zero or one EntAssetRequestTable record
RoundTable→EntAssetRoundTableJoin on
RefRecId = EntAssetRoundTable.RecId,RefTableId = EntAssetRoundTable.TableIdMany EntAssetWorkOrderLine records → zero or one EntAssetRoundTable record
smmActivities→smmActivitiesJoin on
ProjActivity = smmActivities.ActivityNumberMany EntAssetWorkOrderLine records → exactly one smmActivities record
WorkOrderTable→EntAssetWorkOrderTableJoin on
WorkOrder = EntAssetWorkOrderTable.RecIdMany EntAssetWorkOrderLine records → exactly one EntAssetWorkOrderTable record
ObjectTableMove→EntAssetObjectTableJoin on
ObjectMove = EntAssetObjectTable.RecIdMany EntAssetWorkOrderLine records → zero or one EntAssetObjectTable record
FunctionalLocationInstall→EntAssetFunctionalLocationJoin on
FunctionalLocationInstall = EntAssetFunctionalLocation.RecIdMany EntAssetWorkOrderLine records → zero or one EntAssetFunctionalLocation record
Get this data out
Tables are not exposed directly. These public entities read from EntAssetWorkOrderLine; use one of them in Power BI, Power Platform or a data management project.
EntAssetMaintenanceWorkOrderLineV2Entity· 16 fields from this tableEntAssetMaintenancePlanWorkOrderLineEntity· 16 fields from this tableEntAssetMaintenanceRequestWorkOrderLineEntity· 16 fields from this tableEntAssetMaintenanceRoundWorkOrderLineEntity· 16 fields from this tableEntAssetMaintenanceUnplannedWorkOrderLineEntity· 16 fields from this tableEntAssetMaintenanceWorkOrderLineEntity· 9 fields from this tableEntAssetMaintenanceAssetBillOfMaterialV2Entity· 1 field from this tableEntAssetMaintenanceWorkOrderLineChecklistHeaderV2Entity· 1 field from this tableEntAssetMaintenanceWorkOrderLineAttachmentEntity· 1 field from this tableEntAssetMaintenanceWorkOrderLineChecklistEntity· 1 field from this tableEntAssetMaintenanceWorkOrderLineChecklistHeaderEntity· 1 field from this tableEntAssetMaintenanceWorkOrderLineItemForecastEntity· 1 field from this tableEntAssetMaintenanceWorkOrderLineNoteEntity· 2 fields from this tableEntAssetMaintenanceWorkOrderLineScheduleEntity· 2 fields from this tableEntAssetMaintenanceWorkOrderLineHourConsumptionV2Entity· 1 field from this tableEntAssetMaintenanceWorkOrderLineHourConsumptionEntity· 1 field from this tableEntAssetMaintenanceWorkOrderLineProductConsumptionEntity· 1 field from this tableEntAssetMaintenanceWorkOrderUserReferenceEntity· 1 field from this table
Need help with EntAssetWorkOrderLine in a report, an integration or a migration? Talk to Dr Dynamics.