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_*AP_BATCH_*AP_DOCUMENT_FORMAT_*AP_DOCUMENT_PARAM_TYPE_*AP_LINES_ON_*AP_MESSAGE_*AP_MESSAGE_FIELD_*AP_MESSAGE_FIELD_DATE_*AP_MESSAGE_FIELD_TYPE_*AP_MESSAGE_TYPEAP_MESSAGE_TYPE_DETAIL_*AP_MESS_FIELD_TAPE_MARK_*AP_POST_*BALANCESCHECKCSV_*CURRENCY_OVERRIDE_*DELETE_*DISCOUNT_FLAG_*DISCOUNT_POSTED_AT_*GL_POSTINGS_BY_*PAYMENT_BY_*RECURRTEN99_*TEN99_EIN_*USER_CASH_*UTC

AP_* · 4

NameValueMeaningKindDBPrograms
AP_BALANCES"AP balances"AP: balancesconstantFIN
1
AP_BATCH"AP_BATCH"AP: batchconstantFIN
5
AP_CHECKS_INDIVIDUAL"I"AP: checks individualconstantFIN
3
AP_TAX_ALLOCATION"A"AP: tax allocationconstantFIN
2

Columns that hold these values (a program compares the column to the constant or stores it there):

AP_BATCH_* · 2

NameValueMeaningKindDBPrograms
AP_BATCH_EXTERNAL"E"AP batch: externalconstantFIN
2
AP_BATCH_VALIDATED"V"AP batch: validatedconstantFIN
1

Columns that hold these values (a program compares the column to the constant or stores it there):

AP_DOCUMENT_FORMAT_* · 2

NameValueMeaningKindDBPrograms
AP_DOCUMENT_FORMAT_DETAIL"D"AP document format: detailconstantFIN
5
AP_DOCUMENT_FORMAT_SUMMARY"S"AP document format: summaryconstantFIN
6

AP_DOCUMENT_PARAM_TYPE_* · 3

NameValueMeaningKindDBPrograms
AP_DOCUMENT_PARAM_TYPE_DATE"D"AP document param type: dateconstantFIN
6
AP_DOCUMENT_PARAM_TYPE_NUMBER"N"AP document param type: numberconstantFIN
12
AP_DOCUMENT_PARAM_TYPE_TEXT"T"Text (help: AP_DOCUMENT_QUERY_IN_TYPE)constantFIN
8

Columns that hold these values (a program compares the column to the constant or stores it there):

AP_LINES_ON_* · 3

NameValueMeaningKindDBPrograms
AP_LINES_ON_CHECK"21"AP lines ON: checkconstantFIN
3
AP_LINES_ON_DRAFT"20"AP lines ON: draftconstantFIN
1
AP_LINES_ON_REMITTANCE"21"AP lines ON: remittanceconstantFIN
7

AP_MESSAGE_* · 4

NameValueMeaningKindDBPrograms
AP_MESSAGE_COMPUTATION_PROMPT"Computation"AP message: computation promptconstantFIN·
AP_MESSAGE_DETAIL_TYPE"D"AP message: detail typeconstantFIN
2
AP_MESSAGE_HEADER_TYPE"H"AP message: header typeconstantFIN
4
AP_MESSAGE_TRAILER_TYPE"T"AP message: trailer typeconstantFIN
4

AP_MESSAGE_FIELD_* · 5

NameValueMeaningKindDBPrograms
AP_MESSAGE_FIELD_COUNT_BREAK"B"AP message field: count breakconstantFIN
2
AP_MESSAGE_FIELD_FILLER_DESC"Filler"AP message field: filler descconstantFIN
2
AP_MESSAGE_FIELD_HARDPAGE_DESC"FF for new page"AP message field: hardpage descconstantFIN
2
AP_MESSAGE_FIELD_NEWLINE_DESC"CR/LF for new line"AP message field: newline descconstantFIN
2
AP_MESSAGE_FIELD_OUTPUT_DESC"Immediate Output Flag"AP message field: output descconstantFIN
2

AP_MESSAGE_FIELD_DATE_* · 3

