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 descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkOrderPoints to the work order that the job belongs to.Int64
EntAssetWorkOrderRecID
YesEntAssetWorkOrderTable.RecIdEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 5 more
LineNumberNumber of the job line within the work order.Int64
TradeLineNumber
NoEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 15 more
AddressLatitudeLatitude of the job location.Real
AddressLatitude
NoEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more
AddressLongitudeLongitude of the job location.Real
AddressLongitude
NoEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FunctionalLocationPoints to the functional location of the job.Int64
EntAssetFunctionalLocationRecID
NoEntAssetFunctionalLocation.RecIdEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more
FunctionalLocationInstallPoints to the functional location where the asset is to be installed.Int64
EntAssetFunctionalLocationRecID
NoEntAssetFunctionalLocation.RecIdEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more
FunctionalLocationObjectPoints to the installed asset the job is for.Int64
EntAssetFunctionalLocationObjectRecID
NoEntAssetFunctionalLocationObject.RecIdNone
JobTradePoints to the trade needed for the job.Int64
EntAssetJobTradeRecID
NoEntAssetJobTrade.RecIdEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more
JobTypePoints to the maintenance job type.Int64
EntAssetJobTypeRecID
YesEntAssetJobType.RecIdEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more
JobVariantPoints to the maintenance job type variant.Int64
EntAssetJobVariantRecID
NoEntAssetJobVariant.RecIdEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more
LogisticsPostalAddressPoints to the postal address record linked to the job.Int64
RefRecId
NoLogisticsPostalAddress.RecIdEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more
ObjectPoints to the asset the job is for.Int64
EntAssetObjectRecID
YesEntAssetObjectTable.RecIdEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 3 more
ObjectMovePoints to the replacement asset for the job.Int64
EntAssetObjectRecID
NoEntAssetObjectTable.RecIdEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjActivityNumber of the project activity linked to the job.String (50)
ProjActivityNumber
NoProjActivity.ActivityNumbersmmActivities.ActivityNumberNone
ProjIdProject ID linked to the job.String (20)
ProjId
NoProjTable.ProjIdNone
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
RefRecIdSystem record ID of the source record, such as a maintenance plan, that the job relates to.Int64
RefRecId
NoNone
RefTableIdID of the table that the reference record belongs to.Integer
RefTableId
NoNone
SchedJobLinkType of scheduling link to another job: None, StartStart, EndEnd, EndStart or StartEnd.Enum
SchedJobLink (enum)
NoEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more
ScheduledEndDate and time when the job is scheduled to end.UtcDateTime
EntAssetScheduledEnd
NoEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more
ScheduledStartDate and time when the job is scheduled to start.UtcDateTime
EntAssetScheduledStart
NoEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkerScheduledPoints to the maintenance worker the job is scheduled to.Int64
EntAssetWorkerRecId
NoEntAssetWorker.RecIdEntAssetMaintenanceWorkOrderLineV2EntityEntAssetMaintenancePlanWorkOrderLineEntityEntAssetMaintenanceRequestWorkOrderLineEntityand 2 more

Indexes (5)

