Table

SMAServiceOrderLine

Service order line

Holds the lines of a service order. The key is the service order ID plus a line number. Each line has a transaction type (hour, expense, item or fee), quantity, prices, dates and project details. It also links to the service object, task, agreement and worker, and includes fields used for India.

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

Fields (77)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ServiceOrderIdService order the line belongs to.String
SMAServiceOrderId
YesSMAServiceOrderTable.ServiceOrderIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntityTaxSMAServiceOrderLineTransTaxInformationEntity
ServiceOrderLineNumLine number within the service order.Real
LineNum
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntityTaxSMAServiceOrderLineTransTaxInformationEntity
ActivityIdDispatch activity linked to the line.String (50)
smmActivityId
NosmmActivities.ActivityNumberSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ActivityNumberActivity number of the linked project activity.String (50)
ProjActivityNumber
NosmmActivities.ActivityNumberSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
AgreementIdService agreement the line belongs to.String
SMAAgreementId
NoSMAAgreementTable.AgreementIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
AgreementLineNumLine number on the service agreement.Integer
SMAAgreementLineNum
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
AssessableValue_INAmount in transaction currency, used for India.low confidenceReal
AmountCur
NoNone
CompanyLocation_INCompany location record, used for India.Int64
LogisticsLocationRecId
NoNone
CurrencyIdCostCurrency used for the cost price.String (3)
CurrencyCode
NoCurrency.CurrencyCodeSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
CustomerLocation_INRecord ID of a related customer location, used for India. The target is not stated.low confidenceInt64
RefRecId
NoNone
CustomerTaxInformation_INRecord ID of related customer tax information, used for India. The target is not stated.low confidenceInt64
RefRecId
NoNone
CustomsTariffCodeTable_INRecord ID of a customs tariff code, used for India. The target is not stated.low confidenceInt64
RefRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoSMAServiceOrderLineBiEntity
DateCalculatedDate the line was calculated.Date
SMADateCalculated
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
DateExecutionPosting date of the line.Date
SMADateExecution
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
DateRangeFromStart of the date range for the line.Date
SMADateRangeFrom
YesSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
DateRangeToEnd of the date range for the line.Date
SMADateRangeTo
YesSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
DefaultDimensionDefault financial dimension set for the line.Int64
InventSiteSMAItemLinkedDimensionValueSet
NoDimensionAttributeValueSet.RecIdSMAServiceOrderLineEntity
DescriptionShort description of the line.String (60)
Description
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
DescriptionServiceLonger text describing the service.String (1000)
SMADescription
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
DirectSettlement_INDirect settlement option (None, RG23A, RG23C or PLA), used for India.Enum
DirectSettlement_IN (enum)
NoNone
DSA_INYes/No flag with no label, used for India. Meaning not clear.low confidenceEnum
NoYes (enum)
NoNone
ExciseRecordType_INExcise record type (None, RG23A, RG23C or RG23D), used for India.Enum
ExciseRecordType_IN (enum)
NoNone
ExciseTariffCodes_INRecord ID of an excise tariff code, used for India. The target is not stated.low confidenceInt64
RefRecId
NoNone
ExciseType_INExcise type (None, Manufacturer or Trader), used for India.Enum
ExciseType_IN (enum)
NoNone
Exempt_INYes/No flag with no label, probably an exemption marker, used for India.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
HSNCodeTable_INRecord ID of an HSN code, used for India. The target is not stated.low confidenceInt64
RefRecId
NoNone
InventDimIdInventory dimension record for the line.String (20)
InventDimId
NoInventDim.inventDimIdSMAServiceOrderLineBiEntity
InvoiceIdInvoice linked to the line.String (50)
InvoiceId
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
IsSalesPriceModifiedYes/No flag, possibly showing that the sales price was changed. The metadata gives no label.low confidenceEnum
NoYes (enum)
NoSMAServiceOrderLineBiEntity
ITCCategory_INInput tax credit category (Input, Capital Goods or Others), used for India.Enum
ITCCategory_IN (enum)
NoNone
ItemIdItem on the line.String (20)
ItemId
NoInventTable.ItemIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
LedgerDimensionOffset ledger account for the line.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
MaximumRetailPrice_INMaximum retail price, used for India.Real
MaximumRetailPrice_IN
NoNone
OffsetAccountTypeExpenseType of the offset account, such as ledger, customer, vendor or project.Enum
LedgerJournalACType (enum)
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
OriginHow the line was created: by the system, a user or the web.Enum
SMAServiceOrderOrigin (enum)
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
PackedExtensionsPacked container holding extension data.Container
SysExtensionSerializerPackedContainer
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostalAddress_INLocation record for the postal address, used for India.Int64
LogisticsLocationRecId
NoNone
ProjCategoryIdProject category of the line.String (30)
ProjCategoryId
YesProjCategory.CategoryIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ProjCostPriceCost price of the line.Real
ProjCostPriceCost
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ProjCurrencyCodeCurrency used for the sales price.String (3)
ProjSalesCurrencyCode
NoCurrency.CurrencyCodeSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ProjIdProject linked to the line.String (20)
ProjId
NoProjTable.ProjIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ProjLinePropertyIdProject line property of the line.String
ProjLinePropertyId
YesProjLineProperty.LinePropertyIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ProjSalesPriceSales price of the line.Real
ProjSalesPriceCost
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ProjTaxGroupSales tax group of the line.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ProjTaxItemGroupItem sales tax group of the line.String
ProjTaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ProjTransIdID of the related project transaction (cost, hour or item).String (20)
ProjTransIdBase
NoProjCostTrans.TransIdProjEmplTrans.TransIdProjItemTrans.ProjTransIdProjRevenueTrans.TransIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ProjTransTxtDescription text for the project transaction.String (60)
TransTxt
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
QtyQuantity on the line.Real
SMAQuantity
YesSMAServiceOrderLineBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoSMAServiceOrderLineBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoSMAServiceOrderLineBiEntity
SalesTaxFormTypes_INSales tax form type record, used for India.Int64
SalesTaxFormTypesRecId_IN
NoNone
ServiceAccountingCodeTable_INRecord ID of a service accounting code, used for India. The target is not stated.low confidenceInt64
RefRecId
NoNone
ServiceCodeTable_INRecord ID of a service code, used for India. The target is not stated.low confidenceInt64
RefRecId
NoNone
ServiceObjectIdService object the line relates to.String (20)
SMAServiceObjectId
NoSMAServiceObjectTable.ServiceObjectIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ServiceObjectRelationIdService object relation linked to the line.String (20)
SMAServiceObjectRelationId
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ServiceOrderStatusStatus of the line: Created, Posted or Canceled.Enum
SMAServiceOrderStatus (enum)
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ServiceTaskIdService task linked to the line.String
SMAServiceTaskId
NoSMAServiceTask.ServiceTaskIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ServiceTimeEndBeforeLatest time by which the service should end.Time
SMAEndBeforeTime
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
ServiceTimeStartAfterEarliest time at which the service should start.Time
SMAStartAfter
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
SignOffShows whether the line has been signed off.Enum
SMASignOff
NoYes (enum)
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
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
TaxGroupExpenseSales tax group for the expense.String
TaxGroupJournal
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
TaxInventVATCommodityCodeId_INVAT commodity code, used for India.String
TaxInventVATCommodityCodeId_IN
NoNone
TaxItemGroupExpenseItem sales tax group for the expense.String
TaxGroupJournal
NoTaxItemGroupHeading.TaxItemGroupSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
TCSGroup_INWithholding tax group for tax collected at source, used for India.String
TaxWithholdGroup
NoNone
TDSGroup_INWithholding tax group for tax deducted at source, used for India.String
TaxWithholdGroup
NoNone
TimeSheetEndTimeTime the service work finished.Time
SMAServiceFinishedTime
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
TimeSheetStartTimeTime the service work started.Time
SMAServiceStartedTime
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
TransactionTypeKind of line: Hour, Expense, Item or Fee.Enum
SMATransactionType (enum)
NoSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
UnitUnit of measure for the quantity.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity
VendorLocation_INRecord ID of a vendor location, used for India. The target is not stated.low confidenceInt64
RefRecId
NoNone
VendorTaxInformation_INRecord ID of related vendor tax information, used for India. The target is not stated.low confidenceInt64
RefRecId
NoNone
WarehouseLocation_INRecord ID of a warehouse location, used for India. The target is not stated.low confidenceInt64
RefRecId
NoNone
WorkerWorker who carried out the line.Int64
SMAWorker
NoHcmWorker.RecIdSMAServiceOrderLineEntitySMAServiceOrderLineBiEntity

