# Repair Request Inspection

| Description:            | Type     |  Direction | Data Type | Remarks                                  |
| ----------------------- | -------- | :--------: | :-------: | ---------------------------------------- |
| AccessRestrictions      | Property | Read Write |   String  | Details of access to the property        |
| Completion              | Property | Read Write |  Variant  | ?                                        |
| CompletionAnalysisID    | Property | Read Write |    Long   | ?                                        |
| DeletionNotes           | Property | Read Write |   String  | Notes for deletion of Repair Inspection  |
| DeletioReasonID         | Property | Read Write |    Long   | Reason for deletion of Repair Inspection |
| Description             | Property | Read Write |   String  | Inspection Description                   |
| Estimated               | Property | Read Write |  Variant  | ?                                        |
| ExternalInspectorCodeID | Property | Read Write |    Long   | ?                                        |
| Inspection              | Property | Read Write |  VAriant  | ?                                        |
| InspectionTypeID        | Property | Read Write |    Long   | Type of inspection                       |
| InspectorCodeID         | Property | Read Write |    Long   | Inspector assigned to Inspection         |
| InternalExternal        | Property | Read Write |   String  | Always '45' for Internal                 |
| LastIssued              | Property | Read Write |  Variant  | ?                                        |
| Logged                  | Property | Read Write |  Variant  | ?                                        |
| LoggedBy                | Property | Read Write |    Long   | User logging the Repair Inspection       |
| MainWorkFlowProcessRan  | Property | Read Write |  Boolean  | ?                                        |
| PriorityCodeID          | Property | Read Write |    Long   | Priority for the Repair Inspection       |
| RequestID               | Property | Read Write |    Long   | Assigned by Repairs or CRM on Save       |
| Results                 | Property | Read Write |   String  | ?                                        |
| WorkFlowProcessRan      | Property | Read Write |  Boolean  | ?                                        |

### Associated SQLActiveH database table data

The MIS-AMS SQLActiveH Gateway's Repair Request Inspection Object (**CRQInspection**), is linked to the **Repairs\_Inspections\_T** table in the MIS-AMS SQLActiveH database.

When the object properties are written to by Keyfax, the MIS-AMS CRM processes the values and writes to the underlying database table. The following list identifies only those columns in the **Repairs\_Inspections\_T** table which Keyfax writes to in the current version:

| Object property    | Tasking\_Tasks\_T column |    Datatype   |
| ------------------ | :----------------------: | :-----------: |
| Description        |      Description\_VC     | varchar(1500) |
| AccessRestrictions |  AccessRestrictions\_VC  | varchar(1500) |
| InspectionTypeID   |    InspectionType\_ID    |      int      |
| PriorityCodeID     |     PriorityCode\_ID     |      int      |
| InternalExternal   |   InternalExternal\_CH   |    char(2)    |

{% hint style="info" %}
**NOTE** This data was correct at the time of writing, but Omfax suggest that MIS-AMS are consulted on any database or object schema modifications unknown to Omfax Systems.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/integrations/host-systems/activeh-desktop/mis-interface-objects/repair-request-inspection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
