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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ConditionIdThe condition of the object found in the repair. Points to a repair condition.String
SMAConditionId
NoSMAConditionTable.ConditionIdNone
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
DateTimeFinishedDate and time when the repair finished.UtcDateTime
SMARepairFinishDateTime
NoNone
DescriptionLonger free text for the repair line.String (-1)
SMAMemo
NoNone
DiagnosisAreaIdThe diagnosis area for the repair. Points to a diagnosis area.String
SMADiagnosisAreaId
NoSMADiagnosisArea.DiagnosisAreaIdNone
DiagnosisCodeIdThe diagnosis code within the diagnosis area.String
SMADiagnosisCodeId
NoSMADiagnosisCode.DiagnosisCodeIdNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NameShort description of the repair line.String (60)
Name
NoNone
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
RepairLineIdNumber that identifies the repair line.Integer
SMARepairLineId
NoNone
RepairStageIdThe stage the repair is in. Points to a repair stage.String
SMARepairStageId
NoSMARepairStage.RepairStageIdNone
ResolutionIdThe resolution of the repair. Points to a resolution.String
SMAResolutionId
NoSMAResolutionTable.ResolutionIdNone
ServiceObjectIdThe service object being repaired.String (20)
SMAServiceObjectId
YesSMAServiceObjectTable.ServiceObjectIdNone
ServiceObjectRelationIdService object relation the line refers to.String (20)
SMAServiceObjectRelationId
YesNone
ServiceOrderIdThe service order the repair line belongs to.String
SMAServiceOrderId
YesSMAServiceOrderTable.ServiceOrderIdNone
SymptomAreaIdThe symptom area reported for the repair. Points to a symptom area.String
SMASymptomAreaId
NoSMASymptomArea.SymptomAreaIdNone
SymptomCodeIdThe symptom code within the symptom area.String
SMASymptomCodeId
NoSMASymptomCode.SMASymptomCodeIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkerThe technician who did the repair. Points to a worker record.Int64
SMAWorker
NoHcmWorker.RecIdNone

Indexes (2)

Relations (12)

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

  • DiagnosisCode → SMADiagnosisCode

    Join on DiagnosisAreaId = SMADiagnosisCode.DiagnosisAreaId, DiagnosisCodeId = SMADiagnosisCode.DiagnosisCodeId

    Many SMARepairLine records → zero or one SMADiagnosisCode record

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many SMARepairLine records → zero or one HcmWorker record

  • ServiceObject → SMAServiceObjectTable

    Join on ServiceObjectId = SMAServiceObjectTable.ServiceObjectId

    One or more SMARepairLine records → exactly one SMAServiceObjectTable record

  • ServiceObjectRelation → SMAServiceObjectRelation

    Join on ServiceObjectRelationId = SMAServiceObjectRelation.ServiceObjectRelationId

    Many SMARepairLine records → exactly one SMAServiceObjectRelation record

  • ServiceOrder → SMAServiceOrderTable

    Join on ServiceOrderId = SMAServiceOrderTable.ServiceOrderId

    Many SMARepairLine records → exactly one SMAServiceOrderTable record

  • SMAConditionTable → SMAConditionTable

    Join on ConditionId = SMAConditionTable.ConditionId

    Many SMARepairLine records → zero or one SMAConditionTable record

  • SMADiagnosisArea → SMADiagnosisArea

    Join on DiagnosisAreaId = SMADiagnosisArea.DiagnosisAreaId

    Many SMARepairLine records → zero or one SMADiagnosisArea record

  • SMARepairStage → SMARepairStage

    Join on RepairStageId = SMARepairStage.RepairStageId

    Many SMARepairLine records → zero or one SMARepairStage record

  • SMAResolutionTable → SMAResolutionTable

    Join on ResolutionId = SMAResolutionTable.ResolutionId

    Many SMARepairLine records → zero or one SMAResolutionTable record

  • SMAServiceObjectRelation → SMAServiceObjectRelation

    Join on ServiceObjectRelationId = SMAServiceObjectRelation.ServiceObjectRelationId

    Many SMARepairLine records → exactly one SMAServiceObjectRelation record

  • SMASymptomArea → SMASymptomArea

    Join on SymptomAreaId = SMASymptomArea.SymptomAreaId

    Many SMARepairLine records → zero or one SMASymptomArea record

  • SymptomCode → SMASymptomCode

    Join on SymptomAreaId = SMASymptomCode.SMASymptomAreaId, SymptomCodeId = SMASymptomCode.SMASymptomCodeId

    Many 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.

Email sales@drdynamics.co.uk