2465: --Bug#14487360: Replacing substr with substrb to ensure that non-English error message is not errored out
2466: if(wip_job_details.std_alone = 1) then
2467: wip_interface_err_Utils.add_error(p_interface_id => l_inv_row.interface_id,
2468: p_text => substrb(fnd_message.get,1,500),
2469: p_error_type => wip_jdi_utils.msg_error);
2470: else
2471: wip_interface_err_Utils.add_error(p_interface_id => wip_jsi_utils.current_interface_id,
2472: p_text => substrb(fnd_message.get,1,500),
2473: p_error_type => wip_jdi_utils.msg_error);
2469: p_error_type => wip_jdi_utils.msg_error);
2470: else
2471: wip_interface_err_Utils.add_error(p_interface_id => wip_jsi_utils.current_interface_id,
2472: p_text => substrb(fnd_message.get,1,500),
2473: p_error_type => wip_jdi_utils.msg_error);
2474: end if;
2475: end loop;
2476:
2477: if(l_error_exists) then