DBA Data[Home] [Help]

APPS.INV_RESERVATION_VALIDATE_PVT dependencies on INV_VALIDATE

Line 77: IF INV_Validate.Organization(

73: END;
74: */
75: -- Modified to call common API
76: l_rec.organization_id:=p_organization_id;
77: IF INV_Validate.Organization(
78: p_org => l_rec
79: )=INV_Validate.F THEN
80: fnd_message.set_name('INV', 'INVALID ORGANIZATION');
81: fnd_msg_pub.add;

Line 79: )=INV_Validate.F THEN

75: -- Modified to call common API
76: l_rec.organization_id:=p_organization_id;
77: IF INV_Validate.Organization(
78: p_org => l_rec
79: )=INV_Validate.F THEN
80: fnd_message.set_name('INV', 'INVALID ORGANIZATION');
81: fnd_msg_pub.add;
82: RAISE fnd_api.g_exc_error;
83: END IF;

Line 197: IF INV_Validate.Inventory_Item(

193: RAISE fnd_api.g_exc_error;
194: END;*/
195: -- Modified to call new common API
196: l_rec.inventory_item_id:=p_inventory_item_id;
197: IF INV_Validate.Inventory_Item(
198: p_item => l_rec,
199: p_org => l_rec_org
200: )=INV_Validate.F THEN
201: fnd_message.set_name('INV', 'INVALID ITEM');

Line 200: )=INV_Validate.F THEN

196: l_rec.inventory_item_id:=p_inventory_item_id;
197: IF INV_Validate.Inventory_Item(
198: p_item => l_rec,
199: p_org => l_rec_org
200: )=INV_Validate.F THEN
201: fnd_message.set_name('INV', 'INVALID ITEM');
202: fnd_msg_pub.add;
203: RAISE fnd_api.g_exc_error;
204: END IF;

Line 2246: IF INV_Validate.subinventory

2242: RAISE fnd_api.g_exc_error;
2243: END; */
2244: -- Modified to call common API
2245: l_rec.secondary_inventory_name :=p_subinventory_code;
2246: IF INV_Validate.subinventory
2247: (
2248: p_sub => l_rec,
2249: p_org => inv_reservation_global.g_organization_record_cache(p_org_cache_index)
2250: )=INV_Validate.F THEN

Line 2250: )=INV_Validate.F THEN

2246: IF INV_Validate.subinventory
2247: (
2248: p_sub => l_rec,
2249: p_org => inv_reservation_global.g_organization_record_cache(p_org_cache_index)
2250: )=INV_Validate.F THEN
2251: fnd_message.set_name('INV','INVALID_SUB');
2252: fnd_msg_pub.add;
2253: RAISE fnd_api.g_exc_error;
2254: END IF;

Line 2340: IF INV_Validate.revision

2336: fnd_message.set_name('INV','INVALID_REVISION');
2337: fnd_msg_pub.add;
2338: RAISE fnd_api.g_exc_error;
2339: END;*/
2340: IF INV_Validate.revision
2341: (
2342: p_revision => p_revision,
2343: p_org => inv_reservation_global.g_organization_record_cache
2344: (p_org_cache_index),

Line 2345: p_item => inv_reservation_global.g_item_record_cache(p_item_cache_index) )=INV_Validate.F THEN

2341: (
2342: p_revision => p_revision,
2343: p_org => inv_reservation_global.g_organization_record_cache
2344: (p_org_cache_index),
2345: p_item => inv_reservation_global.g_item_record_cache(p_item_cache_index) )=INV_Validate.F THEN
2346:
2347: fnd_message.set_name('INV','INVALID_REVISION');
2348: fnd_msg_pub.add;
2349: RAISE fnd_api.g_exc_error;

Line 2464: IF INV_Validate.validateLocator(

2460: fnd_msg_pub.add;
2461: RAISE fnd_api.g_exc_error; */
2462:
2463:
2464: IF INV_Validate.validateLocator(
2465: p_locator => l_rec_loc,
2466: p_org => inv_reservation_global.g_organization_record_cache
2467: (p_org_cache_index),
2468: p_sub => l_rec,

Line 2470: )=INV_Validate.F THEN

2466: p_org => inv_reservation_global.g_organization_record_cache
2467: (p_org_cache_index),
2468: p_sub => l_rec,
2469: p_item => inv_reservation_global.g_item_record_cache(p_item_cache_index)
2470: )=INV_Validate.F THEN
2471: fnd_message.set_name('INV','INV_LOCATOR_NOT_AVAILABLE');
2472: fnd_msg_pub.add;
2473: RAISE fnd_api.g_exc_error;
2474: END IF;

Line 2498: IF INV_Validate.validateLocator(

2494: END;*/
2495:
2496: -- Modified for common API
2497:
2498: IF INV_Validate.validateLocator(
2499: p_locator => l_rec_loc,
2500: p_org => inv_reservation_global.g_organization_record_cache
2501: (p_org_cache_index),
2502: p_sub => l_rec)=INV_Validate.F THEN

Line 2502: p_sub => l_rec)=INV_Validate.F THEN

