110: debug('Message count is : ' || l_msg_count,'VALIDATE_SHIP_METHOD');
111: END IF;
112:
113: --treating warnings as errors also
114: IF l_return_status <> WSH_UTIL_CORE.g_ret_sts_success THEN
115: l_return_status := FND_API.g_ret_sts_error;
116: wsh_util_core.get_messages(
117: p_init_msg_list => 'Y',
118: x_summary => l_msg_data,
112:
113: --treating warnings as errors also
114: IF l_return_status <> WSH_UTIL_CORE.g_ret_sts_success THEN
115: l_return_status := FND_API.g_ret_sts_error;
116: wsh_util_core.get_messages(
117: p_init_msg_list => 'Y',
118: x_summary => l_msg_data,
119: x_details => l_details,
120: x_count => l_msg_count);
119: x_details => l_details,
120: x_count => l_msg_count);
121:
122: IF l_debug = 1 THEN
123: debug('message from wsh_util_core.get_messages: ' || l_msg_data, 'VALIDATE_SHIP_METHOD');
124: debug('l_msg_count : ' || l_msg_count,
125: 'VALIDATE_SHIP_METHOD');
126: END IF;
127: END IF;
639: l_requested_quantity NUMBER;
640: l_requested_quantity2 NUMBER;
641: l_picked_quantity NUMBER;
642:
643: l_out_rows WSH_UTIL_CORE.ID_TAB_TYPE;
644: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
645: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
646: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
647: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
640: l_requested_quantity2 NUMBER;
641: l_picked_quantity NUMBER;
642:
643: l_out_rows WSH_UTIL_CORE.ID_TAB_TYPE;
644: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
645: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
646: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
647: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
648: l_dummy_table wsh_util_core.id_tab_type;
641: l_picked_quantity NUMBER;
642:
643: l_out_rows WSH_UTIL_CORE.ID_TAB_TYPE;
644: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
645: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
646: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
647: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
648: l_dummy_table wsh_util_core.id_tab_type;
649: l_table_index NUMBER := 1;
642:
643: l_out_rows WSH_UTIL_CORE.ID_TAB_TYPE;
644: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
645: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
646: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
647: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
648: l_dummy_table wsh_util_core.id_tab_type;
649: l_table_index NUMBER := 1;
650:
643: l_out_rows WSH_UTIL_CORE.ID_TAB_TYPE;
644: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
645: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
646: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
647: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
648: l_dummy_table wsh_util_core.id_tab_type;
649: l_table_index NUMBER := 1;
650:
651: l_parent_delivery_detail_id NUMBER;
644: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
645: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
646: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
647: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
648: l_dummy_table wsh_util_core.id_tab_type;
649: l_table_index NUMBER := 1;
650:
651: l_parent_delivery_detail_id NUMBER;
652: l_delivery_assignment_id NUMBER;
879: END IF;
880:
881: EXCEPTION
882: WHEN fnd_api.g_exc_unexpected_error THEN
883: wsh_util_core.get_messages
884: (p_init_msg_list => 'Y',
885: x_summary => x_msg_data,
886: x_details => l_details,
887: x_count => x_msg_count);
919: FROM WMS_LICENSE_PLATE_NUMBERS
920: START WITH lpn_id = l_inner_lpn_id
921: CONNECT BY lpn_id = PRIOR parent_lpn_id;
922:
923: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
924: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
925: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
926: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
927: l_dummy_table wsh_util_core.id_tab_type;
920: START WITH lpn_id = l_inner_lpn_id
921: CONNECT BY lpn_id = PRIOR parent_lpn_id;
922:
923: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
924: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
925: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
926: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
927: l_dummy_table wsh_util_core.id_tab_type;
928: l_out_rows wsh_util_core.id_tab_type;
921: CONNECT BY lpn_id = PRIOR parent_lpn_id;
922:
923: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
924: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
925: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
926: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
927: l_dummy_table wsh_util_core.id_tab_type;
928: l_out_rows wsh_util_core.id_tab_type;
929: l_detail_attributes wsh_delivery_details_pub.ChangedAttributeTabType;
922:
923: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
924: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
925: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
926: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
927: l_dummy_table wsh_util_core.id_tab_type;
928: l_out_rows wsh_util_core.id_tab_type;
929: l_detail_attributes wsh_delivery_details_pub.ChangedAttributeTabType;
930: l_dummy_num_var NUMBER := NULL;
923: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
924: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
925: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
926: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
927: l_dummy_table wsh_util_core.id_tab_type;
928: l_out_rows wsh_util_core.id_tab_type;
929: l_detail_attributes wsh_delivery_details_pub.ChangedAttributeTabType;
930: l_dummy_num_var NUMBER := NULL;
931: l_table_index NUMBER := 1;
924: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
925: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
926: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
927: l_dummy_table wsh_util_core.id_tab_type;
928: l_out_rows wsh_util_core.id_tab_type;
929: l_detail_attributes wsh_delivery_details_pub.ChangedAttributeTabType;
930: l_dummy_num_var NUMBER := NULL;
931: l_table_index NUMBER := 1;
932:
1220: FROM WMS_LICENSE_PLATE_NUMBERS
1221: START WITH lpn_id = l_inner_lpn_id
1222: CONNECT BY lpn_id = PRIOR parent_lpn_id;
1223:
1224: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
1225: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1226: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1227: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1228: l_sec_bck_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1221: START WITH lpn_id = l_inner_lpn_id
1222: CONNECT BY lpn_id = PRIOR parent_lpn_id;
1223:
1224: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
1225: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1226: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1227: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1228: l_sec_bck_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1229: l_sec_req_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1222: CONNECT BY lpn_id = PRIOR parent_lpn_id;
1223:
1224: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
1225: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1226: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1227: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1228: l_sec_bck_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1229: l_sec_req_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1230: l_sec_ovpk_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1223:
1224: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
1225: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1226: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1227: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1228: l_sec_bck_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1229: l_sec_req_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1230: l_sec_ovpk_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1231: l_dummy_table wsh_util_core.id_tab_type;
1224: l_delivery_details_id_table WSH_UTIL_CORE.ID_TAB_TYPE;
1225: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1226: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1227: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1228: l_sec_bck_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1229: l_sec_req_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1230: l_sec_ovpk_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1231: l_dummy_table wsh_util_core.id_tab_type;
1232: l_out_rows wsh_util_core.id_tab_type;
1225: l_backorder_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1226: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1227: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1228: l_sec_bck_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1229: l_sec_req_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1230: l_sec_ovpk_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1231: l_dummy_table wsh_util_core.id_tab_type;
1232: l_out_rows wsh_util_core.id_tab_type;
1233: l_detail_attributes wsh_delivery_details_pub.ChangedAttributeTabType;
1226: l_requested_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1227: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1228: l_sec_bck_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1229: l_sec_req_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1230: l_sec_ovpk_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1231: l_dummy_table wsh_util_core.id_tab_type;
1232: l_out_rows wsh_util_core.id_tab_type;
1233: l_detail_attributes wsh_delivery_details_pub.ChangedAttributeTabType;
1234: l_dummy_num_var NUMBER := NULL;
1227: l_overpicked_quantities_table WSH_UTIL_CORE.ID_TAB_TYPE;
1228: l_sec_bck_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1229: l_sec_req_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1230: l_sec_ovpk_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1231: l_dummy_table wsh_util_core.id_tab_type;
1232: l_out_rows wsh_util_core.id_tab_type;
1233: l_detail_attributes wsh_delivery_details_pub.ChangedAttributeTabType;
1234: l_dummy_num_var NUMBER := NULL;
1235: l_table_index NUMBER := 1;
1228: l_sec_bck_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1229: l_sec_req_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1230: l_sec_ovpk_qtys_table WSH_UTIL_CORE.ID_TAB_TYPE;
1231: l_dummy_table wsh_util_core.id_tab_type;
1232: l_out_rows wsh_util_core.id_tab_type;
1233: l_detail_attributes wsh_delivery_details_pub.ChangedAttributeTabType;
1234: l_dummy_num_var NUMBER := NULL;
1235: l_table_index NUMBER := 1;
1236:
1487: END IF;
1488:
1489: EXCEPTION
1490: WHEN fnd_api.g_exc_unexpected_error THEN
1491: wsh_util_core.get_messages
1492: (p_init_msg_list => 'Y',
1493: x_summary => x_msg_data,
1494: x_details => l_details,
1495: x_count => x_msg_count);
1550: END IF;
1551:
1552: EXCEPTION
1553: WHEN fnd_api.g_exc_unexpected_error THEN
1554: wsh_util_core.get_messages
1555: (p_init_msg_list => 'Y',
1556: x_summary => x_msg_data,
1557: x_details => l_details,
1558: x_count => x_msg_count);
1667: RAISE fnd_api.g_exc_unexpected_error;
1668: END IF;
1669: EXCEPTION
1670: WHEN fnd_api.g_exc_unexpected_error THEN
1671: wsh_util_core.get_messages
1672: (p_init_msg_list => 'Y',
1673: x_summary => x_msg_data,
1674: x_details => l_details,
1675: x_count => x_msg_count);
1801: RAISE fnd_api.g_exc_unexpected_error;
1802: END IF;
1803: EXCEPTION
1804: WHEN fnd_api.g_exc_unexpected_error THEN
1805: wsh_util_core.get_messages
1806: (p_init_msg_list => 'Y',
1807: x_summary => x_msg_data,
1808: x_details => l_details,
1809: x_count => x_msg_count);
2256: l_msg_count NUMBER;
2257:
2258: l_wms_org_flag BOOLEAN;
2259: l_action_prms wsh_interface_ext_grp.del_action_parameters_rectype;
2260: l_delivery_id_tab wsh_util_core.id_tab_type;
2261: l_delivery_out_rec wsh_interface_ext_grp.del_action_out_rec_type;
2262:
2263: BEGIN
2264: x_return_Status := 'Y';