Data entity

SMAServiceAgreementLineEntity

Holds the lines of service agreements, keyed by service agreement ID and line number. Each line covers an item, service object, service task and period dates. It also holds project, sales currency, tax group, site and time window details. It links to workers, inventory dimensions, projects and financial dimensions.

Entity name
SMAServiceAgreementLineEntity
Public entity name
ServiceAgreementLine
OData collection
ServiceAgreementLines
Category
Document
Module
Service management
Read-only
No
Data management enabled
Yes
Configuration key
SMAManagement
Keys
ServiceAgreementId, LineNumber
Staging table
SMAServiceAgreementLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ServiceAgreementLines
Dataverse virtual table
mserp_smaserviceagreementlineentity. 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

  • SMAAgreementLine · root
  • HcmWorker · OuterJoin to SMAAgreementLine · read-only
  • DefaultDimensionDAVS (table DimensionSetEntity) · OuterJoin to SMAAgreementLine · read-only
  • InventDim · OuterJoin to SMAAgreementLine · read-only
  • ProjTable · OuterJoin to SMAAgreementLine · read-only

Fields (43)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
DefaultLedgerDimensionDefault financial dimension set for the line.Int64
InventSiteSMAItemLinkedDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdSMAAgreementLine.DefaultDimension
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
IsLineSuspendedYes/no flag showing whether the line is stopped.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesSMAAgreementLine.Suspended
ItemNumberItem number on the line.String (20)
ItemId
NoYesInventTable.ItemIdSMAAgreementLine.ItemId
ItemSetupItem setup: item journal or item requirement.Enum
SMAItemSetupType
  • ItemConsumption 0
  • ItemRequirement 1
NoYesSMAAgreementLine.ItemSetupType
ItemUnitSymbolUnit of measure for the line.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolSMAAgreementLine.Unit
LineDescriptionShort description of the line.String (60)
Description
NoYesSMAAgreementLine.Description
LineNumberLine number within the agreement.Integer
SMAAgreementLineNum
YesYesSMAAgreementLine.AgreementLineNum
LineNoteLonger text describing the service.String (1000)
SMADescription
NoYesSMAAgreementLine.DescriptionService
PeriodEndDateDate on which the line ends.Date
EndDate
NoYesSMAAgreementLine.EndDate
PeriodStartDateDate on which the line starts.Date
StartDate
YesYesSMAAgreementLine.StartDate
ProjectActivityNumberActivity linked to the line.String (50)
ProjActivityNumber
NoYessmmActivities.ActivityNumberSMAAgreementLine.ActivityNumber
ProjectCustomerAccountNumberCustomer account for the project, pointing to the customers table.String (20)
CustAccount
NoYesCustTable.AccountNumProjTable.CustAccount
ProjectCategoryIdProject category for the line.String (30)
ProjCategoryId
YesYesProjCategory.CategoryIdSMAAgreementLine.ProjCategoryId
ProjectSalesCurrencyCodeSales currency code for the line.String (3)
ProjSalesCurrencyCode
YesYesCurrency.CurrencyCodeSMAAgreementLine.ProjCurrencyId
ProjectIdProject linked to the line.String (20)
SMAProjId
YesYesProjTable.ProjIdSMAAgreementLine.ProjId
ProjectLinePropertyIdProject line property for the line.String
ProjLinePropertyId
YesYesProjLineProperty.LinePropertyIdSMAAgreementLine.ProjLinePropertyId
ProjectTaxGroupCodeSales tax group for the line.String
ProjTaxGroup
NoYesTaxGroupHeading.TaxGroupSMAAgreementLine.ProjTaxGroupId
ProjectTaxItemGroupCodeItem sales tax group for the line.String
ProjTaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupSMAAgreementLine.ProjTaxItemGroupId
ProjectDescriptionTransaction text for the line.String (60)
TransTxt
NoYesSMAAgreementLine.ProjTransTxt
ServiceAgreementIdService agreement that the line belongs to.String
SMAAgreementId
YesYesSMAAgreementTable.AgreementIdSMAAgreementLine.AgreementId
ServiceIntervalIdService interval used by the line.String
SMAIntervalId
NoYesSMAAgreementInterval.IntervalIdSMAAgreementLine.IntervalId
ServiceObjectIdService object that the line applies to.String (20)
SMAServiceObjectId
NoYesSMAServiceObjectTable.ServiceObjectIdSMAAgreementLine.ServiceObjectId
ServiceObjectRelationIdService object relation used by the line.String (20)
SMAServiceObjectRelationId
NoYesSMAAgreementLine.ServiceObjectRelationId
ServiceTaskIdService task for the line.String
SMAServiceTaskId
NoYesSMAServiceTask.ServiceTaskIdSMAAgreementLine.ServiceTaskId
ServiceEndBeforeTimeTime of day by which the service must end.Time
SMAEndBeforeTime
NoYesSMAAgreementLine.ServiceTimeEndBefore
ServiceStartAfterTimeTime of day after which the service can start.Time
SMAStartAfter
NoYesSMAAgreementLine.ServiceTimeStartAfter
ServiceTimeWindowIdTime window linked to the line.String
SMATimeAgreementId
NoYesSMATimeAgreement.TimeAgreementIdSMAAgreementLine.TimeAgreementId
ServiceTransactionTypeTransaction type of the line: hour, expense, item or fee.Enum
SMATransactionType
  • Hour 1
  • Expense 2
  • Item 3
  • Fee 4
NoYesSMAAgreementLine.TransactionType
WorkerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
ServiceInventoryAgreementSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
ServiceInventoryAgreementWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
ServiceInventoryAgreementWarehouseLocationIdLocation inside the warehouse.String
WMSLocationId
NoYesWMSLocation.wMSLocationIdInventDim.wMSLocationId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
ItemBatchNumberBatch number of the inventory.String (20)
InventBatchId
NoYesInventDim.inventBatchId
ItemSerialNumberSerial number of the inventory.String (20)
InventSerialId
NoYesInventDim.inventSerialId
HoursNumber of hours on the agreement line.Real
SMAQuantity
NoYescomputed
ItemQuantityQuantity of items on the agreement line.Real
SMAQuantity
NoYescomputed
ExpenseQuantityQuantity of expenses on the agreement line.Real
SMAQuantity
NoYescomputed

Foreign keys (24)

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.

Need help with SMAServiceAgreementLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk