Table

SalesTableExternalWorkOrderStatus

Sales order external work order statuses

Stores the status of an external work order for a sales order, keyed by SalesId. It is used by the Dataverse and Dynamics 365 Sales sales order entities. It holds one status value, from open and unscheduled to closed and posted or cancelled.

Table name
SalesTableExternalWorkOrderStatus
Module
Sales and marketing
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
CDSIntegration
Primary index
SalesIdIdx
Replacement key
SalesIdIdx
Key fields
SalesId
Model
Foundation

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesIdSales order that the status belongs to.String (20)
SalesIdBase
YesSalesTable.SalesIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExternalWorkOrderStatusStatus of the external work order, such as open and scheduled, in progress, closed and posted, or closed and cancelled.Enum
SalesExternalWorkOrderStatus (enum)
NoSalesOrderHeaderCDSEntitySalesOrderHeaderD365SalesEntity
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
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

Indexes (1)

  • SalesIdIdxPrimary indexReplacement key

    SalesId

    Unique, alternate key.

Relations (1)

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

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Zero or one SalesTableExternalWorkOrderStatus record → exactly one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk