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 2123: IF INV_Validate.subinventory

2119: RAISE fnd_api.g_exc_error;
2120: END; */
2121: -- Modified to call common API
2122: l_rec.secondary_inventory_name :=p_subinventory_code;
2123: IF INV_Validate.subinventory
2124: (
2125: p_sub => l_rec,
2126: p_org => inv_reservation_global.g_organization_record_cache(p_org_cache_index)
2127: )=INV_Validate.F THEN

Line 2127: )=INV_Validate.F THEN

2123: IF INV_Validate.subinventory
2124: (
2125: p_sub => l_rec,
2126: p_org => inv_reservation_global.g_organization_record_cache(p_org_cache_index)
2127: )=INV_Validate.F THEN
2128: fnd_message.set_name('INV','INVALID_SUB');
2129: fnd_msg_pub.add;
2130: RAISE fnd_api.g_exc_error;
2131: END IF;

Line 2217: IF INV_Validate.revision

2213: fnd_message.set_name('INV','INVALID_REVISION');
2214: fnd_msg_pub.add;
2215: RAISE fnd_api.g_exc_error;
2216: END;*/
2217: IF INV_Validate.revision
2218: (
2219: p_revision => p_revision,
2220: p_org => inv_reservation_global.g_organization_record_cache
2221: (p_org_cache_index),

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

2218: (
2219: p_revision => p_revision,
2220: p_org => inv_reservation_global.g_organization_record_cache
2221: (p_org_cache_index),
2222: p_item => inv_reservation_global.g_item_record_cache(p_item_cache_index) )=INV_Validate.F THEN
2223:
2224: fnd_message.set_name('INV','INVALID_REVISION');
2225: fnd_msg_pub.add;
2226: RAISE fnd_api.g_exc_error;

Line 2340: IF INV_Validate.validateLocator(

2336: fnd_msg_pub.add;
2337: RAISE fnd_api.g_exc_error; */
2338:
2339:
2340: IF INV_Validate.validateLocator(
2341: p_locator => l_rec_loc,
2342: p_org => inv_reservation_global.g_organization_record_cache
2343: (p_org_cache_index),
2344: p_sub => l_rec,

Line 2346: )=INV_Validate.F THEN

2342: p_org => inv_reservation_global.g_organization_record_cache
2343: (p_org_cache_index),
2344: p_sub => l_rec,
2345: p_item => inv_reservation_global.g_item_record_cache(p_item_cache_index)
2346: )=INV_Validate.F THEN
2347: fnd_message.set_name('INV','INV_LOCATOR_NOT_AVAILABLE');
2348: fnd_msg_pub.add;
2349: RAISE fnd_api.g_exc_error;
2350: END IF;

Line 2374: IF INV_Validate.validateLocator(

2370: END;*/
2371:
2372: -- Modified for common API
2373:
2374: IF INV_Validate.validateLocator(
2375: p_locator => l_rec_loc,
2376: p_org => inv_reservation_global.g_organization_record_cache
2377: (p_org_cache_index),
2378: p_sub => l_rec)=INV_Validate.F THEN

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

2374: IF INV_Validate.validateLocator(
2375: p_locator => l_rec_loc,
2376: p_org => inv_reservation_global.g_organization_record_cache
2377: (p_org_cache_index),
2378: p_sub => l_rec)=INV_Validate.F THEN
2379: fnd_message.set_name('INV','INV_LOCATOR_NOT_AVAILABLE');
2380: fnd_msg_pub.add;
2381: RAISE fnd_api.g_exc_error;
2382: END IF;

Line 2411: -- IF INV_Validate.check_serial(

2407: -- AND reservation_id IS NULL ;
2408: -- ;*/
2409: -- l_rec_serial.serial_number:=p_serial_array(l_loop_index).serial_number;
2410: /*** {{ R12 Enhanced reservations code changes ***/
2411: -- IF INV_Validate.check_serial(
2412: -- p_serial => l_rec_serial,
2413: -- p_org => inv_reservation_global.g_organization_record_cache
2414: -- (p_org_cache_index),
2415: -- p_item => inv_reservation_global.g_item_record_cache(p_item_cache_index)

Line 2422: -- )=INV_Validate.F THEN

2418: -- p_lot => l_rec_lot,
2419: -- p_loc => l_rec_loc,
2420: -- p_revision => p_revision,
2421: -- p_msg => 'RSV'
2422: -- )=INV_Validate.F THEN
2423: --
2424: -- fnd_message.set_name('INV','INVALID_SERIAL_NUMBER');
2425: -- fnd_message.set_token('NUMBER',p_serial_array(l_loop_index).serial_number,FALSE);
2426: /*** {{ R12 Enhanced ----reservations code changes ***/

Line 4531: IF INV_Validate.Organization(

4527: End IF;
4528: --
4529: IF l_org_cache_index IS NULL THEN
4530: l_org_rec.organization_id:= p_orig_rsv_rec.organization_id;
4531: IF INV_Validate.Organization(
4532: p_org => l_org_rec
4533: )=INV_Validate.F THEN
4534: fnd_message.set_name('INV', 'INVALID ORGANIZATION');
4535: fnd_msg_pub.add;

Line 4533: )=INV_Validate.F THEN

4529: IF l_org_cache_index IS NULL THEN
4530: l_org_rec.organization_id:= p_orig_rsv_rec.organization_id;
4531: IF INV_Validate.Organization(
4532: p_org => l_org_rec
4533: )=INV_Validate.F THEN
4534: fnd_message.set_name('INV', 'INVALID ORGANIZATION');
4535: fnd_msg_pub.add;
4536: RAISE fnd_api.g_exc_error;
4537: END IF;

Line 4724: IF INV_Validate.subinventory

4720:
4721: -- Modified to call common API
4722: l_sub_rec.secondary_inventory_name := l_orig_rsv_rec.subinventory_code;
4723: l_org_rec.organization_id := l_orig_rsv_rec.organization_id;
4724: IF INV_Validate.subinventory
4725: (
4726: p_sub => l_sub_rec,
4727: p_org => l_org_rec
4728: )=INV_Validate.F THEN

Line 4728: )=INV_Validate.F THEN

4724: IF INV_Validate.subinventory
4725: (
4726: p_sub => l_sub_rec,
4727: p_org => l_org_rec
4728: )=INV_Validate.F THEN
4729: fnd_message.set_name('INV','INVALID_SUB');
4730: fnd_msg_pub.add;
4731: RAISE fnd_api.g_exc_error;
4732: END IF;

Line 4970: IF INV_Validate.Organization(

4966: End IF;
4967: --
4968: IF l_org_cache_index IS NULL THEN
4969: l_org_rec.organization_id:= p_to_rsv_rec.organization_id;
4970: IF INV_Validate.Organization(
4971: p_org => l_org_rec
4972: )=INV_Validate.F THEN
4973: fnd_message.set_name('INV', 'INVALID ORGANIZATION');
4974: fnd_msg_pub.add;

Line 4972: )=INV_Validate.F THEN

4968: IF l_org_cache_index IS NULL THEN
4969: l_org_rec.organization_id:= p_to_rsv_rec.organization_id;
4970: IF INV_Validate.Organization(
4971: p_org => l_org_rec
4972: )=INV_Validate.F THEN
4973: fnd_message.set_name('INV', 'INVALID ORGANIZATION');
4974: fnd_msg_pub.add;
4975: RAISE fnd_api.g_exc_error;
4976: END IF;

Line 5158: IF INV_Validate.subinventory

5154: debug_print('l_to_rsv_rec.subinventory_code = ' || l_to_rsv_rec.subinventory_code);
5155: debug_print('l_orig_rsv_rec.organization_id = ' || l_to_rsv_rec.organization_id);
5156: END IF;
5157:
5158: IF INV_Validate.subinventory
5159: (
5160: p_sub => l_sub_rec,
5161: p_org => l_org_rec
5162: )=INV_Validate.F THEN

Line 5162: )=INV_Validate.F THEN

5158: IF INV_Validate.subinventory
5159: (
5160: p_sub => l_sub_rec,
5161: p_org => l_org_rec
5162: )=INV_Validate.F THEN
5163: fnd_message.set_name('INV','INVALID_SUB');
5164: fnd_msg_pub.add;
5165: RAISE fnd_api.g_exc_error;
5166: END IF;