Table Name: AINS
Table Description: Customer Equipment Card - History
| Field | Description | Type | Size | Related | Default Value | Constraints | |
| insID | Equipment Card Number | Int | 11 | - | Â | Â | Â |
| customer | Business Partner Code | nVarChar | 15 | OCRD | Â | Â | Â |
| custmrName | Business Partner Name | nVarChar | 200 | - | Â | Â | Â |
| contactCod | Contact Person Code | Int | 11 | OCPR | Â | Â | Â |
| directCsmr | Direct Customer | nVarChar | 15 | - | Â | Â | Â |
| drctCsmNam | Direct Customer Name | nVarChar | 200 | - | Â | Â | Â |
| manufSN | Mfr. Serial No. | nVarChar | 36 | - | Â | Â | Â |
| internalSN | Serial Number | nVarChar | 36 | - | Â | Â | Â |
| warranty | Warranty Flag | VarChar | 1 | - | N | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| wrrntyStrt | Warranty Start Date | Date | 8 | - | Â | Â | Â |
| wrrntyEnd | Warranty End Date | Date | 8 | - | Â | Â | Â |
| responsVal | Time Required for Response | Int | 6 | - | Â | Â | Â |
| responsUnt | Unit for the previous field | VarChar | 1 | - | D | H | Hour(s) |
| Â | Â | Â | Â | Â | Â | D | Day(s) |
| itemCode | Foreign Key To Item | nVarChar | 50 | OITM | Â | Â | Â |
| itemName | Item Description | nVarChar | 200 | - | Â | Â | Â |
| itemGroup | Item Group | Int | 6 | OITB | Â | Â | Â |
| manufDate | Manufacture Date | Date | 8 | - | Â | Â | Â |
| delivery | Delivery Key | Int | 11 | ODLN | Â | Â | Â |
| deliveryNo | Delivery Number | Int | 11 | - | Â | Â | Â |
| invoice | Invoice Key | Int | 11 | OINV | Â | Â | Â |
| invoiceNum | Invoice Number | Int | 11 | - | Â | Â | Â |
| dlvryDate | Delivery Date | Date | 8 | - | Â | Â | Â |
| cntctPhone | Contact Phone | nVarChar | 20 | - | Â | Â | Â |
| street | Street | nVarChar | 100 | - | Â | Â | Â |
| block | Block | nVarChar | 100 | - | Â | Â | Â |
| zip | Zip Code | nVarChar | 20 | - | Â | Â | Â |
| city | City | nVarChar | 100 | - | Â | Â | Â |
| county | County | nVarChar | 100 | - | Â | Â | Â |
| country | Country/Region | nVarChar | 3 | OCRY | Â | Â | Â |
| state | State | nVarChar | 3 | OCST | Â | Â | Â |
| instLction | Installation Location | nVarChar | 254 | - | Â | Â | Â |
| contract | Contract | Int | 11 | OCTR | Â | Â | Â |
| cntrctStrt | Contract Start Date | Date | 8 | - | Â | Â | Â |
| cntrctEnd | Contract End Date | Date | 8 | - | Â | Â | Â |
| attachment | Attachments | Text | 16 | - | Â | Â | Â |
| objType | Object Type | nVarChar | 20 | - | 176 | Â | Â |
| logInstanc | Log Instance | Int | 11 | - | Â | Â | Â |
| userSign | Creating User | Int | 6 | OUSR | Â | Â | Â |
| createDate | Creation Date | Date | 8 | - | Â | Â | Â |
| userSign2 | Updating User | Int | 6 | OUSR | Â | Â | Â |
| updateDate | Update Date | Date | 8 | - | Â | Â | Â |
| Building | Building/Floor/Room | Text | 16 | - | Â | Â | Â |
| status | Status | VarChar | 1 | - | A | A | Active |
| Â | Â | Â | Â | Â | Â | R | Returned |
| Â | Â | Â | Â | Â | Â | T | Terminated |
| Â | Â | Â | Â | Â | Â | L | Loaned |
| Â | Â | Â | Â | Â | Â | I | In Repair Lab |
| replcIns | The CEC this replaced | Int | 11 | OINS | Â | Â | Â |
| repByIns | The CEC this is replaced by | Int | 11 | OINS | Â | Â | Â |
| technician | Default Technician | Int | 11 | OHEM | Â | Â | Â |
| territory | Default Territory | Int | 11 | OTER | Â | Â | Â |
| AtcEntry | Attachment Entry | Int | 11 | OATC | Â | Â | Â |
| Transfered | Year Transfer | VarChar | 1 | - | N | Â | Â |
| AddrType | Address Type | nVarChar | 100 | - | Â | Â | Â |
| Instance | Instance | Int | 6 | - | 0 | Â | Â |
| StreetNo | Street No. | nVarChar | 100 | - | Â | Â | Â |
| BPType | BP Type | VarChar | 1 | - | R | R | Sales |
| Â | Â | Â | Â | Â | Â | P | Purchasing |
| Â | Â | Â | Â | Â | Â | B | Sales & Purchasing |
| OwnerCode | Equipment Card Owner | Int | 11 | OHEM | Â | Â | Â |
| DPPStatus | Data Protection Status | VarChar | 1 | - | N | N | None |
| Â | Â | Â | Â | Â | Â | D | Erased |
| EncryptIV | Encrypt IV | nVarChar | 100 | - | Â | Â | Â |
| Key | Unique | Field |
| PRIMARY | Yes | insID |
| Â | Â | logInstanc |