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