AP_TRANSACTIONS
AP Transactions
tableFINAP
AP_TRANSACTIONS — AP Transactions. FIN table in the standard Ross ERP 8.0 schema: 107 columns, used by 127 programs. Columns, data types, keys, foreign keys and relationships.
Open AP_TRANSACTIONS 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 | VENDOR_NUMBER | varchar(12) | Supplier Number (or ID) | |
| 4 | AP_DIVISION | varchar(2) | PK FK→VENDORS | Division |
| 5 | TRANSACTION_TYPE | varchar(2) | PK FK→AP_TRANSACTION_TYPES | Transaction Type |
| 6 | TRANSACTION_DATE | datetime | Transaction Date | |
| 7 | SYSTEM_DATE | datetime | System Date Transaction Made | |
| 8 | DUE_DATE | datetime | Due Date | |
| 9 | TRANSACTION_DESCRIPTION | varchar(60) | Transaction Description | |
| 10 | VENDOR_REFERENCE | varchar(25) | Supplier Reference | |
| 11 | DOCUMENT_REFERENCE | varchar(15) | Document Reference (Voucher No, etc.) | |
| 12 | TAX | numeric(20,2) | Transaction Tax | |
| 13 | DISCOUNT | numeric(20,2) | Discount Allowed | |
| 14 | FREIGHT | numeric(20,2) | Freight Value | |
| 15 | CASH_DISCOUNT | numeric(20,2) | Cash Discount Taken | |
| 16 | DISCOUNT_DATE | datetime | Cash Discount Date | |
| 17 | PERIOD | smallint | Period Number | |
| 18 | YEAR | smallint | Year Number | |
| 19 | ALLOCATION_DATE | datetime | Date of Last Allocation | |
| 20 | HOLD_FLAG | varchar(6) | FK→AP_HOLD_FLAGS | Transaction on Hold Flag |
| 21 | ORIG_INVOICE_DIVISION | varchar(2) | FK→AP_CONTROLS | Originating Invoice Division |
| 22 | BATCH_NUMBER | int | Run Number | |
| 23 | DORC_INDICATOR | smallint | Debit or Credit Indicator | |
| 24 | PAYEE_NUMBER | varchar(12) | FK→PAYEES | Payee Number (or ID) |
| 25 | TEN99_FLAG | varchar(1) | US 1099 Flag | |
| 26 | PAYMENT_TYPE | varchar(6) | Payment Type | |
| 27 | BATCH_SEQUENCE_NUMBER | smallint | Batch Sequence Number | |
| 28 | COST_CENTER | varchar(3) | Cost Center Code | |
| 29 | DUE_PERIOD | smallint | Period When Transaction Due | |
| 30 | DUE_YEAR | smallint | Year When Transaction Due | |
| 31 | TEMP_ALLOC_AMOUNT | numeric(20,2) | Temporary Cash Allocation Amount | |
| 32 | TEMP_ALLOC_DISC | numeric(20,2) | Temporary Cash Discount Allocation Amount | |
| 33 | CREDIT_TERMS_CODE | varchar(6) | FK→CREDIT_TERMS | Credit Terms Code |
| 34 | PAYMENT_RUN_NUMBER | int | Payment Run Number | |
| 35 | TEN99_CODE | varchar(2) | 1099 Placement Code | |
| 36 | BANK_CODE | varchar(6) | FK→BANK_CODES | Bank Code |
| 37 | TAX_UPDATE_COMPLETE | varchar(1) | Tax Updated to Tax Details | |
| 38 | MATCHED | varchar(1) | Bank Reconciliation Matched Indicator | |
| 39 | DISCOUNT_ALLOCATED_TO_DATE | numeric(20,2) | ||
| 40 | PID | varchar(8) | Processor Identification | |
| 41 | INTERNAL_COMMENTS | text | Internal Comments for narative diary | |
| 42 | REGISTRATION_NUMBER | varchar(9) | Registration Number | |
| 43 | USERNAME | varchar(20) | Username | |
| 44 | PAYMENT_PRIORITY | smallint | Payment Priority | |
| 45 | CR_SEARCH_KEY | int | ||
| 46 | GL_POSTINGS_IN_BATCH | varchar(1) | Gl Postings included in a batch | |
| 47 | JOURNAL_NUMBER | int | Journal Number | |
| 48 | JOURNAL_LINE | smallint | Journal Line | |
| 49 | INVOICE_METHOD | varchar(2) | Invoicing Method | |
| 50 | AP_TRANSACTION_NUMBER | varchar(9) | PK | Transaction Number |
| 51 | AP_SOURCE_TRANSACTION | int | Source transaction number | |
| 52 | AP_TRAN_TOTAL_BASE | numeric(20,2) | Total Transaction Value in Base Currency | |
| 53 | AP_TRAN_TOTAL_CURRENCY | numeric(20,2) | Total Transaction Value in Currency | |
| 54 | AP_ALLOCATED_BASE | numeric(20,2) | Allocated to Date in Base Currency | |
| 55 | AP_ALLOCATED_CURRENCY | numeric(20,2) | Allocated to Date in Currency | |
| 56 | SYS_CURRENCY_CODE | varchar(6) | Currency Code | |
| 57 | SYS_CURRENCY_RATE | numeric(20,12) | Currency Rate | |
| 58 | SYS_RATE_AUTHORITY | varchar(6) | Currency Rate Authority | |
| 59 | SYS_RATE_TYPE | varchar(6) | Currency Rate Type | |
| 60 | SYS_CURRENCY_FIXED_FLAG | varchar(1) | Currency Rate Fixed Flag | |
| 61 | SYS_CURRENCY_RATIO_INDIC | varchar(1) | Ratio Indicator | |
| 62 | SYS_BASE_CURRENCY_CODE | varchar(6) | ||
| 63 | SYS_CURRENCY_DIFF_UNREALISED | numeric(20,2) | Difference gained from currency rate movements | |
| 64 | SYS_CURRENCY_GAIN_REALISED | numeric(20,2) | Difference gained during currency conversion. | |
| 65 | SYS_CURRENCY_LOSS_REALISED | numeric(20,2) | Difference Lost during currency conversion. | |
| 66 | SYS_CURRENCY_DATE | datetime | Currency Date | |
| 67 | AP_PAYMENT_ANALYSIS_1 | varchar(20) | Payment Analysis for EFT/Drafts | |
| 68 | AP_PAYMENT_ANALYSIS_2 | varchar(20) | ||
| 69 | AP_PAYMENT_ANALYSIS_3 | varchar(20) | ||
| 70 | AP_PAYMENT_ANALYSIS_4 | varchar(20) | ||
| 71 | AP_PAYMENT_ANALYSIS_5 | varchar(30) | Payment analysis for EFT/Drafts | |
| 72 | AP_DRAFTS_RUN_NUMBER | int | ||
| 73 | SYS_CURR_UNREALISED_GAIN | numeric(20,2) | Unrealized Currency Gain | |
| 74 | SYS_CURR_UNREALISED_LOSS | numeric(20,2) | Unrealized Currency Loss | |
| 75 | SYS_E_TAX_VAL | numeric(20,2) | Expensed Tax Value | |
| 76 | SYS_N_TAX_VAL | numeric(20,2) | Non-expensed Tax Value | |
| 77 | SYS_TAXABLE_CODE | varchar(1) | Vendor taxable code | |
| 78 | FROM_TRANS_NUMBER | varchar(9) | ||
| 79 | TO_TRANS_NUMBER | varchar(9) | ||
| 80 | CONTROL_SHORT_CODE | varchar(6) | ||
| 81 | CONTROL_ACCOUNT_NUMBER | varchar(50) | ||
| 82 | LAST_ALLOCATION_YEAR | smallint | ||
| 83 | LAST_ALLOCATION_PERIOD | smallint | ||
| 84 | POSTING_DATE | datetime | Posting Date | |
| 85 | SYS_TAX_RETAINERS_CURRENCY | numeric(20,2) | Tax Retainers amount in Currency | |
| 86 | SYS_TAX_RETAINERS_BASE | numeric(20,2) | Tax Retainers amount in Base | |
| 87 | SYS_CURRENCY_2_FIXED_FLAG | varchar(1) | Currency Rate Fixed | |
| 88 | SYS_CURRENCY_2_RATE | numeric(20,12) | Second Base Currency Rate | |
| 89 | SYS_CURRENCY_2_RATIO_INDIC | varchar(1) | Ratio Indicator for Second Base | |
| 90 | SYS_RATE_2_AUTHORITY | varchar(6) | Second Base Currency Rate Authority | |
| 91 | SYS_RATE_2_TYPE | varchar(6) | Second Base Currency Rate Type | |
| 92 | AP_ALLOCATED_2_BASE | numeric(20,2) | Allocated to Date in Second Base Currency | |
| 93 | AP_TRAN_TOTAL_2_BASE | numeric(20,2) | Total Transaction Value in Second Base Currency | |
| 94 | SYS_TAX_RETAINERS_2_BASE | numeric(20,2) | Tax Retainers amount in Second Base | |
| 95 | CI_TRANSACTION_NUMBER | int | ||
| 96 | CI_CUTOFF_DATE | datetime | ||
| 97 | BANK_STATEMENT_NUMBER | varchar(6) | Bank Statement Number | |
| 98 | BANK_STATEMENT_SEQ | int | Bank Statement Number Sequence | |
| 99 | RS_DATE_TIME | datetime | ||
| 100 | SYS_CURR_VAR_UNREALISED | computed | ||
| 101 | TAX_VAL | computed | ||
| 102 | AP_OS_BALANCE_BASE | computed | ||
| 103 | AP_OS_BALANCE_CURRENCY | computed | ||
| 104 | SYS_CURRENCY_DIFF_REALISED | computed | ||
| 105 | AP_OS_BALANCE_2_BASE | computed | ||
| 106 | GEM_MODIFY_DATE | datetime | System timestamp of the most recent modification to the row, maintained by GEMBASE. | |
| 107 | GEM_ARCHIVE_FLAG | varchar(20) | System flag indicating whether the row has been archived by the GEMBASE archive process. |