index

Package sb_edi_immunization_strings

This package contains the error messages and error message functions for the EDI Immunization API (sb_edi_immunization).

Message KeyError Message
MISSING_DCMT_SEQNO Missing mandatory value for document sequence number
The document sequence number is missing.
MISSING_IMMU_CODE Missing mandatory value for immunization code
The immunization code is missing.
MISSING_USER_ID Missing mandatory value for user
A valid user identification is required.
INVALID_IMMU_CODE Invalid value for immunization code
Immunization code must be crosswalked on SOAXREF for IMMZTYPE.
INVALID_IMST_CODE Invalid value for immunization status code
Immunization status code must be crosswalked on SOAXREF for IMMZSTAT.
P_DELETE_FAILED Cannot delete, record does not exist
Cannot find the record using the document sequence number, immunization code, and immunization date.
PK_NOT_FOUND Cannot find record using primary or unique key
Cannot find the record using the document sequence number, immunization code, and immunization date.
RECORD_EXISTS Cannot create, record already exists
A record currently exists having the same document sequence number, immunization code, and immunization date.


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.