Data entity
SMAServiceOrderHeaderEntity
Read-only view of service order headers, keyed by service order number. It covers the customer, project, linked service agreement, priority, service level agreement, stage and progress. It also has sign-off details and the service address. It links to workers and to postal address data.
- Entity name
SMAServiceOrderHeaderEntity- Public entity name
ServiceOrderHeader- OData collection
ServiceOrderHeaders- Category
Document- Module
Service management- Read-only
Yes- Data management enabled
Yes- Configuration key
SMAManagement- Keys
ServiceOrderNumber- Staging table
SMAServiceOrderHeaderStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ServiceOrderHeaders- Dataverse virtual table
mserp_smaserviceorderheaderentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
SMAServiceOrderTable· rootHcmWorker_PreferredTechnician(tableHcmWorker) · OuterJoin toSMAServiceOrderTable· read-onlyHcmWorker_Responsible(tableHcmWorker) · OuterJoin toSMAServiceOrderTable· read-onlyLogisticsPostalAddressBaseEntity· OuterJoin toSMAServiceOrderTable· read-only
Fields (48)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ServiceOrderNumberUnique ID of the service order. It is the key of the table. | StringSMAServiceOrderId | No | Yes | SMAServiceOrderTable.ServiceOrderId | |
ServiceOrderDescriptionShort text describing the service order. | String (60)Description | No | Yes | SMAServiceOrderTable.Description | |
ServiceCustomerAccountNumberCustomer account the service order is for. | String (20)CustAccount | No | Yes | CustTable.AccountNum | SMAServiceOrderTable.CustAccount |
ProjectIdProject linked to the service order. | String (20)ProjId | No | Yes | ProjTable.ProjId | SMAServiceOrderTable.ProjId |
ServiceAgreementIdService agreement that the order relates to. | StringSMAAgreementId | No | Yes | SMAAgreementTable.AgreementId | SMAServiceOrderTable.AgreementId |
ContactPersonIdContact person for the order. | String (20)ContactPersonId | No | Yes | ContactPerson.ContactPersonId | SMAServiceOrderTable.ContactPersonId |
IsServiceOrderSignedOffYes/No flag showing whether the order has been signed off. | Enum
| No | Yes | SMAServiceOrderTable.SignOff | |
ServiceOrderSignOffDateTimeDate and time of the sign-off. | UtcDateTimeSMASignOffDateTime | No | Yes | SMAServiceOrderTable.SignOffDateTime | |
ServiceOrderPriorityPriority of the order: low, normal or high. | Enum
| No | Yes | SMAServiceOrderTable.Priority | |
ServiceLevelAgreementIdService level agreement that applies to the order. | StringSMAServiceLevelAgreementId | No | Yes | SMAServiceLevelAgreementTable.ServiceLevelAgreementId | SMAServiceOrderTable.ServiceLevelAgreement |
TimeRecordingStatusStatus of the service level agreement on this order: none, started, stopped or canceled. | EnumSMAServiceOrderSLAStatus
| No | Yes | SMAServiceOrderTable.ServiceLevelAgreementStatus | |
ServiceLevelAgreementCompliancePercentageNumber showing compliance with the service level agreement. The unit is not stated in the metadata.low confidence | RealSMAServiceLevelAgreementCompliance | No | Yes | SMAServiceOrderTable.Compliance | |
PreferredServiceDateTimeDate and time the customer prefers for the service. | UtcDateTimeSMAPreferredServiceDateTime | No | Yes | SMAServiceOrderTable.ServiceDateTime | |
ServiceOrderOriginShows where the order came from: system, user or web. | Enum
| No | Yes | SMAServiceOrderTable.Origin | |
ServiceOrderStageIdService stage the order is currently in. | StringSMAStageId | Yes | Yes | SMAStageTable.StageId | SMAServiceOrderTable.StageId |
ServiceOrderProgressProgress of the order: in process, posted or canceled. | Enum
| No | Yes | SMAServiceOrderTable.Progress | |
HasCalendarConflictYes/No flag showing whether the order has a calendar conflict. | EnumNoYesId
| No | Yes | SMAServiceOrderTable.CalendarConflict | |
PreferredTechnicianPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ServiceResponsiblePersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
DefaultLineActivityTypeIdDefault activity type for the order's lines, taken from the activity type groups. | String (20)smmActivityTypeId | No | Yes | smmActivityTypeGroup.TypeId | SMAServiceOrderTable.ActivityTypeId |
ProjectActivityNumberActivity linked to the service order. | String (50)smmActivityId | No | Yes | smmActivities.ActivityNumber | SMAServiceOrderTable.ActivityNumber |
ServiceAddressNameName used for the service address. | String (100)LogisticsServiceName | No | Yes | SMAServiceOrderTable.ServiceAddressName | |
ServicePostalAddressPostal address where the service takes place, pointing to a logistics address record. | Int64LogisticsPostalAddressRecId | No | No (private) | LogisticsPostalAddress.RecId | SMAServiceOrderTable.ServicePostalAddress |
FormattedServiceAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
ServiceAddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
ServiceAddressLocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | Yes | LogisticsLocation.LocationId | |
ServiceAddressBuildingComplimentExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
ServiceAddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
ServiceAddressCityInKanaCity name written in Kana; used for Japan. | String (60)AssetCityKana_JP | No | Yes | LogisticsPostalAddress.CityKana_JP | |
ServiceAddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
ServiceAddressCountryRegionISOCodeISO code of the country or region of the address. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | None | |
ServiceAddressCountyIdCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
ServiceAddressDescriptionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
ServiceAddressDistrictNameName of the district, as text. | String (60)LogisticsAddressDistrictName | No | Yes | LogisticsPostalAddress.DistrictName | |
ServiceAddressDunsNumberThe DUNS number, up to nine characters long. It is the key of the table. | String (9)LogisticsDunsNumber | No | Yes | DirDunsNumber.DunsNumber | |
ServiceAddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
IsServiceAddressPrivateShows whether the address is private (Yes or No). | EnumLogisticsIsPrivate
| No | Yes | LogisticsPostalAddress.IsPrivate | |
ServiceAddressLongitudeGeographic longitude of the address. | RealLogisticsAddressLongitude | No | Yes | LogisticsPostalAddress.Longitude | |
ServiceAddressPostBoxPost office box number. | String (20)LogisticsAddressPostBox | No | Yes | LogisticsPostalAddress.PostBox | |
ServiceAddressStateIdState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
ServiceAddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
ServiceAddressStreetInKanaStreet name written in Kana; used for Japan. | String (250)AssetStreetKana_JP | No | Yes | LogisticsPostalAddress.StreetKana_JP | |
ServiceAddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
ServiceAddressValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | No (private) | LogisticsPostalAddress.ValidFrom | |
ServiceAddressValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | No (private) | LogisticsPostalAddress.ValidTo | |
ServicePostalAddressRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | No (private) | LogisticsPostalAddress.RecId | |
ServiceAddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
IsServiceAddressOrderSpecificYes or No value showing whether the service address is a one-time address for this order. | EnumNoYesId
| No | Yes | computed |
Foreign keys (12)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
ServiceCustomerAccountNumber→CustTable.AccountNum(key of CustTable)Many SMAServiceOrderTable records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
ProjectId→ProjTable.ProjId(key of ProjTable)Many SMAServiceOrderTable records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ServiceAgreementId→SMAAgreementTable.AgreementId(key of SMAAgreementTable)Many SMAServiceOrderTable records → zero or one SMAAgreementTable record
SMAAgreementTable details: see SMAServiceAgreementHeaderEntity
ContactPersonId→ContactPerson.ContactPersonId(key of ContactPerson)Many SMAServiceOrderTable records → zero or one ContactPerson record
ContactPerson details: see smmContactPersonV2Entity, smmContactPersonCDSV2Entity, BusinessDocumentSalesInvoiceBaseEntity
ServiceLevelAgreementId→SMAServiceLevelAgreementTable.ServiceLevelAgreementId(key of SMAServiceLevelAgreementTable)Many SMAServiceOrderTable records → zero or one SMAServiceLevelAgreementTable record
SMAServiceLevelAgreementTable details: see SMAServiceLevelAgreementEntity
ServiceOrderStageId→SMAStageTable.StageId(key of SMAStageTable)Many SMAServiceOrderTable records → exactly one SMAStageTable record
Not exposed by a public entity.
DefaultLineActivityTypeId→smmActivityTypeGroup.TypeId(key of smmActivityTypeGroup)Many SMAServiceOrderTable records → zero or one smmActivityTypeGroup record
Not exposed by a public entity.
ProjectActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Many SMAServiceOrderTable records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
ServicePostalAddress→LogisticsPostalAddress.RecId(key of LogisticsPostalAddress)Many SMAServiceOrderTable records → zero or one LogisticsPostalAddress record
LogisticsPostalAddress details: see CustCustomerV3Entity, InventTransferOrderHeaderEntity, TMSFreightBillDetailEntity
ServiceAddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
ServiceAddressCountyId→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
ServiceAddressCountyId=LogisticsAddressCounty.CountyId,ServiceAddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,ServiceAddressStateId=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
ServiceAddressStateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
ServiceAddressStateId=LogisticsAddressState.StateId,ServiceAddressCountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
Need help with SMAServiceOrderHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.