OracleEBS发放销售订单(四)

2015-07-24 11:02:03 · 作者: · 浏览: 15
order_header_id => :query_find.header_id, p_ship_set_number => rec_data.ship_set_id, p_inventory_item_id => rec_data.inventory_item_id, p_order_type_id => l_order_type_id, p_from_requested_date => to_date(to_char(rec_data.from_requested_date, 'DD-MON-YYYY HH24:MI:SS' ), 'DD-MON-YYYY HH24:MI:SS' ), p_to_requested_date => to_date(to_char(rec_data.to_requested_date, 'DD-MON-YYYY HH24:MI:SS' ), 'DD-MON-YYYY HH24:MI:SS' ), p_from_scheduled_ship_date => to_date(to_char(rec_data.from_scheduled_ship_date, 'DD-MON-YYYY HH24:MI:SS' ), 'DD-MON-YYYY HH24:MI:SS' ), p_to_scheduled_ship_date => to_date(to_char(rec_data.to_scheduled_ship_date, 'DD-MON-YYYY HH24:MI:SS' ), 'DD-MON-YYYY HH24:MI:SS' ), p_ship_to_location_id => rec_data.ship_to_location_id, p_ship_from_location_id => rec_data.ship_from_location_id, p_trip_id => NULL, p_delivery_id => NULL, p_include_planned_lines => rec_data.include_planned_lines, p_pick_grouping_rule_id => NULL, p_pick_sequence_rule_id => NULL, p_autocreate_delivery_flag => rec_data.autocreate_delivery_flag, p_attribute_category => NULL, p_attribute1 => NULL, p_attribute2 => NULL, p_attribute3 => NULL, p_attribute4 => NULL, p_attribute5 => NULL, p_attribute6 => NULL, p_attribute7 => NULL, p_attribute8 => NULL, p_attribute9 => NULL, p_attribute10 => NULL, p_attribute11 => NULL, p_attribute12 => NULL, p_attribute13 => NULL, p_attribute14 => NULL, p_attribute15 => NULL, p_autodetail_pr_flag =>
rec_data.autodetail_pr_flag, p_carrier_id => NULL, p_trip_stop_id => NULL, p_default_stage_subinventory => rec_data.default_stage_subinventory, p_default_stage_locator_id => rec_data.default_stage_locator_id, p_pick_from_subinventory => rec_data.pick_from_subinventory, p_pick_from_locator_id => rec_data.pick_from_locator_id, p_auto_pick_confirm_flag => rec_data.auto_pick_confirm_flag, p_delivery_detail_id => NULL, p_project_id => rec_data.project_id, p_task_id => rec_data.task_id, p_organization_id => rec_data.organization_id, p_ship_confirm_rule_id => rec_data.ship_confirm_rule_id, p_autopack_flag => rec_data.autopack_flag, p_autopack_level => rec_data.autopack_level, p_task_planning_flag => rec_data.task_planning_flag, p_dynamic_replenishment_flag => rec_data.dynamic_replenishment_flag, --bug# 6689448 (replenishment project) -- rlanka : Pack J p_regionid => rec_data.region_id, p_zoneid => rec_data.zone_id, p_categoryid => rec_data.category_id, p_categorysetid => rec_data.category_set_id, p_acdelivcriteria => rec_data.ac_delivery_criteria, p_relsubinventory => rec_data.rel_subinventory, p_append_flag => l_append_flag, p_task_priority => rec_data.task_priority, p_actual_departure_date => NULL, -- X-dock p_allocation_method => rec_data.allocation_method, p_crossdock_criteria_id => rec_data.crossdock_criteria_id, p_client_id => rec_data.client_id --Modified R12.1.1 LSP PROJECT ); END IF ; END LOOP; --调用请求 l_request_id := fnd_request.submit_request(application => 'CUX', program => 'CUXOMLPKP' , description => NULL, start_time => SYSDATE , sub_request => FALSE , argument1 => x_batch_id, argument2 => l_org_id, argument3 => :query_find.header_id); IF l_request_id IS NULL OR l_request_id = 0 THEN fnd_message.set_string( '提交挑库选择列表生成请求