| Column | Field | Description | SQL Type | Length | Decimals | Relation | Default Value | Constraints | SQL Create Statement |
---|
| 1 | AbsEntry | Internal ID | int | 11 | 0 | | | | Allow NULL? |
| 2 | Status | Status | char | 1 | 0 | | O | C=Canceled, O=Open | Allow NULL? |
| 3 | Canceled | Canceled | char | 1 | 0 | | N | N=No, Y=Yes | Allow NULL? |
| 4 | DocNum | Document Number | int | 11 | 0 | | | | Allow NULL? |
| 5 | DocRate | Document Rate | num | 19 | 6 | | | | Allow NULL? |
| 6 | TaxCat | Tax Category | int | 11 | 0 | | | | Allow NULL? |
| 7 | Type | Type | int | 6 | 0 | | 1 | 10=ICMS-ST Obligations to Pay or Paid - Own Operations, 11=Adjustment of IPI Appraisal, 12=Adjustment of PIS Appraisal, 13=Adjustment of COFINS appraisal, 1=Referred Collection Document, 2=Other Obligations, Adjustments, and Information Originating from Fiscal Documents, 3=Adjustment of ICMS Appraisal, 4=Adjustment and Additional Informati | Allow NULL? |
| 8 | Oper | Operation | int | 6 | 0 | | 1 | 1=Other Debits, 2=Chargeback of Debits, 3=Other Credits, 4=Credit Chargeback, 5=Tax Deductions Calculated | Allow NULL? |
| 9 | RefVisType | Referenced Document ID | int | 11 | 0 | | 1 | 1=A/R Invoices, 2=A/P Invoices, 3=A/R Credit Memos, 4=A/P Credit Memos, 5=Deliveries, 6=Goods Receipt PO, 7=A/R Reserve Invoices, 8=A/P Reserve Invoices, 9=External Document | Allow NULL? |
| 10 | RefObjType | Referenced Document Type | int | 11 | 0 | | | -1=External Document, 13=A/R Invoices, 14=A/R Credit Memos, 15=Deliveries, 18=A/P Invoices, 19=A/P Credit Memos, 20=Goods Receipt PO | Allow NULL? |
| 11 | RefDocEnt | Referenced Document Entry | int | 11 | 0 | | | | Allow NULL? |
| 12 | RefDocNum | Referenced Document Number | int | 11 | 0 | | | | Allow NULL? |
| 13 | StateUf | State - UF | nvarchar | 2 | 0 | | | | Allow NULL? |
| 14 | PostDate | Posting Date | date | 8 | 0 | | | | |
| 15 | CodDa | Collection Document | char | 1 | 0 | | 1 | 1=GNRE, 2=Other Document | Allow NULL? |
| 16 | NumDa | Document Number | nvarchar | 20 | 0 | | | | Allow NULL? |
| 17 | CodAut | Bank Authentication | nvarchar | 30 | 0 | | | | Allow NULL? |
| 18 | VlDa | Total Value | num | 19 | 6 | | | | Allow NULL? |
| 19 | VlDaSc | Total Value SC | num | 19 | 6 | | | | Allow NULL? |
| 20 | DtVcto | Due Date | date | 8 | 0 | | | | |
| 21 | DtPgto | Payment Date | date | 8 | 0 | | | | |
| 22 | CodAj | ICMS Code | nvarchar | 10 | 0 | | | | Allow NULL? |
| 23 | DescCompAj | Remarks | nvarchar | 120 | 0 | | | | Allow NULL? |
| 24 | BcIcms | ICMS Base Amount | num | 19 | 6 | | | | Allow NULL? |
| 25 | BcIcmsSc | ICMS Base Amount SC | num | 19 | 6 | | | | Allow NULL? |
| 26 | AliqIcms | ICMS Rate | num | 19 | 6 | | | | Allow NULL? |
| 27 | VlIcms | ICMS Value | num | 19 | 6 | | | | Allow NULL? |
| 28 | VlIcmsSc | ICMS Value SC | num | 19 | 6 | | | | Allow NULL? |
| 29 | VlOutros | Other Values | num | 19 | 6 | | | | Allow NULL? |
| 30 | CodAjApur | Adjustment Code | nvarchar | 10 | 0 | | | | Allow NULL? |
| 31 | NumProc | Procedure Docket Number | nvarchar | 10 | 0 | | | | Allow NULL? |
| 32 | IndProc | Procedure Docket Indicator | char | 1 | 0 | | | | Allow NULL? |
| 33 | Ser | Fiscal Document Serial | nvarchar | 3 | 0 | | | | Allow NULL? |
| 34 | Sub | Fiscal Document Subserial | nvarchar | 3 | 0 | | | | Allow NULL? |
| 35 | NumDoc | Fiscal Document Number | int | 11 | 0 | | | | Allow NULL? |
| 36 | DtDoc | Fiscal Document Issue Date | date | 8 | 0 | | | | |
| 37 | CodMod | Model Document Number | nvarchar | 6 | 0 | | | | Allow NULL? |
| 38 | CodPart | BP Code | nvarchar | 15 | 0 | OCRD | | | Allow NULL? |
| 39 | CodRec | Revenue Code | nvarchar | 15 | 0 | | | | Allow NULL? |
| 40 | GLAcct | G/L Account Code | nvarchar | 15 | 0 | OACT | | | Allow NULL? |
| 41 | ItemCode | Item Code | nvarchar | 50 | 0 | OITM | | | Allow NULL? |
| 42 | BPLId | Branch ID | int | 11 | 0 | OBPL | | | Allow NULL? |
| 43 | UserSign | User Signature | int | 6 | 0 | | | | Allow NULL? |
| 44 | UserSign2 | Updating User | int | 6 | 0 | | | | Allow NULL? |
| 45 | CreateDate | Creation Date | date | 8 | 0 | | | | |
| 46 | CreateTime | Generation Time | int | 6 | 0 | | | | Allow NULL? |
| 47 | UpdateDate | Date of Update | date | 8 | 0 | | | | |
| 48 | TransId | Transaction Number | int | 11 | 0 | OJDT | | | Allow NULL? |