| Column | Field | Description | SQL Type | Length | Decimals | Relation | Default Value | Constraints | SQL Create Statement |
---|
| 1 | AbsEntry | Internal Key | int | 11 | 0 | OGPA | | | Allow NULL? |
| 2 | LineId | Row No. | int | 11 | 0 | | | | Allow NULL? |
| 3 | ItemCode | Item No. | nvarchar | 50 | 0 | OITM | | | Allow NULL? |
| 4 | ItemName | Item Description | nvarchar | 100 | 0 | | | | Allow NULL? |
| 5 | DocType | Document Type | nvarchar | 20 | 0 | | | | Allow NULL? |
| 6 | DocNum | Document Number | int | 11 | 0 | | | | Allow NULL? |
| 7 | DocAbs | Document Abs. Entry | int | 11 | 0 | | | | Allow NULL? |
| 8 | DocLineNum | Document Line Number | int | 11 | 0 | | | | Allow NULL? |
| 9 | ManagedBy | Managed By | int | 11 | 0 | | -1 | -1, 10000044=Batch Numbers, 10000045=Serial Numbers | Allow NULL? |
| 10 | Selected | Choose | char | 1 | 0 | | Y | N=No, Y=Yes | Allow NULL? |
| 11 | DistNumber | Batch Number | nvarchar | 36 | 0 | | | | Allow NULL? |
| 12 | PostDate | Posting Date | date | 8 | 0 | | | | |
| 13 | WhsCode | Warehouse Code | nvarchar | 8 | 0 | | | | Allow NULL? |
| 14 | Quantity | Quantity | num | 19 | 6 | | | | Allow NULL? |
| 15 | CogsAcct | COGS Account Code | nvarchar | 15 | 0 | | | | Allow NULL? |
| 16 | CogsAmnt | COGS Amount | num | 19 | 6 | | | | Allow NULL? |
| 17 | SalesAmnt | Sales Amount | num | 19 | 6 | | | | Allow NULL? |
| 18 | GrssProfit | Row Gross Profit | num | 19 | 6 | | | | Allow NULL? |
| 19 | COGSByCC | COGS By Current Cost | num | 19 | 6 | | | | Allow NULL? |
| 20 | GPByCC | Gross Profit By Current Cost | num | 19 | 6 | | | | Allow NULL? |
| 21 | DeltaGP | Delta Gross Profit | num | 19 | 6 | | | | Allow NULL? |
| 22 | SalesPrice | Sales Price | num | 19 | 6 | | | | Allow NULL? |
| 23 | BatchQt | Batch Quantity | num | 19 | 6 | | | | Allow NULL? |
| 24 | SnBAbs | SnB Abs. Entry | int | 11 | 0 | | | | Allow NULL? |
| 25 | AccTotal | Acct Total | num | 19 | 6 | | | | Allow NULL? |
| 26 | AccQty | Acct Qty | num | 19 | 6 | | | | Allow NULL? |
| 27 | 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? |
| 28 | SBAccTotal | SnB Acct Total | num | 19 | 6 | | | | Allow NULL? |
| 29 | SBAccQty | SnB Acct Qty | num | 19 | 6 | | | | Allow NULL? |
| 30 | BaseType | Base Type | nvarchar | 20 | 0 | | | | Allow NULL? |
| 31 | Execute | Execute | char | 1 | 0 | | Y | N=No, Y=Yes | Allow NULL? |
| 32 | SBCogsAmnt | SnB COGS Amount | num | 19 | 6 | | | | Allow NULL? |
| 33 | SBSaleAmnt | SnB Sales Amount | num | 19 | 6 | | | | Allow NULL? |
| 34 | SBGrssProf | SnB Gross Profit | num | 19 | 6 | | | | Allow NULL? |
| 35 | SBGrPrPerc | SnB Gross Profit Percentage | num | 19 | 6 | | | | Allow NULL? |
| 36 | GrPrPerc | Gross Profit Percentage | num | 19 | 6 | | | | Allow NULL? |
| 37 | GPPercByCC | Gross Profit Percentage By Current Cost | num | 19 | 6 | | | | Allow NULL? |
| 38 | DeltaGPLn | Delta gross profit calculated for the document line | num | 19 | 6 | | | | Allow NULL? |
| 39 | Applied | Applied Adjustment | num | 19 | 6 | | | | Allow NULL? |
| 40 | SBAccTtAdj | SnB Acct Total Adjustment | num | 19 | 6 | | | | Allow NULL? |
| 41 | IsMixed | Is Mixed Based Document | char | 1 | 0 | | N | N=No, Y=Yes | Allow NULL? |
| 42 | CogsAmByCC | Total COGS Amount By Current Cost | num | 19 | 6 | | | | Allow NULL? |
| 43 | GrssPrByCC | Total Gross Profit By Current Cost | num | 19 | 6 | | | | Allow NULL? |
| 44 | LineType | Wizard Line Type | char | 1 | 0 | | N | C=Chained, I=Non Based Correction Invoice, N=Normal | Allow NULL? |
| 45 | ChDocType | Chained Document Type | nvarchar | 20 | 0 | | | | Allow NULL? |
| 46 | ChDocAbs | Chained Document Abs. Entry | int | 11 | 0 | | | | Allow NULL? |
| 47 | WasQty | Was Line Quantity | num | 19 | 6 | | | | Allow NULL? |
| 48 | WasCogs | Was Line COGS Amount | num | 19 | 6 | | | | Allow NULL? |
| 49 | WasSales | Was Line Sales Amount | num | 19 | 6 | | | | Allow NULL? |
| 50 | WasPrice | Was Line Sales Price | num | 19 | 6 | | | | Allow NULL? |
| 51 | WasGrProf | Was Line Gross Profit | num | 19 | 6 | | | | Allow NULL? |
| 52 | BaseAbs | Base Document Abs Entry | int | 11 | 0 | | | | Allow NULL? |
| 53 | WasNewCogs | Was Line New Cogs | num | 19 | 6 | | | | Allow NULL? |
| 54 | ChDocLine | Chained Document Line | int | 11 | 0 | | | | Allow NULL? |