Table
SMARepairLine
Repair lines
Holds repair lines for service orders. Each line records a symptom, a diagnosis, a condition, a resolution and a repair stage. It also links to a service object and a technician. The table has no defined key.
- Table name
SMARepairLine- Module
Service management- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
SMARepair- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ConditionIdThe condition of the object found in the repair. Points to a repair condition. | StringSMAConditionId | No | SMAConditionTable.ConditionId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateTimeFinishedDate and time when the repair finished. | UtcDateTimeSMARepairFinishDateTime | No | None | |
DescriptionLonger free text for the repair line. | String (-1)SMAMemo | No | None | |
DiagnosisAreaIdThe diagnosis area for the repair. Points to a diagnosis area. | StringSMADiagnosisAreaId | No | SMADiagnosisArea.DiagnosisAreaId | None |
DiagnosisCodeIdThe diagnosis code within the diagnosis area. | StringSMADiagnosisCodeId | No | SMADiagnosisCode.DiagnosisCodeId | None |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NameShort description of the repair line. | String (60)Name | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RepairLineIdNumber that identifies the repair line. | IntegerSMARepairLineId | No | None | |
RepairStageIdThe stage the repair is in. Points to a repair stage. | StringSMARepairStageId | No | SMARepairStage.RepairStageId | None |
ResolutionIdThe resolution of the repair. Points to a resolution. | StringSMAResolutionId | No | SMAResolutionTable.ResolutionId | None |
ServiceObjectIdThe service object being repaired. | String (20)SMAServiceObjectId | Yes | SMAServiceObjectTable.ServiceObjectId | None |
ServiceObjectRelationIdService object relation the line refers to. | String (20)SMAServiceObjectRelationId | Yes | None | |
ServiceOrderIdThe service order the repair line belongs to. | StringSMAServiceOrderId | Yes | SMAServiceOrderTable.ServiceOrderId | None |
SymptomAreaIdThe symptom area reported for the repair. Points to a symptom area. | StringSMASymptomAreaId | No | SMASymptomArea.SymptomAreaId | None |
SymptomCodeIdThe symptom code within the symptom area. | StringSMASymptomCodeId | No | SMASymptomCode.SMASymptomCodeId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkerThe technician who did the repair. Points to a worker record. | Int64SMAWorker | No | HcmWorker.RecId | None |
Indexes (2)
RepairLineIdIdxServiceOrderId,ServiceObjectId,RepairLineIdNot unique.
RepairStageIdxNot unique.
Relations (12)
Each relation joins SMARepairLine to another table on the fields shown.
DiagnosisCode→SMADiagnosisCodeJoin on
DiagnosisAreaId = SMADiagnosisCode.DiagnosisAreaId,DiagnosisCodeId = SMADiagnosisCode.DiagnosisCodeIdMany SMARepairLine records → zero or one SMADiagnosisCode record
HcmWorker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany SMARepairLine records → zero or one HcmWorker record
ServiceObject→SMAServiceObjectTableJoin on
ServiceObjectId = SMAServiceObjectTable.ServiceObjectIdOne or more SMARepairLine records → exactly one SMAServiceObjectTable record
ServiceObjectRelation→SMAServiceObjectRelationJoin on
ServiceObjectRelationId = SMAServiceObjectRelation.ServiceObjectRelationIdMany SMARepairLine records → exactly one SMAServiceObjectRelation record
ServiceOrder→SMAServiceOrderTableJoin on
ServiceOrderId = SMAServiceOrderTable.ServiceOrderIdMany SMARepairLine records → exactly one SMAServiceOrderTable record
SMAConditionTable→SMAConditionTableJoin on
ConditionId = SMAConditionTable.ConditionIdMany SMARepairLine records → zero or one SMAConditionTable record
SMADiagnosisArea→SMADiagnosisAreaJoin on
DiagnosisAreaId = SMADiagnosisArea.DiagnosisAreaIdMany SMARepairLine records → zero or one SMADiagnosisArea record
SMARepairStage→SMARepairStageJoin on
RepairStageId = SMARepairStage.RepairStageIdMany SMARepairLine records → zero or one SMARepairStage record
SMAResolutionTable→SMAResolutionTableJoin on
ResolutionId = SMAResolutionTable.ResolutionIdMany SMARepairLine records → zero or one SMAResolutionTable record
SMAServiceObjectRelation→SMAServiceObjectRelationJoin on
ServiceObjectRelationId = SMAServiceObjectRelation.ServiceObjectRelationIdMany SMARepairLine records → exactly one SMAServiceObjectRelation record
SMASymptomArea→SMASymptomAreaJoin on
SymptomAreaId = SMASymptomArea.SymptomAreaIdMany SMARepairLine records → zero or one SMASymptomArea record
SymptomCode→SMASymptomCodeJoin on
SymptomAreaId = SMASymptomCode.SMASymptomAreaId,SymptomCodeId = SMASymptomCode.SMASymptomCodeIdMany SMARepairLine records → zero or one SMASymptomCode record
Get this data out
No public entity reads from SMARepairLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with SMARepairLine in a report, an integration or a migration? Talk to Dr Dynamics.