67: ) IS
68: BEGIN
69: IF (pg_message_pending = TRUE) THEN
70: pop_error_message();
71: asn_debug.put_line('logging error ' || pg_current_error_text || ' on column ' || p_column, fnd_log.level_error);
72: pg_current_result := g_ret_sts_error;
73: po_interface_call('FATAL',
74: p_table,
75: p_column,
81: IF (p_raise_error = TRUE) THEN
82: RAISE e_fatal_error;
83: END IF;
84: ELSE
85: asn_debug.put_line('WARNING: log_interface_error called without setting an error', fnd_log.level_error);
86: END IF;
87: END log_interface_error;
88:
89: PROCEDURE log_interface_error(
116: p_error_message IN VARCHAR2
117: ) IS
118: x_dummy_flag VARCHAR2(1);
119: BEGIN
120: asn_debug.put_line('logging error ' || pg_current_error_text || ' on column INTERFACE_TRANSACTION_ID', fnd_log.level_error);
121: asn_debug.put_line('error stack from call to po_interface_call');
122: asn_debug.print_stack;
123: pg_current_result := g_ret_sts_error;
124: po_interface_errors_sv1.handle_interface_errors_msg(NVL(pg_interface_type, pg_default_interface_type),
146: p_table,
147: p_column
148: );
149: ELSE
150: asn_debug.put_line('WARNING: log_interface_warning called without setting a warning', fnd_log.level_error);
151: END IF;
152: END log_interface_warning;
153:
154: /* This log_interface_message call ues the internal error flag what kind of message to log */
207: ) IS
208: BEGIN
209: IF ( pg_message_pending = TRUE
210: AND pg_current_error_name <> p_message) THEN
211: asn_debug.put_line('WARNING: message ' || pg_current_error_name || ' set but never used', fnd_log.level_error);
212: END IF;
213:
214: asn_debug.put_line('set error message token = ' || p_message, fnd_log.level_error);
215: asn_debug.put_line('error stack from call to set_error_message');
210: AND pg_current_error_name <> p_message) THEN
211: asn_debug.put_line('WARNING: message ' || pg_current_error_name || ' set but never used', fnd_log.level_error);
212: END IF;
213:
214: asn_debug.put_line('set error message token = ' || p_message, fnd_log.level_error);
215: asn_debug.put_line('error stack from call to set_error_message');
216: asn_debug.print_stack;
217: pg_current_error_name := p_message;
218: pg_message_pending := TRUE;
403: BEGIN
404: pg_current_result := g_ret_sts_success;
405:
406: IF (pg_message_pending = TRUE) THEN
407: asn_debug.put_line('WARNING: message ' || pg_current_error_name || ' set but never used', fnd_log.level_error);
408: END IF;
409:
410: pg_current_error_name := NULL;
411: pg_current_error_text := NULL;