| Column | Field | Description | SQL Type | Length | Decimals | Relation | Default Value | Constraints | SQL Create Statement |
---|
| 1 | OpprId | Sequence No. | int | 11 | 0 | | | | Allow NULL? |
| 2 | CardCode | BP Code | nvarchar | 15 | 0 | OCRD | | | Allow NULL? |
| 3 | SlpCode | Main Sales Emp. | int | 11 | 0 | OSLP | | | Allow NULL? |
| 4 | CprCode | Contact Person | int | 11 | 0 | OCPR | | | Allow NULL? |
| 5 | Source | Source | int | 11 | 0 | OOSR | | | Allow NULL? |
| 6 | IntCat1 | Interest - Field 1 | int | 11 | 0 | OOIN | | | Allow NULL? |
| 7 | IntCat2 | Interest - Field 2 | int | 11 | 0 | OOIN | | | Allow NULL? |
| 8 | IntCat3 | Interest - Field 3 | int | 11 | 0 | OOIN | | | Allow NULL? |
| 9 | IntRate | Interest Level | int | 11 | 0 | OOIR | | | Allow NULL? |
| 10 | OpenDate | Start Date | date | 8 | 0 | | | | |
| 11 | DifType | Closing Type | char | 1 | 0 | | D | D=Days, M=Months, W=Weeks | Allow NULL? |
| 12 | PredDate | Predicted Closing Date | date | 8 | 0 | | | | |
| 13 | MaxSumLoc | Local Potential Amount | num | 19 | 6 | | | | Allow NULL? |
| 14 | MaxSumSys | System Potential Amount | num | 19 | 6 | | | | Allow NULL? |
| 15 | WtSumLoc | Weighted Amount (LC) - Document | num | 19 | 6 | | | | Allow NULL? |
| 16 | WtSumSys | Weighted Amount (SC) | num | 19 | 6 | | | | Allow NULL? |
| 17 | PrcnProf | Gross Profit % | num | 19 | 6 | | | | Allow NULL? |
| 18 | SumProfL | Gross Profit Total - Local | num | 19 | 6 | | | | Allow NULL? |
| 19 | SumProfS | Gross Profit Total - System | num | 19 | 6 | | | | Allow NULL? |
| 20 | Memo | Remarks | text | 16 | 0 | | | | |
| 21 | Status | Status | char | 1 | 0 | | O | L=Lost, O=Open, W=Won | Allow NULL? |
| 22 | StatusRem | Status Remarks | nvarchar | 30 | 0 | | | | Allow NULL? |
| 23 | Reason | Reason for Closing | int | 11 | 0 | OOFR | | | Allow NULL? |
| 24 | RealSumLoc | Total Amount - Local | num | 19 | 6 | | | | Allow NULL? |
| 25 | RealSumSys | Total Amount - System | num | 19 | 6 | | | | Allow NULL? |
| 26 | RealProfL | Closing Gross Profit - Local | num | 19 | 6 | | | | Allow NULL? |
| 27 | RealProfS | Closing Gross Profit - System | num | 19 | 6 | | | | Allow NULL? |
| 28 | CloPrcnt | Closing Percentage | num | 19 | 6 | | | | Allow NULL? |
| 29 | StepLast | Current Stage No. | int | 6 | 0 | OOST | | | Allow NULL? |
| 30 | UserSign | User Signature | int | 6 | 0 | OUSR | | | Allow NULL? |
| 31 | Transfered | Transferred to Next Year | char | 1 | 0 | | N | N=No, Y=Yes | Allow NULL? |
| 32 | Instance | Instance | int | 6 | 0 | | 0 | | Allow NULL? |
| 33 | CardName | BP Name | nvarchar | 100 | 0 | | | | Allow NULL? |
| 34 | CloseDate | Closing Date | date | 8 | 0 | | | | |
| 35 | LastSlp | Last Sales Emp. | int | 11 | 0 | OSLP | | | Allow NULL? |
| 36 | Name | Opportunity Name | nvarchar | 100 | 0 | | | | Allow NULL? |
| 37 | Territory | Territory | int | 11 | 0 | OTER | | | Allow NULL? |
| 38 | Industry | Industry | int | 11 | 0 | OOND | | | Allow NULL? |
| 39 | ChnCrdCode | BP Channel Code | nvarchar | 15 | 0 | OCRD | | | Allow NULL? |
| 40 | ChnCrdName | BP Channel Name | nvarchar | 100 | 0 | | | | Allow NULL? |
| 41 | PrjCode | Project Code | nvarchar | 20 | 0 | OPRJ | | | Allow NULL? |
| 42 | CardGroup | BP Group | int | 6 | 0 | OCRD | | | Allow NULL? |
| 43 | ChnCrdCon | BP Channel Contact | int | 11 | 0 | OCPR | | | Allow NULL? |
| 44 | Owner | Data Ownership field | int | 11 | 0 | OHEM | | | Allow NULL? |
| 45 | attachment | Attachments | text | 16 | 0 | | | | |
| 46 | DocType | Linked Document Type | nvarchar | 9 | 0 | | -1 | -1, 13=Sales Invoices, 15=Delivery Notes, 17=Sales Orders, 18=Purchase Invoices, 20=Goods Receipt POs, 22=Purchase Orders, 23=Quotations, 540000006=Purchase Quotations | Allow NULL? |
| 47 | DocNum | Linked Document Number | int | 11 | 0 | | | | Allow NULL? |
| 48 | DocEntry | Linked Document Entry | int | 11 | 0 | | | | Allow NULL? |
| 49 | DocChkbox | Document Checkbox | char | 1 | 0 | | | | Allow NULL? |
| 50 | AtcEntry | Attachment Entry | int | 11 | 0 | | | | Allow NULL? |
| 51 | LogInstanc | Log Instance | int | 11 | 0 | | 0 | | Allow NULL? |
| 52 | UserSign2 | Updating User | int | 6 | 0 | OUSR | | | Allow NULL? |
| 53 | UpdateDate | Update Date | date | 8 | 0 | | | | |
| 54 | OpprType | Opportunity Type | char | 1 | 0 | | R | P=Purchasing, R=Sales | Allow NULL? |
| 55 | UpdateTS | Update Full Time | int | 11 | 0 | | | | Allow NULL? |
| 56 | DPPStatus | Data Protection Status | char | 1 | 0 | | N | D=Erased, N=None | Allow NULL? |
| 57 | CreateDate | Creation Date | date | 8 | 0 | | | | |