1001:
1002: END IF;
1003:
1004: -- p_partial_rsv_exists will be TRUE if reservation get increased
1005: inv_reservation_pub.create_reservation
1006: (
1007: p_api_version_number => 1.0
1008: , p_init_msg_lst => FND_API.G_TRUE
1009: , x_return_status => x_return_status
8476:
8477: IF l_debug_level > 0 THEN
8478: oe_debug_pub.add( 'RSCH: CALLING INVS QUERY_RESERVATION ' , 0.5 ) ; -- debug level changed to 0.5 for bug 13435459
8479: END IF;
8480: inv_reservation_pub.query_reservation
8481: ( p_api_version_number => 1.0
8482: , p_init_msg_lst => fnd_api.g_true
8483: , x_return_status => x_return_status
8484: , x_msg_count => l_msg_count
8513:
8514: IF l_debug_level > 0 THEN
8515: oe_debug_pub.add( 'RSCH: CALLING INVS UPDATE RESERVATION ' , 0.5 ) ; -- debug level changed to 0.5 for bug 13435459
8516: END IF;
8517: inv_reservation_pub.update_reservation
8518: ( p_api_version_number => 1.0
8519: , p_init_msg_lst => fnd_api.g_true
8520: , x_return_status => x_return_status
8521: , x_msg_count => l_msg_count
14719: IF l_debug_level > 0 THEN
14720: oe_debug_pub.add( 'CALLING INVS TRANSFER RESERVATION' , 1 ) ;
14721: END IF;
14722:
14723: inv_reservation_pub.Transfer_reservation
14724: ( p_api_version_number => 1.0
14725: , p_init_msg_lst => FND_API.G_TRUE
14726: , x_return_status => x_return_status
14727: , x_msg_count => l_msg_count
15741: IF l_debug_level > 0 THEN
15742: oe_debug_pub.add( 'CALLING INVS QUERY_RESERVATION ' , 1 ) ;
15743: END IF;
15744:
15745: inv_reservation_pub.query_reservation
15746: ( p_api_version_number => 1.0
15747: , p_init_msg_lst => fnd_api.g_true
15748: , x_return_status => x_return_status
15749: , x_msg_count => l_msg_count
16260: IF l_debug_level > 0 THEN
16261: oe_debug_pub.add( 'CALLING INVS QUERY_RESERVATION ' , 1 ) ;
16262: END IF;
16263:
16264: inv_reservation_pub.query_reservation
16265: ( p_api_version_number => 1.0
16266: , p_init_msg_lst => fnd_api.g_true
16267: , x_return_status => x_return_status
16268: , x_msg_count => l_msg_count
17046: IF l_debug_level > 0 THEN
17047: oe_debug_pub.add( 'SHIP FROM ORG ' || l_rsv_rec.organization_id , 3 ) ;
17048: END IF;
17049:
17050: inv_reservation_pub.query_reservation
17051: ( p_api_version_number => 1.0
17052: , p_init_msg_lst => fnd_api.g_true
17053: , p_query_input => l_rsv_rec
17054: , p_cancel_order_mode => INV_RESERVATION_GLOBAL.G_CANCEL_ORDER_YES
17123:
17124: IF l_debug_level > 0 THEN
17125: oe_debug_pub.add( 'CALLING INVS DELETE_RESERVATION' , 3 ) ;
17126: END IF;
17127: inv_reservation_pub.delete_reservation
17128: ( p_api_version_number => 1.0
17129: , p_init_msg_lst => fnd_api.g_true
17130: , x_return_status => x_return_status
17131: , x_msg_count => l_msg_count
17260:
17261: IF l_debug_level > 0 THEN
17262: oe_debug_pub.add( 'CALLING INVS UPDATE_RESERVATION: ' , 3 ) ;
17263: END IF;
17264: inv_reservation_pub.update_reservation
17265: ( p_api_version_number => 1.0
17266: , p_init_msg_lst => fnd_api.g_true
17267: , p_original_rsv_rec => l_rsv_rec
17268: , p_to_rsv_rec => l_rsv_new_rec
18782: oe_schedule_util.Get_mtl_sales_order_id(OE_LINE_SECURITY.g_record.header_id);
18783: l_reservation_rec.demand_source_line_id := OE_LINE_SECURITY.g_record.line_id;
18784: l_reservation_rec.organization_id := OE_LINE_SECURITY.g_record.ship_from_org_id;
18785:
18786: inv_reservation_pub.query_reservation
18787: ( p_api_version_number => 1.0
18788: , p_init_msg_lst => fnd_api.g_true
18789: , x_return_status => l_return_status
18790: , x_msg_count => l_msg_count