工单创建 (create work order) PROCEDURE new_work_order(p_wip_entity_id NUMBER, p_organization_id NUMBER, x_error_status OUT VARCHAR2, x_error_message OUT VARCHAR2) IS l_iface_rec wip.wip_job_schedule_interface%ROWTYPE; --工单任务接口表 CURSOR c_wdj IS SELECT * F…