procedure set_error_exit_program
(i_err_type in pls_integer, i_err_code in pls_integer, i_err_msg in varchar2);
Sets the error code and message so that a notification can be sent to either the Trading Partner contact, the System Administrator (identified in the ECX: System Administrator Email Address system profile), or both.
The Send Error Message action is used for warnings that do not require the process to be terminated. This procedure is used for serious errors where you intend to terminate the process.
For more details regarding the Send Error Message action, see Map Action Editor - Return Error Message: Send Error Message.
| i_err_type | A code to identify the intended recipient of the error notification. The valid values are as follows: 10 = Reporting error, do not send notification 20 = Send notification to the Trading Partner contact containing the error code and message 25 = Send notification to both the Trading Partner and System Administrator contact containing the error code and message 30 = Send notification to the System Administrator contact containing the error code and message |
| i_err_code | Code for error detected |
| i_err_msg | Message string for errors detected. Multiple messages may be concatenated into this variable and sent in the notification. |
None.