index

Package tb_misc_detail_str

Error messages and error message functions for MISC_DETAIL.
Note that in addition to the messages below, errors may be raised from -
     GB_CURRENCY_RATE regarding currency conversion
     TB_CASHIER_SESSION regarding cashier session
     TB_COMMON regarding address and other common data
     TB_DETAIL_CODE regarding detail codes
     FFKFOAP (via TGKFOAP) for Finance Accounting validation
 

Message KeyError Message
INVALID_ACCOUNTINGMay not specify Accounting information - Detail Code General Ledger Numbers Enterable is No.
An attempt was made to provide accounting information when creating a record with a detail code for which ledger numbers are not enterable.
INVALID_AMOUNTAmount must be between .01 and 9,999,999,999.99.
The amount must be a positive number less than 10 billion.
INVALID_CCRD_CODEInvalid value for Credit Card Code.
The code must be valid in the Credit Card Type validation table (TTVCCRD).
INVALID_CR_WITH_PAYMay not include any Pay information with Debit or Credit = C.
An attempt was made to provide pay information when creating a credit transaction.
INVALID_DETAIL_CODE_ENTRYEither Pay Detail Code or Charge Detail Code required, but not both.
Exactly one detail code must be provided to create a record, either the Pay Detail Code or the Charge Detail Code.
INVALID_DOCUMENT_NUMBERDocument Number has previously been used with a different Miscellaneous Receipt.
An attempt was made to create a transaction providing a Document Number that has previously been used on a different Miscellaneous Receipt.
INVALID_DR_CR_INDDebit or Credit Indicator must be D or C.
The Debit or Credit indicator must be either D or C.
INVALID_DR_WITH_CHARGEMay not include any Charge information with Debit or Credit = D.
An attempt was made to provide charge information when creating a debit transaction.
MISSING_AMOUNTMissing mandatory value for Amount.
The Amount may not be null. It must be specified unless calculated from a valid Currency Code and Foreign Amount.


Program units
f_get_error   Returns error message corresponding to p_errorname

Variables
error_tab   Error message table


error_tab

error_tab gb_common_strings.errmsg_tab_type;

Error message table


f_get_error

Function f_get_error(p_errorname VARCHAR2) return varchar2

Returns error message corresponding to p_errorname

Parameters
p_errorname   Name associated with error message.