1476: BEGIN
1477: g_po_startup_value := NULL;
1478: g_rcv_global_var := NULL;
1479: g_lot_status_tb.DELETE;
1480: inv_rcv_std_rcpt_apis.g_shipment_header_id := NULL;
1481: inv_rcv_std_rcpt_apis.g_rcpt_match_table_gross.DELETE;
1482: inv_rcv_std_rcpt_apis.g_receipt_detail_index := 1;
1483: inv_rcv_std_rcpt_apis.g_dummy_lpn_id := NULL;
1484: inv_rcv_std_deliver_apis.g_rcvtxn_detail_index := 1;
1477: g_po_startup_value := NULL;
1478: g_rcv_global_var := NULL;
1479: g_lot_status_tb.DELETE;
1480: inv_rcv_std_rcpt_apis.g_shipment_header_id := NULL;
1481: inv_rcv_std_rcpt_apis.g_rcpt_match_table_gross.DELETE;
1482: inv_rcv_std_rcpt_apis.g_receipt_detail_index := 1;
1483: inv_rcv_std_rcpt_apis.g_dummy_lpn_id := NULL;
1484: inv_rcv_std_deliver_apis.g_rcvtxn_detail_index := 1;
1485: inv_rcv_std_deliver_apis.g_rcvtxn_match_table_gross.DELETE;
1478: g_rcv_global_var := NULL;
1479: g_lot_status_tb.DELETE;
1480: inv_rcv_std_rcpt_apis.g_shipment_header_id := NULL;
1481: inv_rcv_std_rcpt_apis.g_rcpt_match_table_gross.DELETE;
1482: inv_rcv_std_rcpt_apis.g_receipt_detail_index := 1;
1483: inv_rcv_std_rcpt_apis.g_dummy_lpn_id := NULL;
1484: inv_rcv_std_deliver_apis.g_rcvtxn_detail_index := 1;
1485: inv_rcv_std_deliver_apis.g_rcvtxn_match_table_gross.DELETE;
1486:
1479: g_lot_status_tb.DELETE;
1480: inv_rcv_std_rcpt_apis.g_shipment_header_id := NULL;
1481: inv_rcv_std_rcpt_apis.g_rcpt_match_table_gross.DELETE;
1482: inv_rcv_std_rcpt_apis.g_receipt_detail_index := 1;
1483: inv_rcv_std_rcpt_apis.g_dummy_lpn_id := NULL;
1484: inv_rcv_std_deliver_apis.g_rcvtxn_detail_index := 1;
1485: inv_rcv_std_deliver_apis.g_rcvtxn_match_table_gross.DELETE;
1486:
1487: --Calling the procedure to clear the Global variable which conatains Lot Numbers (Bug # 3156689)
5577: l_progress := '60';
5578:
5579: IF p_call_pack_unpack = 'TRUE' THEN
5580: l_progress := '70';
5581: inv_rcv_std_rcpt_apis.packunpack_container(
5582: p_api_version => p_api_version
5583: , p_init_msg_list => p_init_msg_list
5584: , p_commit => p_commit
5585: , x_return_status => x_return_status
5867: l_progress := '100';
5868:
5869: IF p_call_pack_unpack = 'TRUE' THEN
5870: l_progress := '110';
5871: inv_rcv_std_rcpt_apis.packunpack_container(
5872: p_api_version => p_api_version
5873: , p_init_msg_list => p_init_msg_list
5874: , p_commit => p_commit
5875: , x_return_status => x_return_status
5997:
5998: x_return_status := fnd_api.g_ret_sts_success;
5999: l_progress := '10';
6000: SAVEPOINT rcv_process_lot_sp;
6001: inv_rcv_std_rcpt_apis.populate_lot_rec(
6002: p_lot_number => p_lot_number
6003: , p_primary_qty => p_lot_primary_qty
6004: , p_txn_uom_code => p_transaction_uom_code
6005: , p_org_id => p_organization_id
6048: IF ((inv_rcv_common_apis.g_inv_patch_level < inv_rcv_common_apis.g_patchset_j) OR
6049: (inv_rcv_common_apis.g_po_patch_level < inv_rcv_common_apis.g_patchset_j_po)) THEN
6050: IF p_call_pack_unpack = 'TRUE' THEN
6051: l_progress := '50';
6052: inv_rcv_std_rcpt_apis.packunpack_container(
6053: p_api_version => p_api_version
6054: , p_init_msg_list => p_init_msg_list
6055: , p_commit => p_commit
6056: , x_return_status => x_return_status
8009: IS
8010: BEGIN
8011: print_debug('Enter clear_lot_rec: 1 '|| to_char(sysdate, 'YYYY-MM-DD HH:DD:SS'), 1);
8012:
8013: inv_rcv_std_rcpt_apis.g_rcpt_lot_qty_rec_tb.DELETE;
8014:
8015: print_debug('clear_lot_rec: 2 End of Procedure ',1);
8016:
8017: END clear_lot_rec;