Table

SMAServiceLevelAgreementReason

Stage reasons

Records the reasons given for stage changes, stops, cancellations or manual entries. It covers service orders and cases, as set by the log type. Each row can link to a reason code and a service stage. The table has no defined key.

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

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text describing the reason.String (60)
Description
NoNone
LogTypeKind of record the reason belongs to. Values are Service order and Case.Enum
SMAServiceLevelAgreementLogType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonIdThe stage reason code used. Points to a stage reason code.String
SMAReasonId
YesSMAReasonTable.ReasonIdNone
ReasonTypeKind of reason. Values are Stage change, Stop, Cancel and Manual.Enum
SMAServiceOrderReasonType
SMAReasonType (enum)
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
RefRecIdRecord ID of the case detail that the reason refers to.Int64
RefRecId
YesCaseDetail.RecIdNone
StageIdThe service stage linked to the reason. Points to a service stage.String
SMAStageId
YesSMAStageTable.StageIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • CaseDetail → CaseDetail

    Join on RefRecId = CaseDetail.RecId

    Many SMAServiceLevelAgreementReason records → exactly one CaseDetail record

  • SMAReasonTable → SMAReasonTable

    Join on ReasonId = SMAReasonTable.ReasonId

    Many SMAServiceLevelAgreementReason records → exactly one SMAReasonTable record

  • SMAStageTable → SMAStageTable

    Join on StageId = SMAStageTable.StageId

    Many SMAServiceLevelAgreementReason records → exactly one SMAStageTable record

Get this data out

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

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

Email sales@drdynamics.co.uk