Indexes (4)

Relations (25)

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

  • Currency → Currency

    Join on CurrencyIdCost = Currency.CurrencyCode

    Many SMAServiceOrderLine records → zero or one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many SMAServiceOrderLine records → zero or one DimensionAttributeValueSet record

  • DispatchActivity → smmActivities

    Join on ActivityId = smmActivities.ActivityNumber

    Many SMAServiceOrderLine records → zero or one smmActivities record

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many SMAServiceOrderLine records → zero or one HcmWorker record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SMAServiceOrderLine records → zero or one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many SMAServiceOrderLine records → zero or one InventTable record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many SMAServiceOrderLine records → zero or one DimensionAttributeValueCombination record

  • ProjCategory → ProjCategory

    Join on ProjCategoryId = ProjCategory.CategoryId

    Many SMAServiceOrderLine records → exactly one ProjCategory record

  • ProjCostTrans → ProjCostTrans

    Join on ProjId = ProjCostTrans.ProjId, TransactionType = SMATransactionType::Expense, ProjTransId = ProjCostTrans.TransId

    Many SMAServiceOrderLine records → zero or one ProjCostTrans record

  • ProjectActivity → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many SMAServiceOrderLine records → zero or one smmActivities record

  • ProjectSalesCurrency → Currency

    Join on ProjCurrencyCode = Currency.CurrencyCode

    Many SMAServiceOrderLine records → zero or one Currency record

  • ProjectTaxGroupHeading → TaxGroupHeading

    Join on ProjTaxGroup = TaxGroupHeading.TaxGroup

    Many SMAServiceOrderLine records → zero or one TaxGroupHeading record

  • ProjectTaxItemGroupHeading → TaxItemGroupHeading

    Join on ProjTaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many SMAServiceOrderLine records → zero or one TaxItemGroupHeading record

  • ProjEmplTrans → ProjEmplTrans

    Join on ProjId = ProjEmplTrans.ProjId, TransactionType = SMATransactionType::Hour, ProjTransId = ProjEmplTrans.TransId

    Many SMAServiceOrderLine records → zero or one ProjEmplTrans record

  • ProjItemTrans → ProjItemTrans

    Join on ProjId = ProjItemTrans.ProjId, TransactionType = SMATransactionType::Item, ProjTransId = ProjItemTrans.ProjTransId

    Many SMAServiceOrderLine records → zero or one ProjItemTrans record

  • ProjLineProperty → ProjLineProperty

    Join on ProjLinePropertyId = ProjLineProperty.LinePropertyId

    Many SMAServiceOrderLine records → exactly one ProjLineProperty record

  • ProjRevenueTrans → ProjRevenueTrans

    Join on ProjId = ProjRevenueTrans.ProjId, TransactionType = SMATransactionType::Fee, ProjTransId = ProjRevenueTrans.TransId

    Many SMAServiceOrderLine records → zero or one ProjRevenueTrans record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many SMAServiceOrderLine records → zero or one ProjTable record

  • SMAAgreementTable → SMAAgreementTable

    Join on AgreementId = SMAAgreementTable.AgreementId

    Many SMAServiceOrderLine records → zero or one SMAAgreementTable record

  • SMAServiceObjectRelation → SMAServiceObjectRelation

    Join on ServiceObjectRelationId = SMAServiceObjectRelation.ServiceObjectRelationId

    Many SMAServiceOrderLine records → zero or one SMAServiceObjectRelation record

  • SMAServiceObjectTable → SMAServiceObjectTable

    Join on ServiceObjectId = SMAServiceObjectTable.ServiceObjectId

    Many SMAServiceOrderLine records → zero or one SMAServiceObjectTable record

  • SMAServiceOrderTable → SMAServiceOrderTable

    Join on ServiceOrderId = SMAServiceOrderTable.ServiceOrderId

    Many SMAServiceOrderLine records → exactly one SMAServiceOrderTable record

  • SMAServiceTask → SMAServiceTask

    Join on ServiceTaskId = SMAServiceTask.ServiceTaskId

    Many SMAServiceOrderLine records → zero or one SMAServiceTask record

  • TaxItemGroupExpense → TaxItemGroupHeading

    Join on TaxItemGroupExpense = TaxItemGroupHeading.TaxItemGroup

    Many SMAServiceOrderLine records → zero or one TaxItemGroupHeading record

  • Unit → UnitOfMeasure

    Join on Unit = UnitOfMeasure.Symbol

    Many SMAServiceOrderLine records → zero or one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk