AP_BATCH_TRAN_LINES
Accounts Payable Batch Transaction Lines
tableFINAP
AP_BATCH_TRAN_LINES — Accounts Payable Batch Transaction Lines. FIN table in the standard Ross ERP 8.0 schema: 69 columns, used by 38 programs. Columns, data types, keys, foreign keys and relationships.
Open AP_BATCH_TRAN_LINES in the interactive Data Dictionary →Part of AP tables & objects · all tables, views & procedures
Columns
| # | Column | Type | Key | Description |
|---|---|---|---|---|
| 1 | GEM_DBKEY | int | GEMBASE internal surrogate primary key: a system-generated unique row identifier (the database key). Not a business field; every table carries one. | |
| 2 | COMPANY_CODE | varchar(10) | PK | Company Code |
| 3 | BATCH_NUMBER | int | PK FK→AP_BATCH_TRANSACTIONS | Run Number |
| 4 | BATCH_SEQUENCE_NUMBER | smallint | PK | Batch Sequence Number |
| 5 | VENDOR_NUMBER | varchar(12) | FK→VENDORS | Supplier Number (or ID) |
| 6 | AP_DIVISION | varchar(2) | PK FK→AP_CONTROLS | Division |
| 7 | TRANSACTION_TYPE | varchar(2) | Transaction Type | |
| 8 | TRANSACTION_DATE | datetime | Transaction Date | |
| 9 | SYSTEM_DATE | datetime | System Date Transaction Made | |
| 10 | DUE_DATE | datetime | Due Date | |
| 11 | TRANSACTION_DESCRIPTION | varchar(60) | Transaction Description | |
| 12 | VENDOR_REFERENCE | varchar(25) | Supplier Reference | |
| 13 | TAX | numeric(20,2) | Transaction Tax | |
| 14 | CASH_DISCOUNT | numeric(20,2) | Cash Discount Taken | |
| 15 | DISCOUNT_DATE | datetime | Cash Discount Date | |
| 16 | PERIOD | smallint | Period Number | |
| 17 | DUE_PERIOD | smallint | Period When Transaction Due | |
| 18 | DUE_YEAR | smallint | Year When Transaction Due | |
| 19 | ORIG_INVOICE_DIVISION | varchar(2) | Originating Invoice Division | |
| 20 | DOCUMENT_REFERENCE | varchar(15) | Document Reference (Voucher No, etc.) | |
| 21 | HOLD_FLAG | varchar(6) | FK→AP_HOLD_FLAGS | Transaction on Hold Flag |
| 22 | COST_CENTER | varchar(3) | Cost Center Code | |
| 23 | DORC_INDICATOR | smallint | Debit or Credit Indicator | |
| 24 | PAYEE_NUMBER | varchar(12) | Payee Number (or ID) | |
| 25 | PAYMENT_TYPE | varchar(6) | Payment Type | |
| 26 | TEN99_FLAG | varchar(1) | US 1099 Flag | |
| 27 | PAYMENT_CODE | varchar(6) | Payment Code | |
| 28 | PAY_PERIOD | smallint | Year and Period Payment Due | |
| 29 | YEAR | smallint | Year Number | |
| 30 | TEN99_CODE | varchar(2) | 1099 Placement Code | |
| 31 | CREDIT_TERMS_CODE | varchar(6) | FK→CREDIT_TERMS | Credit Terms Code |
| 32 | REGISTRATION_NUMBER | varchar(9) | Registration Number | |
| 33 | AP_TRANSACTION_NUMBER | varchar(9) | Transaction Number | |
| 34 | AP_TRAN_TOTAL_BASE | numeric(20,2) | Total Transaction Value in Base Currency | |
| 35 | AP_TRAN_TOTAL_CURRENCY | numeric(20,2) | Total Transaction Value in Currency | |
| 36 | SYS_CURRENCY_CODE | varchar(6) | Currency Code | |
| 37 | SYS_CURRENCY_RATE | numeric(20,12) | Currency Rate | |
| 38 | SYS_RATE_AUTHORITY | varchar(6) | Currency Rate Authority | |
| 39 | SYS_RATE_TYPE | varchar(6) | Currency Rate Type | |
| 40 | SYS_CURRENCY_FIXED_FLAG | varchar(1) | Currency Rate Fixed Flag | |
| 41 | SYS_CURRENCY_RATIO_INDIC | varchar(1) | Ratio Indicator | |
| 42 | SYS_CURRENCY_DATE | datetime | Currency Date | |
| 43 | BALANCE_TO_ZERO | numeric(20,2) | Voucher Balances to Zero | |
| 44 | AP_PAYMENT_ANALYSIS_1 | varchar(20) | Payment Analysis for EFT/Drafts | |
| 45 | AP_PAYMENT_ANALYSIS_2 | varchar(20) | ||
| 46 | AP_PAYMENT_ANALYSIS_3 | varchar(20) | ||
| 47 | AP_PAYMENT_ANALYSIS_4 | varchar(20) | ||
| 48 | AP_PAYMENT_ANALYSIS_5 | varchar(30) | Payment analysis for EFT/Drafts | |
| 49 | ACTIVATION_STATUS | varchar(1) | Activation Status | |
| 50 | TAXABLE | varchar(1) | Taxable | |
| 51 | SYS_TAXABLE_CODE | varchar(1) | Vendor taxable code | |
| 52 | SYS_E_TAX_VAL | numeric(20,2) | Expensed Tax Value | |
| 53 | SYS_N_TAX_VAL | numeric(20,2) | Non-expensed Tax Value | |
| 54 | SYS_TAX_RETAINERS_CURRENCY | numeric(20,2) | Tax Retainers amount in Currency | |
| 55 | SYS_TAX_RETAINERS_BASE | numeric(20,2) | Tax Retainers amount in Base | |
| 56 | AP_TRAN_TOTAL_2_BASE | numeric(20,2) | Total Transaction Value in Second Base Currency | |
| 57 | SYS_TAX_RETAINERS_2_BASE | numeric(20,2) | Tax Retainers amount in Second Base | |
| 58 | SYS_CURRENCY_2_FIXED_FLAG | varchar(1) | Currency Rate Fixed | |
| 59 | SYS_CURRENCY_2_RATE | numeric(20,12) | Second Base Currency Rate | |
| 60 | SYS_CURRENCY_2_RATIO_INDIC | varchar(1) | Ratio Indicator for Second Base | |
| 61 | SYS_RATE_2_AUTHORITY | varchar(6) | Second Base Currency Rate Authority | |
| 62 | SYS_RATE_2_TYPE | varchar(6) | Second Base Currency Rate Type | |
| 63 | PRICING_METHOD | smallint | Pricing method, tax exclusive or inclusive | |
| 64 | PA_PROJECT_CODE | varchar(10) | PA Project Code | |
| 65 | PA_WBS_NUMBER | varchar(25) | Project WBS Number | |
| 66 | SYS_BASE_CURRENCY_CODE | varchar(6) | ||
| 67 | SYS_SECOND_BASE_CURRENCY_CODE | varchar(6) | Second Base Currency Code | |
| 68 | GEM_ARCHIVE_FLAG | varchar(20) | System flag indicating whether the row has been archived by the GEMBASE archive process. | |
| 69 | TAX_VAL | computed |