Table

SMAServiceObjectRelation

Service objects

Links a service object to a service agreement or a service order. The relation type and relation key identify which agreement or order is meant. It can also carry a sales order, a template BOM and an inventory dimension. It has no defined key.

Table name
SMAServiceObjectRelation
Module
Service management
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
SMAManagement
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdPoints to the inventory dimension record that goes with this service object relation.String (20)
InventDimId
NoInventDim.inventDimIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RelKeyIdThe ID of the related agreement or service order. It is read together with the relation type.String
SMATableKeyId
YesSMAAgreementTable.AgreementIdSMAServiceOrderTable.ServiceOrderIdNone
RelTableIdSays which kind of record the relation key refers to, either a service agreement or a service order.Integer
RefTableId
YesSMAAgreementTable.TableIdSMAServiceOrderTable.TableIdNone
SalesIdThe sales order linked to this service object relation.String (20)
SalesId
NoSalesTable.SalesIdNone
ServiceObjectIdThe service object that is linked by this relation.String (20)
SMAServiceObject
YesSMAServiceObjectTable.ServiceObjectIdNone
ServiceObjectRefA reference text for the service object. The metadata does not say more about its use.low confidenceString (30)
SMAServiceObjectRef
NoNone
ServiceObjectRelationIdThe ID of this service object relation. It also relates to service agreement lines.String (20)
SMAServiceObjectRelationId
YesNone
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
TemplateBOMIdThe template bill of materials linked to this relation.String (20)
SMATemplateBOMId
NoSMATemplateBOMTable.TemplateBOMIdNone

Indexes (2)

Relations (8)

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

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SMAServiceObjectRelation records → zero or one InventDim record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many SMAServiceObjectRelation records → zero or one SalesTable record

  • SMAAgreementLines → SMAAgreementLine

    Join on RelTableId = SMAAgreementLine.TableId, RelKeyId = SMAAgreementLine.AgreementId, ServiceObjectRelationId = SMAAgreementLine.ServiceObjectRelationId

    Many SMAServiceObjectRelation records → zero or one SMAAgreementLine record

  • SMAAgreementTable → SMAAgreementTable

    Join on RelKeyId = SMAAgreementTable.AgreementId, RelTableId = SMAAgreementTable.TableId

    Many SMAServiceObjectRelation records → zero or one SMAAgreementTable record

  • SMAObjectTable → SMAServiceObjectTable

    Join on ServiceObjectId = SMAServiceObjectTable.ServiceObjectId

    One or more SMAServiceObjectRelation records → exactly one SMAServiceObjectTable record

  • SMAServiceOrderLine → SMAServiceOrderLine

    Join on RelTableId = SMAServiceOrderLine.TableId, RelKeyId = SMAServiceOrderLine.ServiceOrderId, ServiceObjectRelationId = SMAServiceOrderLine.ServiceObjectRelationId

    Many SMAServiceObjectRelation records → zero or one SMAServiceOrderLine record

  • SMAServiceOrderTable → SMAServiceOrderTable

    Join on RelKeyId = SMAServiceOrderTable.ServiceOrderId, RelTableId = SMAServiceOrderTable.TableId

    Many SMAServiceObjectRelation records → zero or one SMAServiceOrderTable record

  • SMATemplateBOMTable → SMATemplateBOMTable

    Join on TemplateBOMId = SMATemplateBOMTable.TemplateBOMId

    Many SMAServiceObjectRelation records → zero or one SMATemplateBOMTable record

Get this data out

No public entity reads from SMAServiceObjectRelation. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk