Table

SMAServiceOrderTable

Service orders

Holds service orders, one record per service order ID. Each order can link to a customer, project, service agreement, service level agreement, service stage, address and responsible workers. It also stores progress, priority, origin and sign-off details.

Table name
SMAServiceOrderTable
Module
Service management
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
SMAManagement
Primary index
ServiceOrderIdx
Replacement key
ServiceOrderIdx
Key fields
ServiceOrderId
Model
Foundation

Fields (35)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ServiceOrderIdUnique ID of the service order. It is the key of the table.String
SMAServiceOrderId
YesSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
ActivityNumberActivity linked to the service order.String (50)
smmActivityId
NosmmActivities.ActivityNumberSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
ActivityTypeIdDefault activity type for the order's lines, taken from the activity type groups.String (20)
smmActivityTypeId
NosmmActivityTypeGroup.TypeIdSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
AddressRefRecIdSystem record ID of the record that the address reference points to. It is used together with the reference table ID.Int64
AddressRefRecId
NoSMAServiceOrderTableBiEntity
AddressRefTableIdID of the table that the address reference points to.Integer
AddressRefTableId
NoSMAServiceOrderTableBiEntity
AgreementIdService agreement that the order relates to.String
SMAAgreementId
NoSMAAgreementTable.AgreementIdSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
CalendarConflictYes/No flag showing whether the order has a calendar conflict.Enum
NoYesId
NoYes (enum)
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
CertifiedPayrollYes/No flag for certified payroll on the order.Enum
NoYesId
NoYes (enum)
NoSMAServiceOrderTableBiEntity
ComplianceNumber showing compliance with the service level agreement. The unit is not stated in the metadata.low confidenceReal
SMAServiceLevelAgreementCompliance
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
ContactPersonIdContact person for the order.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoSMAServiceOrderTableBiEntity
CustAccountCustomer account the service order is for.String (20)
CustAccount
NoCustTable.AccountNumSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntitySMAServiceOrderLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoSMAServiceOrderTableBiEntity
DescriptionShort text describing the service order.String (60)
Description
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
IncomingWebOrderYes/No flag showing whether the order came in as an incoming web order.Enum
NoYes (enum)
NoSMAServiceOrderTableBiEntity
OriginShows where the order came from: system, user or web.Enum
SMAServiceOrderOrigin (enum)
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriorityPriority of the order: low, normal or high.Enum
smmActivityPriority (enum)
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
ProgressProgress of the order: in process, posted or canceled.Enum
SMAServiceOrderProgress (enum)
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
ProjIdProject linked to the service order.String (20)
ProjId
NoProjTable.ProjIdSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoSMAServiceOrderTableBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoSMAServiceOrderTableBiEntity
ServiceAddressNameName used for the service address.String (100)
LogisticsServiceName
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
ServiceDateTimeDate and time the customer prefers for the service.UtcDateTime
SMAPreferredServiceDateTime
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
ServiceLevelAgreementService level agreement that applies to the order.String
SMAServiceLevelAgreementId
NoSMAServiceLevelAgreementTable.ServiceLevelAgreementIdSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
ServiceLevelAgreementStatusStatus of the service level agreement on this order: none, started, stopped or canceled.Enum
SMAServiceOrderSLAStatus
SMALogStatus (enum)
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
ServicePostalAddressPostal address where the service takes place, pointing to a logistics address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
SignOffYes/No flag showing whether the order has been signed off.Enum
NoYes (enum)
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
SignOffDateTimeDate and time of the sign-off.UtcDateTime
SMASignOffDateTime
NoSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
StageIdService stage the order is currently in.String
SMAStageId
YesSMAStageTable.StageIdSMAServiceOrderHeaderEntitySMAServiceOrderTableBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberSystem number used to track the version of the row.low confidenceInt64
SysRowVersionNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkerPreferredTechnicianWorker who is the preferred technician for the order.Int64
SMAWorkerPreferredTechnician
NoHcmWorker.RecIdSMAServiceOrderTableBiEntity
WorkerResponsibleWorker who is responsible for the service order.Int64
SMAWorkerServiceResponsible
NoHcmWorker.RecIdSMAServiceOrderTableBiEntity

Indexes (3)

Relations (14)

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

  • Common → Common

    Join on AddressRefTableId = Common.TableId, AddressRefRecId = Common.RecId

    Cardinality not set in the metadata.

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many SMAServiceOrderTable records → zero or one ContactPerson record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many SMAServiceOrderTable records → zero or one CustTable record

  • HcmWorker_PreferredTechnician → HcmWorker

    Join on WorkerPreferredTechnician = HcmWorker.RecId

    Many SMAServiceOrderTable records → zero or one HcmWorker record

  • HcmWorker_Responsible → HcmWorker

    Join on WorkerResponsible = HcmWorker.RecId

    Many SMAServiceOrderTable records → zero or one HcmWorker record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many SMAServiceOrderTable records → zero or one ProjTable record

  • ServicePostalAddress → LogisticsPostalAddress

    Join on ServicePostalAddress = LogisticsPostalAddress.RecId

    Many SMAServiceOrderTable records → zero or one LogisticsPostalAddress record

  • SMAAgreementTable → SMAAgreementTable

    Join on AgreementId = SMAAgreementTable.AgreementId

    Many SMAServiceOrderTable records → zero or one SMAAgreementTable record

  • SMAServiceLevelAgreementTable → SMAServiceLevelAgreementTable

    Join on ServiceLevelAgreement = SMAServiceLevelAgreementTable.ServiceLevelAgreementId

    Many SMAServiceOrderTable records → zero or one SMAServiceLevelAgreementTable record

  • SMAServiceObjectRelation → SMAServiceObjectRelation

    Join on ServiceOrderId = SMAServiceObjectRelation.RelKeyId, TableId = SMAServiceObjectRelation.RelTableId

    Many SMAServiceOrderTable records → zero or one SMAServiceObjectRelation record

  • SMAServiceTaskRelation → SMAServiceTaskRelation

    Join on ServiceOrderId = SMAServiceTaskRelation.RelKeyId, TableId = SMAServiceTaskRelation.RelTableId

    Many SMAServiceOrderTable records → zero or one SMAServiceTaskRelation record

  • SMAStageTable → SMAStageTable

    Join on StageId = SMAStageTable.StageId

    Many SMAServiceOrderTable records → exactly one SMAStageTable record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many SMAServiceOrderTable records → zero or one smmActivities record

  • smmActivityTypeGroup → smmActivityTypeGroup

    Join on ActivityTypeId = smmActivityTypeGroup.TypeId

    Many SMAServiceOrderTable records → zero or one smmActivityTypeGroup record

Get this data out

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

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

Email sales@drdynamics.co.uk