| Column | Field | Description | SQL Type | Length | Decimals | Relation | Default Value | Constraints | SQL Create Statement |
---|
| 1 | MessageID | Message ID | int | 11 | 0 | | | | Allow NULL? |
| 2 | DocEntry | Doc Number | int | 11 | 0 | | | | Allow NULL? |
| 3 | TransType | Transaction Type | int | 11 | 0 | | -1 | | Allow NULL? |
| 4 | DocLineNum | Doc Row Number | int | 11 | 0 | | | | Allow NULL? |
| 5 | Quantity | Quantity in Doc | num | 19 | 6 | | | | Allow NULL? |
| 6 | EffectQty | Stock Effective Qty | num | 19 | 6 | | | | Allow NULL? |
| 7 | LocType | Location Type | int | 6 | 0 | | | | Allow NULL? |
| 8 | LocCode | Location Code | nvarchar | 8 | 0 | | | | Allow NULL? |
| 9 | TotalLC | Inventory Total LC | num | 19 | 6 | | | | Allow NULL? |
| 10 | TotalFC | Inventory Total FC | num | 19 | 6 | | | | Allow NULL? |
| 11 | TotalSC | Inventory Total SC | num | 19 | 6 | | | | Allow NULL? |
| 12 | BaseAbsEnt | Internal ID of Base Document | int | 11 | 0 | | | | Allow NULL? |
| 13 | BaseType | Base Transaction Type | int | 11 | 0 | | -1 | -1, 0, 13=A/R Invoice, 15=Delivery, 163=A/P Correction Invoice, 164=A/P Correction Invoice Reversal, 165=A/R Correction Invoice, 166=A/R Correction Invoice Reversal, 16=Returns, 17=Sales Order, 18=A/P Invoice, 202=Production Order, 203=A/R Down Payment, 204=A/P Down Payment, 20=Goods Receipt PO, 21=Goods Return, 22=Purchase Order, 23=Sales | Allow NULL? |
| 14 | BaseCurr | Base Currency | nvarchar | 3 | 0 | | | | Allow NULL? |
| 15 | Currency | Doc Currency | nvarchar | 3 | 0 | OCRN | | | Allow NULL? |
| 16 | AccumType | Accumulator Type | int | 11 | 0 | | 0 | 0=ACCUM_EMPTY, 1=ACCUM_ON_HAND, 2=ACCUM_COMMITTED, 3=ACCUM_ON_ORDER, 4=ACCUM_CONSIGNATION, 5=ACCUM_COUNTED | Allow NULL? |
| 17 | ActionType | Action Type | int | 11 | 0 | | 5 | 0=TRANSACTION_UNKNOWN, 10=TRANSACTION_CLOSE_OUT, 11=TRANSACTION_NEGATIVE_REVALUATION, 12=TRANSACTION_NULLIFY, 13=TRANSACTION_RESERVE_CI_IN, 14=TRANSACTION_RESERVE_CI_OUT, 15=TRANSACTION_RESERVE_CI_REVAL_INC, 16=TRANSACTION_RESERVE_CI_REVAL_DEC, 17=TRANSACTION_REVAL_PRICE_CHANGE_INCREASE, 18=TRANSACTION_REVAL_PRICE_CHANGE_DECREASE, 1=TRANSA | Allow NULL? |
| 18 | ExpensesLC | Expenses (LC) | num | 19 | 6 | | | | Allow NULL? |
| 19 | ExpensesFC | Expenses (FC) | num | 19 | 6 | | | | Allow NULL? |
| 20 | ExpensesSC | Expenses (SC) | num | 19 | 6 | | | | Allow NULL? |
| 21 | DocDueDate | Doc. Due Date | date | 8 | 0 | | | | |
| 22 | ItemCode | Item Code | nvarchar | 50 | 0 | OITM | | | Allow NULL? |
| 23 | BPCardCode | Business Partner Code | nvarchar | 15 | 0 | OCRD | | | Allow NULL? |
| 24 | DocDate | Doc Date | date | 8 | 0 | | | | |
| 25 | DocRate | Doc. Rate | num | 19 | 6 | | | | Allow NULL? |
| 26 | Comment | Comment | nvarchar | 254 | 0 | | | | Allow NULL? |
| 27 | JrnlMemo | Journal Remarks | nvarchar | 50 | 0 | | | | Allow NULL? |
| 28 | Ref1 | Reference 1 | nvarchar | 11 | 0 | | | | Allow NULL? |
| 29 | Ref2 | Reference 2 | nvarchar | 100 | 0 | | | | Allow NULL? |
| 30 | BaseLine | Base Row Number | int | 11 | 0 | | -1 | | Allow NULL? |
| 31 | SnBType | Serials and Batches Type | int | 11 | 0 | | -1 | 0=Batch Numbers Management, 1=Serial Number Management | Allow NULL? |
| 32 | CreateTime | Generation Time | int | 6 | 0 | | | | Allow NULL? |
| 33 | DataSource | Data Source | char | 1 | 0 | | N | A=Doc. Generation Wizard, D=Restore Wizard, I=Interface, M=Import, N=Unknown, O=DI API, P=Partner Implementation, T=Year Transfer, U=Update | Allow NULL? |
| 34 | CreateDate | Creation Date | date | 8 | 0 | | | | |
| 35 | OcrCode | Distribution Rule | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 36 | OcrCode2 | Distribution Rule2 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 37 | OcrCode3 | Distribution Rule3 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 38 | OcrCode4 | Distribution Rule4 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 39 | OcrCode5 | Distribution Rule5 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 40 | DocPrice | Doc Price | num | 19 | 6 | | | | Allow NULL? |
| 41 | CardName | BP Name | nvarchar | 100 | 0 | | | | Allow NULL? |
| 42 | Dscription | Item Description | nvarchar | 100 | 0 | | | | Allow NULL? |
| 43 | TreeType | BOM Type | char | 1 | 0 | | N | A=Assembly, I=BOM Component Item, N=Not a BOM, P=Production, S=Sales, T=Template | Allow NULL? |
| 44 | ApplObj | Applied Object | int | 11 | 0 | | -1 | | Allow NULL? |
| 45 | AppObjAbs | Applied Object Internal ID | int | 11 | 0 | | -1 | | Allow NULL? |
| 46 | AppObjType | Applied Object Type | char | 1 | 0 | | | | Allow NULL? |
| 47 | AppObjLine | Applied Object Row | int | 11 | 0 | | -1 | | Allow NULL? |
| 48 | BASE_REF | Base Reference | nvarchar | 11 | 0 | | | | Allow NULL? |
| 49 | TransSeqRf | Transaction Sequence Ref | int | 11 | 0 | | -1 | | Allow NULL? |
| 50 | LayerIDRef | Layer ID Reference | int | 11 | 0 | | -1 | | Allow NULL? |
| 51 | VersionNum | Version Number | nvarchar | 11 | 0 | | | | Allow NULL? |
| 52 | PriceRate | Price Rate | num | 19 | 6 | | | | Allow NULL? |
| 53 | PriceCurr | Price Currency | nvarchar | 3 | 0 | OCRN | | | Allow NULL? |
| 54 | DocTotal | Document Total | num | 19 | 6 | | | | Allow NULL? |
| 55 | Price | Price | num | 19 | 6 | | | | Allow NULL? |
| 56 | CIShbQty | Corr. Inv. Doc. Should Be Qty | num | 19 | 6 | | | | Allow NULL? |
| 57 | SubLineNum | Sub Line Number | int | 11 | 0 | | -1 | | Allow NULL? |
| 58 | PrjCode | Project code | nvarchar | 20 | 0 | OPRJ | | | Allow NULL? |
| 59 | SlpCode | Sales Employee | int | 11 | 0 | OSLP | -1 | | Allow NULL? |
| 60 | TaxDate | Document Date | date | 8 | 0 | | | | |
| 61 | UseDocPric | Use Document Price | char | 1 | 0 | | N | N=No, Y=Yes | Allow NULL? |
| 62 | VendorNum | Vendor Catalog No. | nvarchar | 50 | 0 | | | | Allow NULL? |
| 63 | SerialNum | Serial Number | nvarchar | 17 | 0 | | | | Allow NULL? |
| 64 | BlockNum | Block Number | nvarchar | 100 | 0 | | | | Allow NULL? |
| 65 | ImportLog | Import Log | nvarchar | 20 | 0 | | | | Allow NULL? |
| 66 | Location | Location | int | 11 | 0 | OLCT | | | Allow NULL? |
| 67 | DocPrcRate | Document Price Rate | num | 19 | 6 | | | | Allow NULL? |
| 68 | DocPrcCurr | Document Price Currency | nvarchar | 3 | 0 | OCRN | | | Allow NULL? |
| 69 | CgsOcrCod | COGS Distribution Rule | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 70 | CgsOcrCod2 | COGS Distribution Rule 2 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 71 | CgsOcrCod3 | COGS Distribution Rule 3 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 72 | CgsOcrCod4 | COGS Distribution Rule 4 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 73 | CgsOcrCod5 | COGS Distribution Rule 5 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 74 | BSubLineNo | Base Subrow Number | int | 11 | 0 | | -1 | | Allow NULL? |
| 75 | AppSubLine | Applied Subrow Number | int | 11 | 0 | | -1 | | Allow NULL? |
| 76 | UserSign | User Signature | int | 6 | 0 | OUSR | | | Allow NULL? |
| 77 | SysRate | System Rate | num | 19 | 6 | | | | Allow NULL? |
| 78 | ExFromRpt | Exclude from Report | char | 1 | 0 | | N | N=No, Y=Yes | Allow NULL? |
| 79 | Ref3 | Reference 3 | nvarchar | 11 | 0 | | | | Allow NULL? |
| 80 | EnSetCost | Enable Set Item Cost in Return | char | 1 | 0 | | N | N=No, Y=Yes | Allow NULL? |
| 81 | RetCost | Return Cost in A/R Return | num | 19 | 6 | | | | Allow NULL? |
| 82 | DocAction | Document Action Type | int | 11 | 0 | | | | Allow NULL? |
| 83 | UseShpdGd | Use Shipped Goods Account | char | 1 | 0 | | N | N=No, Y=Yes | Allow NULL? |
| 84 | AddTotalLC | Additional Total LC | num | 19 | 6 | | | | Allow NULL? |
| 85 | AddExpLC | Additional Expenses LC | num | 19 | 6 | | | | Allow NULL? |
| 86 | IsNegLnQty | Negative Line Quantity | char | 1 | 0 | | N | | Allow NULL? |
| 87 | StgSeqNum | Stage Sequence Number | int | 11 | 0 | | | | Allow NULL? |
| 88 | StgEntry | Stage Entry | int | 11 | 0 | | | | Allow NULL? |
| 89 | StgDesc | Stage Description | nvarchar | 100 | 0 | | | | Allow NULL? |