Table

EntAssetWorkOrderTableRelation

Work order relations

Describes links between work orders and their jobs. Each record has a from side and a to side, each with a work order and a work order job. All four fields form the key.

Table name
EntAssetWorkOrderTableRelation
Module
Asset management
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
EntAsset
Primary index
None
Replacement key
WorkOrderTableRelationIdx
Key fields
FromWorkOrder, FromWorkOrderLine, ToWorkOrder, ToWorkOrderLine
Model
EnterpriseAssetManagementAppSuite

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
FromWorkOrderThe work order at the start of the link, pointing to a work order record.Int64
EntAssetWorkOrderRecID
YesEntAssetWorkOrderTable.RecIdNone
FromWorkOrderLineThe work order job at the start of the link, pointing to a job record.Int64
EntAssetWorkOrderLineRecID
YesEntAssetWorkOrderLine.RecIdNone
ToWorkOrderThe work order at the end of the link, pointing to a work order record.Int64
EntAssetWorkOrderRecID
YesEntAssetWorkOrderTable.RecIdNone
ToWorkOrderLineThe work order job at the end of the link, pointing to a job record.Int64
EntAssetWorkOrderLineRecID
YesEntAssetWorkOrderLine.RecIdNone
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
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

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

  • FromWorkOrderLine → EntAssetWorkOrderLine

    Join on FromWorkOrderLine = EntAssetWorkOrderLine.RecId

    Many EntAssetWorkOrderTableRelation records → exactly one EntAssetWorkOrderLine record

  • FromWorkOrderTable → EntAssetWorkOrderTable

    Join on FromWorkOrder = EntAssetWorkOrderTable.RecId

    Many EntAssetWorkOrderTableRelation records → exactly one EntAssetWorkOrderTable record

  • ToWorkOrderLine → EntAssetWorkOrderLine

    Join on ToWorkOrderLine = EntAssetWorkOrderLine.RecId

    Many EntAssetWorkOrderTableRelation records → exactly one EntAssetWorkOrderLine record

  • ToWorkOrderTable → EntAssetWorkOrderTable

    Join on ToWorkOrder = EntAssetWorkOrderTable.RecId

    Many EntAssetWorkOrderTableRelation records → exactly one EntAssetWorkOrderTable record

Get this data out

No public entity reads from EntAssetWorkOrderTableRelation. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk