index

Package sb_edi_header_strings

This package contains the error messages and error message functions for the EDI Header API (sb_edi_header ).
For use with internal processing to produce the XML transcript.

Message KeyError Message
MISSING_DCMT_SEQNO Missing mandatory value for document sequence number.
The document sequence number is missing.
MISSING_ID_DATE_KEY Missing mandatory value for date code.
The document date code is missing.
MISSING_ID_DOC_KEY Missing mandatory value for document type code.
The document type code is missing.
MISSING_ID_EDI_KEY Missing mandatory value for document key.
The document key is missing.
MISSING_ID_TPORG Missing mandatory value for document key item.
The document key item is missing.
INVALID_PIDM Invalid value for internal identification number (PIDM).
The internal identification number (PIDM) is already in use by another record have the same document sequence number, date code, type code, and key.
P_DELETE_FAILED Cannot delete, record does not exist.
Cannot find record using the primary key.
PK_NOT_FOUND Cannot find record using primary or unique key.
A record already exists having the same document sequence number.
RECORD_EXISTS Cannot create, record already exists.
A record already exists having the same primary key.


Program units
f_get_error   Returns the error message corresponding to p_errorname.

Variables
error_tab   Global PL/SQL table that holds the error messages.


error_tab

error_tab gb_common_strings.errmsg_tab_type;

Global PL/SQL table that holds the error messages.


f_get_error

FUNCTION f_get_error(p_errorname VARCHAR2)
   RETURN gb_common_strings.err_type;

Returns the error message corresponding to p_errorname.

Parameters
p_errorname   name associated with the error message.