Data entity
SMAServiceOrderLineBiEntity
Read-only entity for analytics that holds service order lines. Each line has an item, quantity, cost price, sales price, dates and project details. It is identified by the service order ID and the line number.
- Entity name
SMAServiceOrderLineBiEntity- Public entity name
SMAServiceOrderLineBiEntity- OData collection
SMAServiceOrderLineBiEntities- Category
Document- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
SMAManagement- Keys
ServiceOrderId, ServiceOrderLineNum- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SMAServiceOrderLineBiEntities- Dataverse virtual table
mserp_smaserviceorderlinebientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
SMAServiceOrderLine· root · read-only
Fields (48)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ActivityIdDispatch activity linked to the line. | String (50)smmActivityId | No | Yes | smmActivities.ActivityNumber | SMAServiceOrderLine.ActivityId |
ActivityNumberActivity number of the linked project activity. | String (50)ProjActivityNumber | No | Yes | smmActivities.ActivityNumber | SMAServiceOrderLine.ActivityNumber |
AgreementIdService agreement the line belongs to. | StringSMAAgreementId | No | Yes | SMAAgreementTable.AgreementId | SMAServiceOrderLine.AgreementId |
AgreementLineNumLine number on the service agreement. | IntegerSMAAgreementLineNum | No | Yes | SMAServiceOrderLine.AgreementLineNum | |
CurrencyIdCostCurrency used for the cost price. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | SMAServiceOrderLine.CurrencyIdCost |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | SMAServiceOrderLine.DataAreaId | |
DateCalculatedDate the line was calculated. | DateSMADateCalculated | No | Yes | SMAServiceOrderLine.DateCalculated | |
DateExecutionPosting date of the line. | DateSMADateExecution | No | Yes | SMAServiceOrderLine.DateExecution | |
DateRangeFromStart of the date range for the line. | DateSMADateRangeFrom | Yes | Yes | SMAServiceOrderLine.DateRangeFrom | |
DateRangeToEnd of the date range for the line. | DateSMADateRangeTo | Yes | Yes | SMAServiceOrderLine.DateRangeTo | |
DescriptionShort description of the line. | String (60)Description | No | Yes | SMAServiceOrderLine.Description | |
DescriptionServiceLonger text describing the service. | String (1000)SMADescription | No | Yes | SMAServiceOrderLine.DescriptionService | |
InventDimIdInventory dimension record for the line. | String (20)InventDimId | No | Yes | InventDim.inventDimId | SMAServiceOrderLine.InventDimId |
InvoiceIdInvoice linked to the line. | String (50)InvoiceId | No | Yes | SMAServiceOrderLine.InvoiceId | |
IsSalesPriceModifiedYes/No flag, possibly showing that the sales price was changed. The metadata gives no label.low confidence | Enum
| No | Yes | SMAServiceOrderLine.IsSalesPriceModified | |
ItemIdItem on the line. | String (20)ItemId | No | Yes | InventTable.ItemId | SMAServiceOrderLine.ItemId |
LedgerDimensionOffset ledger account for the line. | Int64LedgerDimensionAccount | No | Yes | DimensionAttributeValueCombination.RecId | SMAServiceOrderLine.LedgerDimension |
OffsetAccountTypeExpenseType of the offset account, such as ledger, customer, vendor or project. | Enum
| No | Yes | SMAServiceOrderLine.OffsetAccountTypeExpense | |
OriginHow the line was created: by the system, a user or the web. | Enum
| No | Yes | SMAServiceOrderLine.Origin | |
ProjCategoryIdProject category of the line. | String (30)ProjCategoryId | Yes | Yes | ProjCategory.CategoryId | SMAServiceOrderLine.ProjCategoryId |
ProjCostPriceCost price of the line. | RealProjCostPriceCost | No | Yes | SMAServiceOrderLine.ProjCostPrice | |
ProjCurrencyCodeCurrency used for the sales price. | String (3)ProjSalesCurrencyCode | No | Yes | Currency.CurrencyCode | SMAServiceOrderLine.ProjCurrencyCode |
ProjIdProject linked to the line. | String (20)ProjId | No | Yes | ProjTable.ProjId | SMAServiceOrderLine.ProjId |
ProjLinePropertyIdProject line property of the line. | StringProjLinePropertyId | Yes | Yes | ProjLineProperty.LinePropertyId | SMAServiceOrderLine.ProjLinePropertyId |
ProjSalesPriceSales price of the line. | RealProjSalesPriceCost | No | Yes | SMAServiceOrderLine.ProjSalesPrice | |
ProjTaxGroupSales tax group of the line. | StringProjTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | SMAServiceOrderLine.ProjTaxGroup |
ProjTaxItemGroupItem sales tax group of the line. | StringProjTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | SMAServiceOrderLine.ProjTaxItemGroup |
ProjTransIdID of the related project transaction (cost, hour or item). | String (20)ProjTransIdBase | No | Yes | ProjCostTrans.TransIdProjEmplTrans.TransIdProjItemTrans.ProjTransIdProjRevenueTrans.TransId | SMAServiceOrderLine.ProjTransId |
ProjTransTxtDescription text for the project transaction. | String (60)TransTxt | No | Yes | SMAServiceOrderLine.ProjTransTxt | |
QtyQuantity on the line. | RealSMAQuantity | Yes | Yes | SMAServiceOrderLine.Qty | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | SMAServiceOrderLine.RecId | |
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. | IntegerRecVersion | No | Yes | SMAServiceOrderLine.RecVersion | |
ServiceObjectIdService object the line relates to. | String (20)SMAServiceObjectId | No | Yes | SMAServiceObjectTable.ServiceObjectId | SMAServiceOrderLine.ServiceObjectId |
ServiceObjectRelationIdService object relation linked to the line. | String (20)SMAServiceObjectRelationId | No | Yes | SMAServiceOrderLine.ServiceObjectRelationId | |
ServiceOrderIdService order the line belongs to. | StringSMAServiceOrderId | Yes | Yes | SMAServiceOrderTable.ServiceOrderId | SMAServiceOrderLine.ServiceOrderId |
ServiceOrderLineNumLine number within the service order. | RealLineNum | No | Yes | SMAServiceOrderLine.ServiceOrderLineNum | |
ServiceOrderStatusStatus of the line: Created, Posted or Canceled. | Enum
| No | Yes | SMAServiceOrderLine.ServiceOrderStatus | |
ServiceTaskIdService task linked to the line. | StringSMAServiceTaskId | No | Yes | SMAServiceTask.ServiceTaskId | SMAServiceOrderLine.ServiceTaskId |
ServiceTimeEndBeforeLatest time by which the service should end. | TimeSMAEndBeforeTime | No | Yes | SMAServiceOrderLine.ServiceTimeEndBefore | |
ServiceTimeStartAfterEarliest time at which the service should start. | TimeSMAStartAfter | No | Yes | SMAServiceOrderLine.ServiceTimeStartAfter | |
SignOffShows whether the line has been signed off. | EnumSMASignOff
| No | Yes | SMAServiceOrderLine.SignOff | |
TaxGroupExpenseSales tax group for the expense. | StringTaxGroupJournal | No | Yes | SMAServiceOrderLine.TaxGroupExpense | |
TaxItemGroupExpenseItem sales tax group for the expense. | StringTaxGroupJournal | No | Yes | TaxItemGroupHeading.TaxItemGroup | SMAServiceOrderLine.TaxItemGroupExpense |
TimeSheetEndTimeTime the service work finished. | TimeSMAServiceFinishedTime | No | Yes | SMAServiceOrderLine.TimeSheetEndTime | |
TimeSheetStartTimeTime the service work started. | TimeSMAServiceStartedTime | No | Yes | SMAServiceOrderLine.TimeSheetStartTime | |
TransactionTypeKind of line: Hour, Expense, Item or Fee. | Enum
| No | Yes | SMAServiceOrderLine.TransactionType | |
UnitUnit of measure for the quantity. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | SMAServiceOrderLine.Unit |
WorkerWorker who carried out the line. | Int64SMAWorker | No | Yes | HcmWorker.RecId | SMAServiceOrderLine.Worker |
Foreign keys (23)
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.
ActivityId→smmActivities.ActivityNumber(key of smmActivities)Many SMAServiceOrderLine records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
ActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Many SMAServiceOrderLine records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
AgreementId→SMAAgreementTable.AgreementId(key of SMAAgreementTable)Many SMAServiceOrderLine records → zero or one SMAAgreementTable record
SMAAgreementTable details: see SMAServiceAgreementHeaderEntity
CurrencyIdCost→Currency.CurrencyCode(key of Currency)Many SMAServiceOrderLine records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
InventDimId→InventDim.inventDimId(key of InventDim)Many SMAServiceOrderLine records → zero or one InventDim record
InventDim details: see ProdProductionPickingListJournalEntryEntity, ProdReportAsFinishedProductionJournalEntryEntity, WHSExternalInventoryAdjustmentEntity
ItemId→InventTable.ItemId(key of InventTable)Many SMAServiceOrderLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
LedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many SMAServiceOrderLine records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
ProjCategoryId→ProjCategory.CategoryId(key of ProjCategory)Many SMAServiceOrderLine records → exactly one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
ProjCurrencyCode→Currency.CurrencyCode(key of Currency)Many SMAServiceOrderLine records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ProjId→ProjTable.ProjId(key of ProjTable)Many SMAServiceOrderLine records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ProjLinePropertyId→ProjLineProperty.LinePropertyId(key of ProjLineProperty)Many SMAServiceOrderLine records → exactly one ProjLineProperty record
ProjLineProperty details: see ProjProjectLinePropertyEntity, TrvExpMobileProjLinePropertyEntity, ProjBillingTypeLinePropertyEntity
ProjTaxGroup→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many SMAServiceOrderLine records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
ProjTaxItemGroup→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many SMAServiceOrderLine records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
ProjTransId→ProjCostTrans.TransId(key of ProjCostTrans)Join on all of:
ProjTransId=ProjCostTrans.TransId,ProjId=ProjCostTrans.ProjIdRelation also requires TransactionType = SMATransactionType::Expense.
Many SMAServiceOrderLine records → zero or one ProjCostTrans record
ProjCostTrans details: see ProjExpenseExportEntity
ProjTransId→ProjEmplTrans.TransId(key of ProjEmplTrans)Join on all of:
ProjTransId=ProjEmplTrans.TransId,ProjId=ProjEmplTrans.ProjIdRelation also requires TransactionType = SMATransactionType::Hour.
Many SMAServiceOrderLine records → zero or one ProjEmplTrans record
Not exposed by a public entity.
ProjTransId→ProjItemTrans.ProjTransId(key of ProjItemTrans)Join on all of:
ProjTransId=ProjItemTrans.ProjTransId,ProjId=ProjItemTrans.ProjIdRelation also requires TransactionType = SMATransactionType::Item.
Many SMAServiceOrderLine records → zero or one ProjItemTrans record
ProjItemTrans details: see ProjMaterialUsageCreateEntity, ProjVendInvoiceInfoSubLineEntity, ProjItemTransCDREntity
ProjTransId→ProjRevenueTrans.TransId(key of ProjRevenueTrans)Join on all of:
ProjTransId=ProjRevenueTrans.TransId,ProjId=ProjRevenueTrans.ProjIdRelation also requires TransactionType = SMATransactionType::Fee.
Many SMAServiceOrderLine records → zero or one ProjRevenueTrans record
Not exposed by a public entity.
ServiceObjectId→SMAServiceObjectTable.ServiceObjectId(key of SMAServiceObjectTable)Many SMAServiceOrderLine records → zero or one SMAServiceObjectTable record
SMAServiceObjectTable details: see SMAServiceObjectTableBiEntity
ServiceOrderId→SMAServiceOrderTable.ServiceOrderId(key of SMAServiceOrderTable)Many SMAServiceOrderLine records → exactly one SMAServiceOrderTable record
SMAServiceOrderTable details: see SMAServiceOrderHeaderEntity, SMAServiceOrderLineEntity, SMAServiceOrderTableBiEntity
ServiceTaskId→SMAServiceTask.ServiceTaskId(key of SMAServiceTask)Many SMAServiceOrderLine records → zero or one SMAServiceTask record
SMAServiceTask details: see SMAServiceTaskBiEntity
TaxItemGroupExpense→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many SMAServiceOrderLine records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
Unit→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many SMAServiceOrderLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
Worker→HcmWorker.RecId(key of HcmWorker)Many SMAServiceOrderLine records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with SMAServiceOrderLineBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.