| 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 | Document Number | int | 11 | 0 | | | | Allow NULL? |
| 3 | TransType | Transaction Type | int | 11 | 0 | | -1 | | Allow NULL? |
| 4 | DocLineNum | Document Row Number | int | 11 | 0 | | | | Allow NULL? |
| 5 | Quantity | Quantity in Document | num | 19 | 6 | | | | Allow NULL? |
| 6 | EffectQty | Effective Inventory Quantity | 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 | BaseAbsEnt | Internal No. of Base Doc | int | 11 | 0 | | | | Allow NULL? |
| 12 | 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? |
| 13 | Currency | Document Currency | nvarchar | 3 | 0 | OCRN | | | Allow NULL? |
| 14 | 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? |
| 15 | 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? |
| 16 | ExpensesLC | Expenses (LC) | num | 19 | 6 | | | | Allow NULL? |
| 17 | ExpensesFC | Expenses (FC) | num | 19 | 6 | | | | Allow NULL? |
| 18 | ItemCode | Item Code | nvarchar | 50 | 0 | OITM | | | Allow NULL? |
| 19 | DocDate | Document Date | date | 8 | 0 | | | | |
| 20 | DocRate | Document Rate | num | 19 | 6 | | | | Allow NULL? |
| 21 | JrnlMemo | Journal Remarks | nvarchar | 50 | 0 | | | | Allow NULL? |
| 22 | BaseLine | Base Row Number | int | 11 | 0 | | -1 | | Allow NULL? |
| 23 | CreateTime | Generation Time | int | 6 | 0 | | | | Allow NULL? |
| 24 | CreateDate | Creation Date | date | 8 | 0 | | | | |
| 25 | OcrCode | Distribution Rule | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 26 | OcrCode2 | Distribution Rule2 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 27 | OcrCode3 | Distribution Rule3 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 28 | OcrCode4 | Distribution Rule4 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 29 | OcrCode5 | Distribution Rule5 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 30 | DocPrice | Document Price | num | 19 | 6 | | | | Allow NULL? |
| 31 | TreeType | BOM Type | char | 1 | 0 | | N | A=Assembly, I=BOM Component Item, N=Not a BOM, S=Sales | Allow NULL? |
| 32 | ApplObj | Applied Object | int | 11 | 0 | | -1 | | Allow NULL? |
| 33 | AppObjAbs | Applied Object Internal ID | int | 11 | 0 | | -1 | | Allow NULL? |
| 34 | AppObjType | Applied Object Type | char | 1 | 0 | | | | Allow NULL? |
| 35 | AppObjLine | Applied Object Row | int | 11 | 0 | | -1 | | Allow NULL? |
| 36 | TransSeqRf | Transaction Sequence Ref | int | 11 | 0 | | -1 | | Allow NULL? |
| 37 | LayerIDRef | Layer ID Reference | int | 11 | 0 | | -1 | | Allow NULL? |
| 38 | VersionNum | Version Number | nvarchar | 11 | 0 | | | | Allow NULL? |
| 39 | PriceRate | Price Rate | num | 19 | 6 | | | | Allow NULL? |
| 40 | PriceCurr | Price Currency | nvarchar | 3 | 0 | OCRN | | | Allow NULL? |
| 41 | Price | Price | num | 19 | 6 | | | | Allow NULL? |
| 42 | CIShbQty | Corr. Inv. Doc. Should Be Qty | num | 19 | 6 | | | | Allow NULL? |
| 43 | SubLineNum | Subrow Number | int | 11 | 0 | | -1 | | Allow NULL? |
| 44 | PrjCode | Project Code | nvarchar | 20 | 0 | OPRJ | | | Allow NULL? |
| 45 | UseDocPric | Use Document Price | char | 1 | 0 | | N | N=No, Y=Yes | Allow NULL? |
| 46 | Location | Location | int | 11 | 0 | OLCT | | | Allow NULL? |
| 47 | BSubLineNo | Base Subrow Number | int | 11 | 0 | | -1 | | Allow NULL? |
| 48 | AppSubLine | Applied Subrow Number | int | 11 | 0 | | -1 | | Allow NULL? |
| 49 | DocAction | Document Action Type | int | 11 | 0 | | | | Allow NULL? |