2498: IF INV_Validate.validateLocator(
2499: p_locator => l_rec_loc,
2500: p_org => inv_reservation_global.g_organization_record_cache
2501: (p_org_cache_index),
2502: p_sub => l_rec)=INV_Validate.F THEN
2503: fnd_message.set_name('INV','INV_LOCATOR_NOT_AVAILABLE');
2504: fnd_msg_pub.add;
2505: RAISE fnd_api.g_exc_error;
2506: END IF;

Line 2535: -- IF INV_Validate.check_serial(

2531: -- AND reservation_id IS NULL ;
2532: -- ;*/
2533: -- l_rec_serial.serial_number:=p_serial_array(l_loop_index).serial_number;
2534: /*** {{ R12 Enhanced reservations code changes ***/
2535: -- IF INV_Validate.check_serial(
2536: -- p_serial => l_rec_serial,
2537: -- p_org => inv_reservation_global.g_organization_record_cache
2538: -- (p_org_cache_index),
2539: -- p_item => inv_reservation_global.g_item_record_cache(p_item_cache_index)

Line 2546: -- )=INV_Validate.F THEN

2542: -- p_lot => l_rec_lot,
2543: -- p_loc => l_rec_loc,
2544: -- p_revision => p_revision,
2545: -- p_msg => 'RSV'
2546: -- )=INV_Validate.F THEN
2547: --
2548: -- fnd_message.set_name('INV','INVALID_SERIAL_NUMBER');
2549: -- fnd_message.set_token('NUMBER',p_serial_array(l_loop_index).serial_number,FALSE);
2550: /*** {{ R12 Enhanced ----reservations code changes ***/

Line 4695: IF INV_Validate.Organization(

4691: End IF;
4692: --
4693: IF l_org_cache_index IS NULL THEN
4694: l_org_rec.organization_id:= p_orig_rsv_rec.organization_id;
4695: IF INV_Validate.Organization(
4696: p_org => l_org_rec
4697: )=INV_Validate.F THEN
4698: fnd_message.set_name('INV', 'INVALID ORGANIZATION');
4699: fnd_msg_pub.add;

Line 4697: )=INV_Validate.F THEN

4693: IF l_org_cache_index IS NULL THEN
4694: l_org_rec.organization_id:= p_orig_rsv_rec.organization_id;
4695: IF INV_Validate.Organization(
4696: p_org => l_org_rec
4697: )=INV_Validate.F THEN
4698: fnd_message.set_name('INV', 'INVALID ORGANIZATION');
4699: fnd_msg_pub.add;
4700: RAISE fnd_api.g_exc_error;
4701: END IF;

Line 4888: IF INV_Validate.subinventory

4884:
4885: -- Modified to call common API
4886: l_sub_rec.secondary_inventory_name := l_orig_rsv_rec.subinventory_code;
4887: l_org_rec.organization_id := l_orig_rsv_rec.organization_id;
4888: IF INV_Validate.subinventory
4889: (
4890: p_sub => l_sub_rec,
4891: p_org => l_org_rec
4892: )=INV_Validate.F THEN

Line 4892: )=INV_Validate.F THEN

4888: IF INV_Validate.subinventory
4889: (
4890: p_sub => l_sub_rec,
4891: p_org => l_org_rec
4892: )=INV_Validate.F THEN
4893: fnd_message.set_name('INV','INVALID_SUB');
4894: fnd_msg_pub.add;
4895: RAISE fnd_api.g_exc_error;
4896: END IF;

Line 5134: IF INV_Validate.Organization(

5130: End IF;
5131: --
5132: IF l_org_cache_index IS NULL THEN
5133: l_org_rec.organization_id:= p_to_rsv_rec.organization_id;
5134: IF INV_Validate.Organization(
5135: p_org => l_org_rec
5136: )=INV_Validate.F THEN
5137: fnd_message.set_name('INV', 'INVALID ORGANIZATION');
5138: fnd_msg_pub.add;

Line 5136: )=INV_Validate.F THEN

5132: IF l_org_cache_index IS NULL THEN
5133: l_org_rec.organization_id:= p_to_rsv_rec.organization_id;
5134: IF INV_Validate.Organization(
5135: p_org => l_org_rec
5136: )=INV_Validate.F THEN
5137: fnd_message.set_name('INV', 'INVALID ORGANIZATION');
5138: fnd_msg_pub.add;
5139: RAISE fnd_api.g_exc_error;
5140: END IF;

Line 5322: IF INV_Validate.subinventory

5318: debug_print('l_to_rsv_rec.subinventory_code = ' || l_to_rsv_rec.subinventory_code);
5319: debug_print('l_orig_rsv_rec.organization_id = ' || l_to_rsv_rec.organization_id);
5320: END IF;
5321:
5322: IF INV_Validate.subinventory
5323: (
5324: p_sub => l_sub_rec,
5325: p_org => l_org_rec
5326: )=INV_Validate.F THEN

Line 5326: )=INV_Validate.F THEN

5322: IF INV_Validate.subinventory
5323: (
5324: p_sub => l_sub_rec,
5325: p_org => l_org_rec
5326: )=INV_Validate.F THEN
5327: fnd_message.set_name('INV','INVALID_SUB');
5328: fnd_msg_pub.add;
5329: RAISE fnd_api.g_exc_error;
5330: END IF;