Table Name: OCTR
Table Description: Service Contracts
| Field | Description | Type | Size | Related | Default Value | Constraints | |
| ContractID | Contract No. | Int | 11 | - | Â | Â | Â |
| CstmrCode | Business Partner Code | nVarChar | 15 | OCRD | Â | Â | Â |
| CstmrName | Business Partner Name | nVarChar | 200 | - | Â | Â | Â |
| CntctCode | Contact Person Code | Int | 11 | OCPR | Â | Â | Â |
| Owner | Owner | Int | 6 | OUSR | Â | Â | Â |
| Status | Contract Status | VarChar | 1 | - | D | A | Approved |
| Â | Â | Â | Â | Â | Â | F | On Hold |
| Â | Â | Â | Â | Â | Â | D | Draft |
| Â | Â | Â | Â | Â | Â | T | Terminated |
| CntrcTmplt | Contract Template | nVarChar | 20 | OCTT | Â | Â | Â |
| CntrcType | Contract Type | VarChar | 1 | - | S | C | Business Partner |
| Â | Â | Â | Â | Â | Â | G | Item Group |
| Â | Â | Â | Â | Â | Â | S | Serial Number |
| Renewal | Renewal | VarChar | 1 | - | N | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| RemindVal | Reminder Time | Int | 6 | - | Â | Â | Â |
| RemindUnit | Remind Unit | VarChar | 1 | - | D | D | Day(s) |
| Â | Â | Â | Â | Â | Â | W | Week(s) |
| Â | Â | Â | Â | Â | Â | M | Month(s) |
| Duration | Duration of Coverage | Int | 6 | - | Â | Â | Â |
| StartDate | Start Date | Date | 8 | - | Â | Â | Â |
| EndDate | End Date | Date | 8 | - | Â | Â | Â |
| ResponsVal | Resolution Time | Int | 6 | - | Â | Â | Â |
| ResponsUnt | Resolution Unit | VarChar | 1 | - | D | D | Day(s) |
| Â | Â | Â | Â | Â | Â | H | Hour(s) |
| Descriptio | Description | nVarChar | 254 | - | Â | Â | Â |
| SrcDocType | Source Document Type | VarChar | 1 | - | I | Q | Sales Quotation |
| Â | Â | Â | Â | Â | Â | O | Sales Order |
| Â | Â | Â | Â | Â | Â | D | Delivery |
| Â | Â | Â | Â | Â | Â | I | A/R Invoice |
| DocNum | Source Document | Int | 11 | - | Â | Â | Â |
| MonEnabled | Monday Enabled | VarChar | 1 | - | Y | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| TueEnabled | Tuesday Enabled | VarChar | 1 | - | Y | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| WedEnabled | Wednesday Enabled | VarChar | 1 | - | Y | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| ThuEnabled | Thursday Enabled | VarChar | 1 | - | Y | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| FriEnabled | Friday Enabled | VarChar | 1 | - | Y | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| SatEnabled | Saturday Enabled | VarChar | 1 | - | Y | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| SunEnabled | Sunday Enabled | VarChar | 1 | - | Y | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| MonStart | Monday Start | Int | 6 | - | 800 | Â | Â |
| MonEnd | Monday End | Int | 6 | - | 1700 | Â | Â |
| TueStart | Tuesday Start | Int | 6 | - | 800 | Â | Â |
| TueEnd | Tuesday End | Int | 6 | - | 1700 | Â | Â |
| WedStart | Wednesday Start | Int | 6 | - | 800 | Â | Â |
| WedEnd | Wednesday End | Int | 6 | - | 1700 | Â | Â |
| ThuStart | Thursday Start | Int | 6 | - | 800 | Â | Â |
| ThuEnd | Thursday End | Int | 6 | - | 1700 | Â | Â |
| FriStart | Friday Start | Int | 6 | - | 800 | Â | Â |
| FriEnd | Friday End | Int | 6 | - | 1700 | Â | Â |
| SatStart | Saturday Start | Int | 6 | - | 0 | Â | Â |
| SatEnd | Saturday End | Int | 6 | - | 2359 | Â | Â |
| SunStrart | Sunday Start | Int | 6 | - | 0 | Â | Â |
| SunEnd | Sunday End | Int | 6 | - | 2359 | Â | Â |
| InclParts | Include Parts | VarChar | 1 | - | N | N | No |
| Â | Â | Â | Â | Â | Â | Y | Yes |
| InclWork | Include Labor | VarChar | 1 | - | N | N | No |
| Â | Â | Â | Â | Â | Â | Y | Yes |
| InclTravel | Include Travel | VarChar | 1 | - | N | N | No |
| Â | Â | Â | Â | Â | Â | Y | Yes |
| Attachment | Attachments | Text | 16 | - | Â | Â | Â |
| CreateDate | Creation Date | Date | 8 | - | Â | Â | Â |
| Remarks1 | Template Remarks | Text | 16 | - | Â | Â | Â |
| Remarks2 | Remarks | Text | 16 | - | Â | Â | Â |
| RemindFlg | Reminder Sent | VarChar | 1 | - | N | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| CTR1Count | CTR1 Counter | Int | 11 | - | 0 | Â | Â |
| DocEntry | Linked Document No. | Int | 11 | - | Â | Â | Â |
| RemTmDays | Remind Time in Days | Int | 11 | - | Â | Â | Â |
| ResTmHours | Response Time in Hours | Int | 11 | - | Â | Â | Â |
| InclHldays | Include Holidays | VarChar | 1 | - | N | N | No |
| Â | Â | Â | Â | Â | Â | Y | Yes |
| SrvcType | Service Type | VarChar | 1 | - | R | R | Regular |
| Â | Â | Â | Â | Â | Â | W | Warranty |
| TermDate | Termination Date | Date | 8 | - | Â | Â | Â |
| ResponseV | Response Time | Int | 6 | - | Â | Â | Â |
| ResponseU | Response Unit | VarChar | 1 | - | H | D | Day(s) |
| Â | Â | Â | Â | Â | Â | H | Hour(s) |
| AtcEntry | Attachment Entry | Int | 11 | OATC | Â | Â | Â |
| Transfered | Year Transfer | VarChar | 1 | - | N | Â | Â |
| Instance | Instance | Int | 6 | - | 0 | Â | Â |
| BPType | BP Type | VarChar | 1 | - | R | R | Sales |
| Â | Â | Â | Â | Â | Â | P | Purchasing |
| OwnerCode | Service Contract Owner | Int | 11 | OHEM | Â | Â | Â |
| UserSign | User Signature | Int | 6 | OUSR | Â | Â | Â |
| ObjType | Object Type - History | nVarChar | 20 | - | 190 | Â | Â |
| LogInstanc | Log Instance - History | Int | 11 | - | Â | Â | Â |
| UserSign2 | Updating User - History | Int | 6 | OUSR | Â | Â | Â |
| UpdateDate | Date of Update - History | Date | 8 | - | Â | Â | Â |
| DPPStatus | Data Protection Status | VarChar | 1 | - | N | N | None |
| Â | Â | Â | Â | Â | Â | D | Erased |
| EncryptIV | Encrypt IV | nVarChar | 100 | - | Â | Â | Â |
| Printed | Printed | VarChar | 1 | - | N | Â | Â |
| Key | Unique | Field |
| PRIMARY | Yes | ContractID |