Table
SMAAgreementLine
Service agreement lines
Holds the lines of a service agreement. The key is the agreement ID and the line number. A line sets the service object, item, project, dates, service interval, time window and transaction type (hour, expense, item or fee).
- Table name
SMAAgreementLine- Module
Service management- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
SMAManagement- Primary index
AgreementLineNumIdx- Replacement key
AgreementLineNumIdx- Key fields
AgreementId, AgreementLineNum- Model
Foundation
Fields (35)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AgreementIdService agreement that the line belongs to. | StringSMAAgreementId | Yes | SMAAgreementTable.AgreementId | SMAServiceAgreementLineEntity |
AgreementLineNumLine number within the agreement. | IntegerSMAAgreementLineNum | No | SMAServiceAgreementLineEntity | |
ActivityNumberActivity linked to the line. | String (50)ProjActivityNumber | No | smmActivities.ActivityNumber | SMAServiceAgreementLineEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension set for the line. | Int64InventSiteSMAItemLinkedDimensionValueSet | No | DimensionAttributeValueSet.RecId | SMAServiceAgreementLineEntity |
DescriptionShort description of the line. | String (60)Description | No | SMAServiceAgreementLineEntity | |
DescriptionServiceLonger text describing the service. | String (1000)SMADescription | No | SMAServiceAgreementLineEntity | |
EndDateDate on which the line ends. | DateEndDate | No | SMAServiceAgreementLineEntity | |
IntervalIdService interval used by the line. | StringSMAIntervalId | No | SMAAgreementInterval.IntervalId | SMAServiceAgreementLineEntity |
InventDimIdInventory dimension combination for the item. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemIdItem number on the line. | String (20)ItemId | No | InventTable.ItemId | SMAServiceAgreementLineEntity |
ItemSetupTypeItem setup: item journal or item requirement. | EnumSMAItemSetupType (enum) | No | SMAServiceAgreementLineEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjCategoryIdProject category for the line. | String (30)ProjCategoryId | Yes | ProjCategory.CategoryId | SMAServiceAgreementLineEntity |
ProjCurrencyIdSales currency code for the line. | String (3)ProjSalesCurrencyCode | Yes | Currency.CurrencyCode | SMAServiceAgreementLineEntity |
ProjIdProject linked to the line. | String (20)SMAProjId | Yes | ProjTable.ProjId | SMAServiceAgreementLineEntity |
ProjLinePropertyIdProject line property for the line. | StringProjLinePropertyId | Yes | ProjLineProperty.LinePropertyId | SMAServiceAgreementLineEntity |
ProjTaxGroupIdSales tax group for the line. | StringProjTaxGroup | No | TaxGroupHeading.TaxGroup | SMAServiceAgreementLineEntity |
ProjTaxItemGroupIdItem sales tax group for the line. | StringProjTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | SMAServiceAgreementLineEntity |
ProjTransTxtTransaction text for the line. | String (60)TransTxt | No | SMAServiceAgreementLineEntity | |
QtyQuantity on the line. | RealSMAQuantity | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ServiceObjectIdService object that the line applies to. | String (20)SMAServiceObjectId | No | SMAServiceObjectTable.ServiceObjectId | SMAServiceAgreementLineEntity |
ServiceObjectRelationIdService object relation used by the line. | String (20)SMAServiceObjectRelationId | No | SMAServiceAgreementLineEntity | |
ServiceTaskIdService task for the line. | StringSMAServiceTaskId | No | SMAServiceTask.ServiceTaskId | SMAServiceAgreementLineEntity |
ServiceTimeEndBeforeTime of day by which the service must end. | TimeSMAEndBeforeTime | No | SMAServiceAgreementLineEntity | |
ServiceTimeStartAfterTime of day after which the service can start. | TimeSMAStartAfter | No | SMAServiceAgreementLineEntity | |
StartDateDate on which the line starts. | DateStartDate | Yes | SMAServiceAgreementLineEntity | |
SuspendedYes/no flag showing whether the line is stopped. | EnumNoYesIdNoYes (enum) | No | SMAServiceAgreementLineEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TimeAgreementIdTime window linked to the line. | StringSMATimeAgreementId | No | SMATimeAgreement.TimeAgreementId | SMAServiceAgreementLineEntity |
TransactionTypeTransaction type of the line: hour, expense, item or fee. | EnumSMATransactionType (enum) | No | SMAServiceAgreementLineEntity | |
UnitUnit of measure for the line. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | SMAServiceAgreementLineEntity |
WorkerWorker linked to the line. | Int64SMAWorker | No | HcmWorker.RecId | None |
Indexes (3)
AgreementLineNumIdxPrimary indexReplacement keyUnique, alternate key.
ServiceObjectIdxNot unique.
ServiceTaskIdxNot unique.
Relations (19)
Each relation joins SMAAgreementLine to another table on the fields shown.
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany SMAAgreementLine records → zero or one DimensionAttributeValueSet record
HcmWorker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany SMAAgreementLine records → zero or one HcmWorker record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany SMAAgreementLine records → zero or one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany SMAAgreementLine records → zero or one InventTable record
ProjCategory→ProjCategoryJoin on
ProjCategoryId = ProjCategory.CategoryIdMany SMAAgreementLine records → exactly one ProjCategory record
ProjectSalesCurrency→CurrencyJoin on
ProjCurrencyId = Currency.CurrencyCodeMany SMAAgreementLine records → exactly one Currency record
ProjectTaxGroupHeading→TaxGroupHeadingJoin on
ProjTaxGroupId = TaxGroupHeading.TaxGroupMany SMAAgreementLine records → zero or one TaxGroupHeading record
ProjectTaxItemGroupHeading→TaxItemGroupHeadingJoin on
ProjTaxItemGroupId = TaxItemGroupHeading.TaxItemGroupMany SMAAgreementLine records → zero or one TaxItemGroupHeading record
ProjLineProperty→ProjLinePropertyJoin on
ProjLinePropertyId = ProjLineProperty.LinePropertyIdMany SMAAgreementLine records → exactly one ProjLineProperty record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany SMAAgreementLine records → exactly one ProjTable record
SMAAgreementInterval→SMAAgreementIntervalJoin on
IntervalId = SMAAgreementInterval.IntervalIdMany SMAAgreementLine records → zero or one SMAAgreementInterval record
SMAAgreementTable→SMAAgreementTableJoin on
AgreementId = SMAAgreementTable.AgreementIdMany SMAAgreementLine records → exactly one SMAAgreementTable record
SMAServiceObjectRelation→SMAServiceObjectRelationJoin on
ServiceObjectRelationId = SMAServiceObjectRelation.ServiceObjectRelationIdMany SMAAgreementLine records → zero or one SMAServiceObjectRelation record
SMAServiceObjectTable→SMAServiceObjectTableJoin on
ServiceObjectId = SMAServiceObjectTable.ServiceObjectIdMany SMAAgreementLine records → zero or one SMAServiceObjectTable record
SMAServiceOrderLine→SMAServiceOrderLineJoin on
AgreementId = SMAServiceOrderLine.AgreementId,AgreementLineNum = SMAServiceOrderLine.AgreementLineNumMany SMAAgreementLine records → zero or one SMAServiceOrderLine record
SMAServiceTask→SMAServiceTaskJoin on
ServiceTaskId = SMAServiceTask.ServiceTaskIdMany SMAAgreementLine records → zero or one SMAServiceTask record
SMATimeAgreement→SMATimeAgreementJoin on
TimeAgreementId = SMATimeAgreement.TimeAgreementIdMany SMAAgreementLine records → zero or one SMATimeAgreement record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany SMAAgreementLine records → zero or one smmActivities record
Unit→UnitOfMeasureJoin on
Unit = UnitOfMeasure.SymbolMany SMAAgreementLine records → zero or one UnitOfMeasure record
Get this data out
Tables are not exposed directly. These public entities read from SMAAgreementLine; use one of them in Power BI, Power Platform or a data management project.
SMAServiceAgreementLineEntity· 27 fields from this table
Need help with SMAAgreementLine in a report, an integration or a migration? Talk to Dr Dynamics.