NameValueMeaningKindDBPrograms
AP_MESSAGE_FIELD_DATE_SEQ"S"AP message field date: seqconstantFIN·
AP_MESSAGE_FIELD_DATE_TABLE"T"AP message field date: tableconstantFIN
4
AP_MESSAGE_FIELD_DATE_TODAY"D"AP message field date: todayconstantFIN
2

AP_MESSAGE_FIELD_TYPE_* · 19

NameValueMeaningKindDBPrograms
AP_MESSAGE_FIELD_TYPE_COMPUTED"A"AP document message field whose value is computed from other fields (reading)constantFIN
6
AP_MESSAGE_FIELD_TYPE_CONSTANT"C"AP document message field that outputs fixed constant text (reading)constantFIN
6
AP_MESSAGE_FIELD_TYPE_COUNT"X"AP document message field that outputs a count of detail records (reading)constantFIN
6
AP_MESSAGE_FIELD_TYPE_DATE"D"AP document message field that outputs a formatted date (reading)constantFIN
6
AP_MESSAGE_FIELD_TYPE_FILLER"F"AP document message field that pads the record with filler characters (reading)constantFIN
4
AP_MESSAGE_FIELD_TYPE_HARDPAGE"H"AP document message control field that forces a page break in the output (reading)constantFIN
4
AP_MESSAGE_FIELD_TYPE_NEWLINE"L"AP document message control field that starts a new output line (reading)constantFIN
4
AP_MESSAGE_FIELD_TYPE_NUMERIC"N"Data type of an AP document message field: numeric (reading)constantFIN
6
AP_MESSAGE_FIELD_TYPE_OUTPUT"O"AP document message control field that writes the buffered record to output immediately (reading)constantFIN
4
AP_MESSAGE_FIELD_TYPE_PARAM"P"AP document message field that outputs a parameter entered when the document is run (reading)constantFIN
6
AP_MESSAGE_FIELD_TYPE_QUERY"Q"AP document message field whose value comes from a document query (reading)constantFIN
6
AP_MESSAGE_FIELD_TYPE_SEQUENCE"R"AP document message field that outputs a running record sequence number (reading)constantFIN
4
AP_MESSAGE_FIELD_TYPE_SORT_CNT"G"AP document message field that outputs a record count for a sort group (reading)constantFIN
8
AP_MESSAGE_FIELD_TYPE_SPECIAL"S"AP document message field that outputs a special (non-printing) character (reading)constantFIN
6
AP_MESSAGE_FIELD_TYPE_TABLE"T"AP document message field that outputs a column from a database table (reading)constantFIN
6
AP_MESSAGE_FIELD_TYPE_TAPE"M"AP document message control field that writes a tape mark to the EFT output (reading)constantFIN
4
AP_MESSAGE_FIELD_TYPE_TEXT"T"Data type of an AP document message field: text (reading)constantFIN
4
AP_MESSAGE_FIELD_TYPE_TIME"U"AP document message field that outputs the current time (reading)constantFIN
4
AP_MESSAGE_FIELD_TYPE_TOTAL"N"AP document message field that outputs a total accumulated over detail records (reading)constantFIN
6

AP_MESSAGE_TYPE · 1

NameValueMeaningKindDBPrograms
AP_MESSAGE_TYPE_MEMO_GROUP"M"AP message type memo groupconstantFIN
2

AP_MESSAGE_TYPE_DETAIL_* · 3

NameValueMeaningKindDBPrograms
AP_MESSAGE_TYPE_DETAIL_1"1"constantFIN
2
AP_MESSAGE_TYPE_DETAIL_2"2"constantFIN
2
AP_MESSAGE_TYPE_DETAIL_3"3"constantFIN
2

AP_MESS_FIELD_TAPE_MARK_* · 2

NameValueMeaningKindDBPrograms
AP_MESS_FIELD_TAPE_MARK_DESC"Tape Mark"AP mess field tape mark: descconstantFIN
2
AP_MESS_FIELD_TAPE_MARK_FLAG"[#TM#]"AP mess field tape mark: flagconstantFIN·

AP_POST_* · 2

NameValueMeaningKindDBPrograms
AP_POST_EXTERNAL"E"AP post: externalconstantFIN
2
AP_POST_MISCELLANEOUS"M"AP post: miscellaneousconstantFIN·

