29: begin
30: if (p_error_type = MSG_COLUMN) then
31:
32: -- Fetch the invalid-column message.
33: fnd_message.set_name('WIP', 'WIP_ML_FIELD_INVALID');
34: fnd_message.set_token('COLUMN', p_error_msg, false);
35: x_error_type := MSG_ERROR;
36:
37: elsif (p_error_type = MSG_CONC) then
30: if (p_error_type = MSG_COLUMN) then
31:
32: -- Fetch the invalid-column message.
33: fnd_message.set_name('WIP', 'WIP_ML_FIELD_INVALID');
34: fnd_message.set_token('COLUMN', p_error_msg, false);
35: x_error_type := MSG_ERROR;
36:
37: elsif (p_error_type = MSG_CONC) then
38:
65: dbms_sql.column_value(x_cursor_id, 1, x_interface_id);
66:
67: -- Fetch the requested error message.
68:
69: fnd_message.set_name('EAM', p_error_msg) ;
70: fnd_message.set_token('INTERFACE', ' '|| x_interface_id, FALSE);
71: x_error_msg :=substr(fnd_message.get, 1, 500);
72:
73: eam_int_utils.add_error(x_interface_id,
66:
67: -- Fetch the requested error message.
68:
69: fnd_message.set_name('EAM', p_error_msg) ;
70: fnd_message.set_token('INTERFACE', ' '|| x_interface_id, FALSE);
71: x_error_msg :=substr(fnd_message.get, 1, 500);
72:
73: eam_int_utils.add_error(x_interface_id,
74: x_error_msg,
67: -- Fetch the requested error message.
68:
69: fnd_message.set_name('EAM', p_error_msg) ;
70: fnd_message.set_token('INTERFACE', ' '|| x_interface_id, FALSE);
71: x_error_msg :=substr(fnd_message.get, 1, 500);
72:
73: eam_int_utils.add_error(x_interface_id,
74: x_error_msg,
75: x_error_type);
122: p_current_rowid,
123: p_interface_id,
124: 'eam_meter_readings_interface mri',
125: p_condition) ) then
126: FND_Message.set_name(p_product_short_name, p_message_name);
127: eam_int_utils.record_error(p_interface_id, FND_Message.get, FALSE);
128: end if;
129: end error_if;
130:
123: p_interface_id,
124: 'eam_meter_readings_interface mri',
125: p_condition) ) then
126: FND_Message.set_name(p_product_short_name, p_message_name);
127: eam_int_utils.record_error(p_interface_id, FND_Message.get, FALSE);
128: end if;
129: end error_if;
130:
131: