| Column | Field | Description | SQL Type | Length | Decimals | Relation | Default Value | Constraints | SQL Create Statement |
---|
| 1 | TransNum | Transaction Number | int | 11 | 0 | | | | Allow NULL? |
| 2 | TransType | Transaction Type | int | 11 | 0 | | -1 | (-=(-, -1=All Transactions, -2=Opening Balance, 10000071=Inventory Posting, 132=Correction Invoice, 13=A/R Invoice, 14=A/R Credit Memo, 15=Delivery, 162=Inventory Revaluation, 16=Returns, 18=A/P Invoice, 19=A/P Credit Memo, 20=Goods Receipt, 21=Goods Return, 310000001=Initial Quantity, 58=Stock Update, 59=Goods Receipt, 60=Goods Issue, 67= | Allow NULL? |
| 3 | CreatedBy | Document Key Created | int | 11 | 0 | | | | Allow NULL? |
| 4 | BASE_REF | Base Reference | nvarchar | 11 | 0 | | | | Allow NULL? |
| 5 | DocLineNum | Row Number in Document | int | 6 | 0 | | | | Allow NULL? |
| 6 | DocDate | Posting Date | date | 8 | 0 | | | | |
| 7 | DocDueDate | Due Date | date | 8 | 0 | | | | |
| 8 | CardCode | Customer/Vendor Code | nvarchar | 15 | 0 | OCRD | | | Allow NULL? |
| 9 | CardName | Customer/Vendor Name | nvarchar | 100 | 0 | | | | Allow NULL? |
| 10 | Ref1 | Reference1 | nvarchar | 11 | 0 | | | | Allow NULL? |
| 11 | Ref2 | Reference 2 | nvarchar | 11 | 0 | | | | Allow NULL? |
| 12 | Comments | Remarks | nvarchar | 254 | 0 | | | | Allow NULL? |
| 13 | JrnlMemo | Journal Remarks | nvarchar | 50 | 0 | | | | Allow NULL? |
| 14 | DocTime | Generation Time | int | 6 | 0 | | | | Allow NULL? |
| 15 | ItemCode | Item No. | nvarchar | 20 | 0 | OITM | | | Allow NULL? |
| 16 | Dscription | Item Description | nvarchar | 100 | 0 | | | | Allow NULL? |
| 17 | InQty | Receipt Quantity | num | 19 | 6 | | | | Allow NULL? |
| 18 | OutQty | Issue Quantity | num | 19 | 6 | | | | Allow NULL? |
| 19 | Price | Price | num | 19 | 6 | | | | Allow NULL? |
| 20 | Currency | Price Currency | nvarchar | 3 | 0 | OCRN | | | Allow NULL? |
| 21 | Rate | Currency Price | num | 19 | 6 | | | | Allow NULL? |
| 22 | VendorNum | Vendor Catalog No. | nvarchar | 17 | 0 | | | | Allow NULL? |
| 23 | SerialNum | Serial Number | nvarchar | 17 | 0 | | | | Allow NULL? |
| 24 | Warehouse | Warehouse Code | nvarchar | 8 | 0 | OWHS | | | Allow NULL? |
| 25 | TreeType | BOM Type | char | 1 | 0 | | N | A=Assembly, I=BOM Component Item, N=Not a BOM, S=Sales | Allow NULL? |
| 26 | SlpCode | Sales Employee | int | 6 | 0 | OSLP | -1 | | Allow NULL? |
| 27 | TaxDate | Document Date | date | 8 | 0 | | | | |
| 28 | 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? |
| 29 | PrjCode | Project Code | nvarchar | 8 | 0 | OPRJ | | | Allow NULL? |
| 30 | UserSign | User Signature | int | 6 | 0 | OUSR | | | Allow NULL? |
| 31 | BlockNum | Block Number | nvarchar | 100 | 0 | | | | Allow NULL? |
| 32 | ImportLog | Import Log | nvarchar | 20 | 0 | | | | Allow NULL? |
| 33 | UseDocPric | Use Document Price | char | 1 | 0 | | N | N=No, Y=Yes | Allow NULL? |
| 34 | Location | Location | int | 11 | 0 | OLCT | | | Allow NULL? |
| 35 | CalcPrice | Calculated Price | num | 19 | 6 | | | | Allow NULL? |
| 36 | OpenQty | Open Quantity | num | 19 | 6 | | | | Allow NULL? |
| 37 | Instance | Instance | int | 11 | 0 | | 0 | | Allow NULL? |
| 38 | LastInst | Last Instance | int | 11 | 0 | | | | Allow NULL? |
| 39 | RevalTotal | Inventory Revaluation Total | num | 19 | 6 | | | | Allow NULL? |
| 40 | BaseCurr | Base Document Currency | nvarchar | 3 | 0 | | | | Allow NULL? |
| 41 | ApplObj | Applied Object | int | 11 | 0 | | | | Allow NULL? |
| 42 | AppObjAbs | Applied Object Abs Entry | int | 11 | 0 | | | | Allow NULL? |
| 43 | AppObjType | Applied Object Type | char | 1 | 0 | | | | Allow NULL? |
| 44 | StockAct | Inventory Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 45 | TrnsfrAct | Transfer Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 46 | PriceDifAc | Price Difference Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 47 | VarianceAc | Variance Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 48 | ReturnAct | Returning Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 49 | ExcRateAct | Exchange Rate Differences Acct | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 50 | ClearAct | Goods Clearing Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 51 | CostAct | COGS Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 52 | WipAct | WIP Inventory Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 53 | Balance | Stock Balance | num | 19 | 6 | | | | Allow NULL? |
| 54 | CreateDate | Creation Date | date | 8 | 0 | | | | |
| 55 | BaseLine | Base Row Number | int | 11 | 0 | | -1 | | Allow NULL? |
| 56 | TransValue | Transaction Value | num | 19 | 6 | | | | Allow NULL? |
| 57 | PriceDiff | Value Posted - Price Diff Acct | num | 19 | 6 | | | | Allow NULL? |
| 58 | TransSeq | Transaction Sequence No. | int | 11 | 0 | | 0 | | Allow NULL? |
| 59 | InvntAct | Inventory Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 60 | RemMethod | Quantity Removal Method | char | 1 | 0 | | U | I=Issue, R=Revaluation, U=Unspecified | Allow NULL? |
| 61 | OpenValue | Open Value | num | 19 | 6 | | | | Allow NULL? |
| 62 | SubLineNum | Sub Line Number | int | 11 | 0 | | -1 | | Allow NULL? |
| 63 | AppObjLine | Applied Object Line | int | 6 | 0 | | -1 | | Allow NULL? |
| 64 | Expenses | Inventory Expenses | num | 19 | 6 | | | | Allow NULL? |
| 65 | OpenExp | Open Expenses Value | num | 19 | 6 | | | | Allow NULL? |
| 66 | Allocation | Allocation Amount | num | 19 | 6 | | | | Allow NULL? |
| 67 | OpenAlloc | Open Allocation Value | num | 19 | 6 | | | | Allow NULL? |
| 68 | ExpAlloc | Expenses Allocation Value | num | 19 | 6 | | | | Allow NULL? |
| 69 | OExpAlloc | Open Expenses Allocation Value | num | 19 | 6 | | | | Allow NULL? |
| 70 | OpenPDiff | Open Price Diff. Value | num | 19 | 6 | | | | Allow NULL? |
| 71 | ExchDiff | Exchange Rate Difference Value | num | 19 | 6 | | | | Allow NULL? |
| 72 | OpenEDiff | Open Exchange Rate Diff. Value | num | 19 | 6 | | | | Allow NULL? |
| 73 | NegInvAdjs | Negative Inventory Adjustment | num | 19 | 6 | | | | Allow NULL? |
| 74 | OpenNegInv | Open Negative Adjustment | num | 19 | 6 | | | | Allow NULL? |
| 75 | NegStckAct | Negative Inventory Adjustment | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 76 | BTransVal | Base Transaction Value | num | 19 | 6 | | | | Allow NULL? |
| 77 | VarVal | Variance Value | num | 19 | 6 | | | | Allow NULL? |
| 78 | BExpVal | Base Freight Value | num | 19 | 6 | | | | Allow NULL? |
| 79 | CogsVal | COGS Value | num | 19 | 6 | | | | Allow NULL? |
| 80 | BNegAVal | Base Negative Adjustment Amt | num | 19 | 6 | | | | Allow NULL? |
| 81 | IOffIncAcc | Inventory Offset Increase Acct | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 82 | IOffIncVal | Inv. Offset Increase Value | num | 19 | 6 | | | | Allow NULL? |
| 83 | DOffDecAcc | Inventory Offset Decrease Acct | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 84 | DOffDecVal | Inv. Offset Decrease Value | num | 19 | 6 | | | | Allow NULL? |
| 85 | DecAcc | G/L Decrease Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 86 | DecVal | G/L Decrease Value | num | 19 | 6 | | | | Allow NULL? |
| 87 | WipVal | WIP Inventory Value | num | 19 | 6 | | | | Allow NULL? |
| 88 | WipVarAcc | WIP Variance Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 89 | WipVarVal | WIP Variance Value | num | 19 | 6 | | | | Allow NULL? |
| 90 | IncAct | G/L Increase Account | nvarchar | 15 | 0 | | | | Allow NULL? |
| 91 | IncVal | G/L Increase Value | num | 19 | 6 | | | | Allow NULL? |
| 92 | ExpCAcc | Expense Clearing Account | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 93 | CostMethod | Costing Method | char | 1 | 0 | | N | A=Moving Average, F=FIFO, N=None, S=Standard | Allow NULL? |
| 94 | OcrCode | Distribution Rule | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 95 | BaseQty | Quantity drawn from base doc. | num | 19 | 6 | | | | Allow NULL? |
| 96 | PrevTrans | Previous Trans. Sequence | int | 11 | 0 | | 0 | | Allow NULL? |
| 97 | HTransSeq | History Trans. Sequence | int | 11 | 0 | | | | Allow NULL? |
| 98 | OcrCode2 | Distribution Rule2 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 99 | OcrCode3 | Distribution Rule3 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 100 | OcrCode4 | Distribution Rule4 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |
| 101 | OcrCode5 | Distribution Rule5 | nvarchar | 8 | 0 | OOCR | | | Allow NULL? |