Columns that hold these values (a program compares the column to the constant or stores it there):

BALANCES · 1

NameValueMeaningKindDBPrograms
BALANCES"Balances"constantFIN
2

CHECK · 1

NameValueMeaningKindDBPrograms
CHECK_VOID"VOID"Check voidconstantFIN
8

Columns that hold these values (a program compares the column to the constant or stores it there):

CSV_* · 2

NameValueMeaningKindDBPrograms
CSV_DELIMITER","CSV: delimiterconstantFIN
7
CSV_EXPORT_ROW_LIMIT"62000"CSV: export row limitconstantFIN
7

CURRENCY_OVERRIDE_* · 3

NameValueMeaningKindDBPrograms
CURRENCY_OVERRIDE_ALWAYS"A"Currency override: alwayssettingFIN
49
CURRENCY_OVERRIDE_NEVER"N"Currency override: neversettingFIN
4
CURRENCY_OVERRIDE_REQ"R"Currency override: reqsettingFIN
2

DELETE_* · 2

NameValueMeaningKindDBPrograms
DELETE_MODE"N"Delete: modesettingMAN·
DELETE_STATUS""N""Delete: statussettingFIN
12

DISCOUNT_FLAG_* · 4

NameValueMeaningKindDBPrograms
DISCOUNT_FLAG_A"A"constantFIN
2
DISCOUNT_FLAG_E"E"constantFIN
1
DISCOUNT_FLAG_I"I"constantFIN
9
DISCOUNT_FLAG_N"N"constantFIN·

DISCOUNT_POSTED_AT_* · 2

NameValueMeaningKindDBPrograms
DISCOUNT_POSTED_AT_ALLOCATION"A"At allocation (decode: DISCOUNTS_POSTED_AT)constantFIN
7
DISCOUNT_POSTED_AT_ENTRY"E"At entry (decode: DISCOUNTS_POSTED_AT)constantFIN
37

Columns that hold these values (a program compares the column to the constant or stores it there):

GL_POSTINGS_BY_* · 2

NameValueMeaningKindDBPrograms
GL_POSTINGS_BY_BATCH"B"By batch (decode: HOW_POST)constantFIN
17
GL_POSTINGS_BY_TRANSACTION"T"By transaction (decode: HOW_POST)constantFIN
32

Columns that hold these values (a program compares the column to the constant or stores it there):

PAYMENT_BY_* · 2

NameValueMeaningKindDBPrograms
PAYMENT_BY_BACS"BACS"constantFIN·
PAYMENT_BY_CHECK"CHQ"Payment BY: checkconstantFIN
16

Columns that hold these values (a program compares the column to the constant or stores it there):

RECURR · 1

NameValueMeaningKindDBPrograms
RECURR_CHARGES"RECURR_CHARGES"constantFIN
6

TEN99_* · 5

NameValueMeaningKindDBPrograms
TEN99_CURRENCY_MASK"!-@@@@@@@@0.@@"Ten99: currency maskconstantFIN
1
TEN99_POSTAL_CODE_MASK"!@@@@@-0000"Ten99: postal code maskconstantFIN
3
TEN99_SSN_MASK"!@@@-@@-@@@@"Ten99: SSN maskconstantFIN
2
TEN99_TAPE_REC_SIZE"750"Ten99: tape rec sizeconstantFIN
1
TEN99_TEST_FEDERAL_ID"TESTDATA"Ten99: test federal IDconstantFIN
2

TEN99_EIN_* · 2

NameValueMeaningKindDBPrograms
TEN99_EIN_MASK"!@@-@@@@@@@"Ten99 ein: maskconstantFIN
3
TEN99_EIN_TYPE"1"Ten99 ein: typeconstantFIN
1

Columns that hold these values (a program compares the column to the constant or stores it there):

USER_CASH_* · 2

NameValueMeaningKindDBPrograms
USER_CASH_PAYMENTS"NON AP"User cash: paymentssettingFIN
11
USER_CASH_SALES"NON AR"User cash: salessettingFIN
5

UTC · 1

NameValueMeaningKindDBPrograms
UTC_OFFSET"+00:00"Utc offsetsettingFIN
2