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· rootHcmWorker· OuterJoin toSMAAgreementLine· read-onlyDefaultDimensionDAVS(tableDimensionSetEntity) · OuterJoin toSMAAgreementLine· read-onlyInventDim· OuterJoin toSMAAgreementLine· read-onlyProjTable· OuterJoin toSMAAgreementLine· read-only
Fields (43)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DefaultLedgerDimensionDefault financial dimension set for the line. | Int64InventSiteSMAItemLinkedDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | SMAAgreementLine.DefaultDimension |
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
IsLineSuspendedYes/no flag showing whether the line is stopped. | EnumNoYesId
| No | Yes | SMAAgreementLine.Suspended | |
ItemNumberItem number on the line. | String (20)ItemId | No | Yes | InventTable.ItemId | SMAAgreementLine.ItemId |
ItemSetupItem setup: item journal or item requirement. | Enum
| No | Yes | SMAAgreementLine.ItemSetupType | |
ItemUnitSymbolUnit of measure for the line. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | SMAAgreementLine.Unit |
LineDescriptionShort description of the line. | String (60)Description | No | Yes | SMAAgreementLine.Description | |
LineNumberLine number within the agreement. | IntegerSMAAgreementLineNum | Yes | Yes | SMAAgreementLine.AgreementLineNum | |
LineNoteLonger text describing the service. | String (1000)SMADescription | No | Yes | SMAAgreementLine.DescriptionService | |
PeriodEndDateDate on which the line ends. | DateEndDate | No | Yes | SMAAgreementLine.EndDate | |
PeriodStartDateDate on which the line starts. | DateStartDate | Yes | Yes | SMAAgreementLine.StartDate | |
ProjectActivityNumberActivity linked to the line. | String (50)ProjActivityNumber | No | Yes | smmActivities.ActivityNumber | SMAAgreementLine.ActivityNumber |
ProjectCustomerAccountNumberCustomer account for the project, pointing to the customers table. | String (20)CustAccount | No | Yes | CustTable.AccountNum | ProjTable.CustAccount |
ProjectCategoryIdProject category for the line. | String (30)ProjCategoryId | Yes | Yes | ProjCategory.CategoryId | SMAAgreementLine.ProjCategoryId |
ProjectSalesCurrencyCodeSales currency code for the line. | String (3)ProjSalesCurrencyCode | Yes | Yes | Currency.CurrencyCode | SMAAgreementLine.ProjCurrencyId |
ProjectIdProject linked to the line. | String (20)SMAProjId | Yes | Yes | ProjTable.ProjId | SMAAgreementLine.ProjId |
ProjectLinePropertyIdProject line property for the line. | StringProjLinePropertyId | Yes | Yes | ProjLineProperty.LinePropertyId | SMAAgreementLine.ProjLinePropertyId |
ProjectTaxGroupCodeSales tax group for the line. | StringProjTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | SMAAgreementLine.ProjTaxGroupId |
ProjectTaxItemGroupCodeItem sales tax group for the line. | StringProjTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | SMAAgreementLine.ProjTaxItemGroupId |
ProjectDescriptionTransaction text for the line. | String (60)TransTxt | No | Yes | SMAAgreementLine.ProjTransTxt | |
ServiceAgreementIdService agreement that the line belongs to. | StringSMAAgreementId | Yes | Yes | SMAAgreementTable.AgreementId | SMAAgreementLine.AgreementId |
ServiceIntervalIdService interval used by the line. | StringSMAIntervalId | No | Yes | SMAAgreementInterval.IntervalId | SMAAgreementLine.IntervalId |
ServiceObjectIdService object that the line applies to. | String (20)SMAServiceObjectId | No | Yes | SMAServiceObjectTable.ServiceObjectId | SMAAgreementLine.ServiceObjectId |
ServiceObjectRelationIdService object relation used by the line. | String (20)SMAServiceObjectRelationId | No | Yes | SMAAgreementLine.ServiceObjectRelationId | |
ServiceTaskIdService task for the line. | StringSMAServiceTaskId | No | Yes | SMAServiceTask.ServiceTaskId | SMAAgreementLine.ServiceTaskId |
ServiceEndBeforeTimeTime of day by which the service must end. | TimeSMAEndBeforeTime | No | Yes | SMAAgreementLine.ServiceTimeEndBefore | |
ServiceStartAfterTimeTime of day after which the service can start. | TimeSMAStartAfter | No | Yes | SMAAgreementLine.ServiceTimeStartAfter | |
ServiceTimeWindowIdTime window linked to the line. | StringSMATimeAgreementId | No | Yes | SMATimeAgreement.TimeAgreementId | SMAAgreementLine.TimeAgreementId |
ServiceTransactionTypeTransaction type of the line: hour, expense, item or fee. | Enum
| No | Yes | SMAAgreementLine.TransactionType | |
WorkerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ServiceInventoryAgreementSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
ServiceInventoryAgreementWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
ServiceInventoryAgreementWarehouseLocationIdLocation inside the warehouse. | StringWMSLocationId | No | Yes | WMSLocation.wMSLocationId | InventDim.wMSLocationId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
ItemBatchNumberBatch number of the inventory. | String (20)InventBatchId | No | Yes | InventDim.inventBatchId | |
ItemSerialNumberSerial number of the inventory. | String (20)InventSerialId | No | Yes | InventDim.inventSerialId | |
HoursNumber of hours on the agreement line. | RealSMAQuantity | No | Yes | computed | |
ItemQuantityQuantity of items on the agreement line. | RealSMAQuantity | No | Yes | computed | |
ExpenseQuantityQuantity of expenses on the agreement line. | RealSMAQuantity | No | Yes | computed |
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.
DefaultLedgerDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many SMAAgreementLine records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
ItemNumber→InventTable.ItemId(key of InventTable)Many SMAAgreementLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
ItemUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many SMAAgreementLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
ProjectActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Many SMAAgreementLine records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
ProjectCustomerAccountNumber→CustTable.AccountNum(key of CustTable)Many ProjTable records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
ProjectCategoryId→ProjCategory.CategoryId(key of ProjCategory)Many SMAAgreementLine records → exactly one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
ProjectSalesCurrencyCode→Currency.CurrencyCode(key of Currency)Many SMAAgreementLine records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ProjectId→ProjTable.ProjId(key of ProjTable)Many SMAAgreementLine records → exactly one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ProjectLinePropertyId→ProjLineProperty.LinePropertyId(key of ProjLineProperty)Many SMAAgreementLine records → exactly one ProjLineProperty record
ProjLineProperty details: see ProjProjectLinePropertyEntity, TrvExpMobileProjLinePropertyEntity, ProjBillingTypeLinePropertyEntity
ProjectTaxGroupCode→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many SMAAgreementLine records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
ProjectTaxItemGroupCode→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many SMAAgreementLine records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
ServiceAgreementId→SMAAgreementTable.AgreementId(key of SMAAgreementTable)Many SMAAgreementLine records → exactly one SMAAgreementTable record
SMAAgreementTable details: see SMAServiceAgreementHeaderEntity
ServiceIntervalId→SMAAgreementInterval.IntervalId(key of SMAAgreementInterval)Many SMAAgreementLine records → zero or one SMAAgreementInterval record
Not exposed by a public entity.
ServiceObjectId→SMAServiceObjectTable.ServiceObjectId(key of SMAServiceObjectTable)Many SMAAgreementLine records → zero or one SMAServiceObjectTable record
SMAServiceObjectTable details: see SMAServiceObjectTableBiEntity
ServiceTaskId→SMAServiceTask.ServiceTaskId(key of SMAServiceTask)Many SMAAgreementLine records → zero or one SMAServiceTask record
SMAServiceTask details: see SMAServiceTaskBiEntity
ServiceTimeWindowId→SMATimeAgreement.TimeAgreementId(key of SMATimeAgreement)Many SMAAgreementLine records → zero or one SMATimeAgreement record
Not exposed by a public entity.
ServiceInventoryAgreementSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
ServiceInventoryAgreementWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
ServiceInventoryAgreementWarehouseLocationId→WMSLocation.wMSLocationId(key of WMSLocation)Join on all of:
ServiceInventoryAgreementWarehouseLocationId=WMSLocation.wMSLocationId,ServiceInventoryAgreementWarehouseId=WMSLocation.inventLocationIdMany InventDim records → zero or one WMSLocation record
WMSLocation details: see WMSWarehouseLocationEntity, WHSWarehouseSlottingTemplateDetailsV3Entity, WHSWarehouseLocationAdvancedWarehouseManagementProcessEnablementRequestEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
Need help with SMAServiceAgreementLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.