Relations (22)

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

  • ForecastSales → ForecastSales

    Join on ProjId = ForecastSales.ProjId, ProjActivity = ForecastSales.ActivityNumber

    Many EntAssetWorkOrderLine records → zero or one ForecastSales record

  • FunctionalLocation → EntAssetFunctionalLocation

    Join on FunctionalLocation = EntAssetFunctionalLocation.RecId

    Many EntAssetWorkOrderLine records → zero or one EntAssetFunctionalLocation record

  • FunctionalLocationObject → EntAssetFunctionalLocationObject

    Join on FunctionalLocationObject = EntAssetFunctionalLocationObject.RecId

    Many EntAssetWorkOrderLine records → zero or one EntAssetFunctionalLocationObject record

  • LogisticsPostalAddress → LogisticsPostalAddress

    Join on LogisticsPostalAddress = LogisticsPostalAddress.RecId

    Many EntAssetWorkOrderLine records → zero or one LogisticsPostalAddress record

  • ObjectTable → EntAssetObjectTable

    Join on Object = EntAssetObjectTable.RecId

    Many EntAssetWorkOrderLine records → exactly one EntAssetObjectTable record

  • Worker → EntAssetWorker

    Join on WorkerScheduled = EntAssetWorker.RecId

    Many EntAssetWorkOrderLine records → zero or one EntAssetWorker record

  • JobTrade → EntAssetJobTrade

    Join on JobTrade = EntAssetJobTrade.RecId

    Many EntAssetWorkOrderLine records → zero or one EntAssetJobTrade record

  • JobType → EntAssetJobType

    Join on JobType = EntAssetJobType.RecId

    Many EntAssetWorkOrderLine records → exactly one EntAssetJobType record

  • JobVariant → EntAssetJobVariant

    Join on JobVariant = EntAssetJobVariant.RecId

    Many EntAssetWorkOrderLine records → zero or one EntAssetJobVariant record

  • MaintenancePlan → EntAssetMaintenancePlan

    Join on RefRecId = EntAssetMaintenancePlan.RecId, RefTableId = EntAssetMaintenancePlan.TableId

    Many EntAssetWorkOrderLine records → zero or one EntAssetMaintenancePlan record

  • ProjActivity → ProjActivity

    Join on ProjActivity = ProjActivity.ActivityNumber

    Zero or one EntAssetWorkOrderLine record → exactly one ProjActivity record

  • ProjForecastCost → ProjForecastCost

    Join on ProjId = ProjForecastCost.ProjId, ProjActivity = ProjForecastCost.ActivityNumber

    Many EntAssetWorkOrderLine records → zero or one ProjForecastCost record

  • ProjForecastEmpl → ProjForecastEmpl

    Join on ProjId = ProjForecastEmpl.ProjId, ProjActivity = ProjForecastEmpl.ActivityNumber

    Many EntAssetWorkOrderLine records → zero or one ProjForecastEmpl record

  • ProjForecastRevenue → ProjForecastRevenue

    Join on ProjId = ProjForecastRevenue.ProjId, ProjActivity = ProjForecastRevenue.ActivityNumber

    Many EntAssetWorkOrderLine records → zero or one ProjForecastRevenue record

  • ProjItemTrans → ProjItemTrans

    Join on ProjId = ProjItemTrans.ProjId, ProjActivity = ProjItemTrans.ActivityNumber

    Zero or one EntAssetWorkOrderLine record → zero or one ProjItemTrans record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many EntAssetWorkOrderLine records → zero or one ProjTable record

  • RequestTable → EntAssetRequestTable

    Join on RefTableId = EntAssetRequestTable.TableId, RefRecId = EntAssetRequestTable.RecId

    Many EntAssetWorkOrderLine records → zero or one EntAssetRequestTable record

  • RoundTable → EntAssetRoundTable

    Join on RefRecId = EntAssetRoundTable.RecId, RefTableId = EntAssetRoundTable.TableId

    Many EntAssetWorkOrderLine records → zero or one EntAssetRoundTable record

  • smmActivities → smmActivities

    Join on ProjActivity = smmActivities.ActivityNumber

    Many EntAssetWorkOrderLine records → exactly one smmActivities record

  • WorkOrderTable → EntAssetWorkOrderTable

    Join on WorkOrder = EntAssetWorkOrderTable.RecId

    Many EntAssetWorkOrderLine records → exactly one EntAssetWorkOrderTable record

  • ObjectTableMove → EntAssetObjectTable

    Join on ObjectMove = EntAssetObjectTable.RecId

    Many EntAssetWorkOrderLine records → zero or one EntAssetObjectTable record

  • FunctionalLocationInstall → EntAssetFunctionalLocation

    Join on FunctionalLocationInstall = EntAssetFunctionalLocation.RecId

    Many 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.

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

Email sales@drdynamics.co.uk