Constants · Accounts Payable (AP)
The 83 named parameters in 27 groups that the Accounts Payable (AP) programs use most, with the value each one stands for. The vendor documents only some of them; the rest are explained from the code. They explain the literal codes stored in columns.
AP_* · 4
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_BALANCES | "AP balances" | AP: balances | constant | FIN | |
| AP_BATCH | "AP_BATCH" | AP: batch | constant | FIN | |
| AP_CHECKS_INDIVIDUAL | "I" | AP: checks individual | constant | FIN | |
| AP_TAX_ALLOCATION | "A" | AP: tax allocation | constant | FIN |
Columns that hold these values (a program compares the column to the constant or stores it there):
- STATUS_FLAG (AP_CHECKS_INDIVIDUAL) · in CHECKS
AP_BATCH_* · 2
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_BATCH_EXTERNAL | "E" | AP batch: external | constant | FIN | |
| AP_BATCH_VALIDATED | "V" | AP batch: validated | constant | FIN |
Columns that hold these values (a program compares the column to the constant or stores it there):
- STATUS_FLAG (AP_BATCH_EXTERNAL, AP_BATCH_VALIDATED) · in AP_BATCH_TRANSACTIONS
AP_DOCUMENT_FORMAT_* · 2
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_DOCUMENT_FORMAT_DETAIL | "D" | AP document format: detail | constant | FIN | |
| AP_DOCUMENT_FORMAT_SUMMARY | "S" | AP document format: summary | constant | FIN |
AP_DOCUMENT_PARAM_TYPE_* · 3
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_DOCUMENT_PARAM_TYPE_DATE | "D" | AP document param type: date | constant | FIN | |
| AP_DOCUMENT_PARAM_TYPE_NUMBER | "N" | AP document param type: number | constant | FIN | |
| AP_DOCUMENT_PARAM_TYPE_TEXT | "T" | Text (help: AP_DOCUMENT_QUERY_IN_TYPE) | constant | FIN |
Columns that hold these values (a program compares the column to the constant or stores it there):
- AP_DOCUMENT_QUERY_IN_TYPE (AP_DOCUMENT_PARAM_TYPE_NUMBER, AP_DOCUMENT_PARAM_TYPE_TEXT) · in AP_DOCUMENT_QUERY_HEADERS
- AP_DOCUMENT_QUERY_OUT_TYPE (AP_DOCUMENT_PARAM_TYPE_NUMBER, AP_DOCUMENT_PARAM_TYPE_TEXT) · in AP_DOCUMENT_QUERY_HEADERS
- AR_DOCUMENT_QUERY_IN_TYPE (AP_DOCUMENT_PARAM_TYPE_NUMBER, AP_DOCUMENT_PARAM_TYPE_TEXT) · in AR_DOCUMENT_QUERY_HEADERS
- AR_DOCUMENT_QUERY_OUT_TYPE (AP_DOCUMENT_PARAM_TYPE_NUMBER, AP_DOCUMENT_PARAM_TYPE_TEXT) · in AR_DOCUMENT_QUERY_HEADERS
AP_LINES_ON_* · 3
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_LINES_ON_CHECK | "21" | AP lines ON: check | constant | FIN | |
| AP_LINES_ON_DRAFT | "20" | AP lines ON: draft | constant | FIN | |
| AP_LINES_ON_REMITTANCE | "21" | AP lines ON: remittance | constant | FIN |
AP_MESSAGE_* · 4
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_MESSAGE_COMPUTATION_PROMPT | "Computation" | AP message: computation prompt | constant | FIN | · |
| AP_MESSAGE_DETAIL_TYPE | "D" | AP message: detail type | constant | FIN | |
| AP_MESSAGE_HEADER_TYPE | "H" | AP message: header type | constant | FIN | |
| AP_MESSAGE_TRAILER_TYPE | "T" | AP message: trailer type | constant | FIN |
AP_MESSAGE_FIELD_* · 5
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_MESSAGE_FIELD_COUNT_BREAK | "B" | AP message field: count break | constant | FIN | |
| AP_MESSAGE_FIELD_FILLER_DESC | "Filler" | AP message field: filler desc | constant | FIN | |
| AP_MESSAGE_FIELD_HARDPAGE_DESC | "FF for new page" | AP message field: hardpage desc | constant | FIN | |
| AP_MESSAGE_FIELD_NEWLINE_DESC | "CR/LF for new line" | AP message field: newline desc | constant | FIN | |
| AP_MESSAGE_FIELD_OUTPUT_DESC | "Immediate Output Flag" | AP message field: output desc | constant | FIN |
AP_MESSAGE_FIELD_DATE_* · 3
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_MESSAGE_FIELD_DATE_SEQ | "S" | AP message field date: seq | constant | FIN | · |
| AP_MESSAGE_FIELD_DATE_TABLE | "T" | AP message field date: table | constant | FIN | |
| AP_MESSAGE_FIELD_DATE_TODAY | "D" | AP message field date: today | constant | FIN |
AP_MESSAGE_FIELD_TYPE_* · 19
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_MESSAGE_FIELD_TYPE_COMPUTED | "A" | AP document message field whose value is computed from other fields (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_CONSTANT | "C" | AP document message field that outputs fixed constant text (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_COUNT | "X" | AP document message field that outputs a count of detail records (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_DATE | "D" | AP document message field that outputs a formatted date (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_FILLER | "F" | AP document message field that pads the record with filler characters (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_HARDPAGE | "H" | AP document message control field that forces a page break in the output (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_NEWLINE | "L" | AP document message control field that starts a new output line (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_NUMERIC | "N" | Data type of an AP document message field: numeric (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_OUTPUT | "O" | AP document message control field that writes the buffered record to output immediately (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_PARAM | "P" | AP document message field that outputs a parameter entered when the document is run (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_QUERY | "Q" | AP document message field whose value comes from a document query (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_SEQUENCE | "R" | AP document message field that outputs a running record sequence number (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_SORT_CNT | "G" | AP document message field that outputs a record count for a sort group (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_SPECIAL | "S" | AP document message field that outputs a special (non-printing) character (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_TABLE | "T" | AP document message field that outputs a column from a database table (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_TAPE | "M" | AP document message control field that writes a tape mark to the EFT output (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_TEXT | "T" | Data type of an AP document message field: text (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_TIME | "U" | AP document message field that outputs the current time (reading) | constant | FIN | |
| AP_MESSAGE_FIELD_TYPE_TOTAL | "N" | AP document message field that outputs a total accumulated over detail records (reading) | constant | FIN |
AP_MESSAGE_TYPE · 1
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_MESSAGE_TYPE_MEMO_GROUP | "M" | AP message type memo group | constant | FIN |
AP_MESSAGE_TYPE_DETAIL_* · 3
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_MESSAGE_TYPE_DETAIL_1 | "1" | constant | FIN | ||
| AP_MESSAGE_TYPE_DETAIL_2 | "2" | constant | FIN | ||
| AP_MESSAGE_TYPE_DETAIL_3 | "3" | constant | FIN |
AP_MESS_FIELD_TAPE_MARK_* · 2
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_MESS_FIELD_TAPE_MARK_DESC | "Tape Mark" | AP mess field tape mark: desc | constant | FIN | |
| AP_MESS_FIELD_TAPE_MARK_FLAG | "[#TM#]" | AP mess field tape mark: flag | constant | FIN | · |
AP_POST_* · 2
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| AP_POST_EXTERNAL | "E" | AP post: external | constant | FIN | |
| AP_POST_MISCELLANEOUS | "M" | AP post: miscellaneous | constant | FIN | · |
Columns that hold these values (a program compares the column to the constant or stores it there):
- SYS_POST_TYPE (AP_POST_EXTERNAL) · in AP_BATCH_GL_POSTINGS
BALANCES · 1
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| BALANCES | "Balances" | constant | FIN |
CHECK · 1
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| CHECK_VOID | "VOID" | Check void | constant | FIN |
Columns that hold these values (a program compares the column to the constant or stores it there):
- PAYEE_NUMBER (CHECK_VOID) · in AP_CHECK_REGISTER, CHECKS
CSV_* · 2
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| CSV_DELIMITER | "," | CSV: delimiter | constant | FIN | |
| CSV_EXPORT_ROW_LIMIT | "62000" | CSV: export row limit | constant | FIN |
CURRENCY_OVERRIDE_* · 3
DELETE_* · 2
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| DELETE_MODE | "N" | Delete: mode | setting | MAN | · |
| DELETE_STATUS | ""N"" | Delete: status | setting | FIN |
DISCOUNT_FLAG_* · 4
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| DISCOUNT_FLAG_A | "A" | constant | FIN | ||
| DISCOUNT_FLAG_E | "E" | constant | FIN | ||
| DISCOUNT_FLAG_I | "I" | constant | FIN | ||
| DISCOUNT_FLAG_N | "N" | constant | FIN | · |
DISCOUNT_POSTED_AT_* · 2
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| DISCOUNT_POSTED_AT_ALLOCATION | "A" | At allocation (decode: DISCOUNTS_POSTED_AT) | constant | FIN | |
| DISCOUNT_POSTED_AT_ENTRY | "E" | At entry (decode: DISCOUNTS_POSTED_AT) | constant | FIN | 37
|
Columns that hold these values (a program compares the column to the constant or stores it there):
- CASH_DISCOUNT_TAX (DISCOUNT_POSTED_AT_ALLOCATION) · in SOURCE_DATA_VT
- DISCOUNTS_POSTED_AT (DISCOUNT_POSTED_AT_ALLOCATION, DISCOUNT_POSTED_AT_ENTRY) · in AP_CONTROLS, AR_CONTROLS, SOURCE_DATA_VT
GL_POSTINGS_BY_* · 2
Columns that hold these values (a program compares the column to the constant or stores it there):
- HOW_POST (GL_POSTINGS_BY_BATCH, GL_POSTINGS_BY_TRANSACTION) · in AP_BATCH_TRANSACTIONS, AR_BATCH_TRANSACTIONS, RECURRING_CHARGES
- POSTING_FLAG (GL_POSTINGS_BY_TRANSACTION) · in AP_TRANSACTION_TYPES, AR_TRANSACTION_TYPES
PAYMENT_BY_* · 2
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| PAYMENT_BY_BACS | "BACS" | constant | FIN | · | |
| PAYMENT_BY_CHECK | "CHQ" | Payment BY: check | constant | FIN | 16
|
Columns that hold these values (a program compares the column to the constant or stores it there):
- PAYMENT_TYPE (PAYMENT_BY_CHECK) · in AP_CONTROLS_CHECK_RUNS, AP_TRANSACTIONS
RECURR · 1
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| RECURR_CHARGES | "RECURR_CHARGES" | constant | FIN |
TEN99_* · 5
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| TEN99_CURRENCY_MASK | "!-@@@@@@@@0.@@" | Ten99: currency mask | constant | FIN | |
| TEN99_POSTAL_CODE_MASK | "!@@@@@-0000" | Ten99: postal code mask | constant | FIN | |
| TEN99_SSN_MASK | "!@@@-@@-@@@@" | Ten99: SSN mask | constant | FIN | |
| TEN99_TAPE_REC_SIZE | "750" | Ten99: tape rec size | constant | FIN | |
| TEN99_TEST_FEDERAL_ID | "TESTDATA" | Ten99: test federal ID | constant | FIN |
TEN99_EIN_* · 2
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| TEN99_EIN_MASK | "!@@-@@@@@@@" | Ten99 ein: mask | constant | FIN | |
| TEN99_EIN_TYPE | "1" | Ten99 ein: type | constant | FIN |
Columns that hold these values (a program compares the column to the constant or stores it there):
- SYS_TEN99_TIN_TYPE (TEN99_EIN_TYPE) · in AP_TEN99_PAYEE_SELECT
USER_CASH_* · 2
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| USER_CASH_PAYMENTS | "NON AP" | User cash: payments | setting | FIN | |
| USER_CASH_SALES | "NON AR" | User cash: sales | setting | FIN |
UTC · 1
| Name | Value | Meaning | Kind | DB | Programs |
|---|---|---|---|---|---|
| UTC_OFFSET | "+00:00" | Utc offset | setting | FIN |