DBA Data[Home] [Help]

APPS.INV_RCV_STD_INSPECT_APIS dependencies on FND_MSG_PUB

Line 229: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

225: EXCEPTION
226: WHEN fnd_api.g_exc_error THEN
227: x_return_status := fnd_api.g_ret_sts_error;
228: -- Get message count and data
229: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
230: WHEN fnd_api.g_exc_unexpected_error THEN
231: x_return_status := fnd_api.g_ret_sts_unexp_error;
232: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
233: WHEN OTHERS THEN

Line 232: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

228: -- Get message count and data
229: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
230: WHEN fnd_api.g_exc_unexpected_error THEN
231: x_return_status := fnd_api.g_ret_sts_unexp_error;
232: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
233: WHEN OTHERS THEN
234: x_return_status := fnd_api.g_ret_sts_unexp_error;
235: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
236: fnd_msg_pub.add_exc_msg(g_pkg_name, 'process_lot_serial_intf');

Line 235: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

231: x_return_status := fnd_api.g_ret_sts_unexp_error;
232: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
233: WHEN OTHERS THEN
234: x_return_status := fnd_api.g_ret_sts_unexp_error;
235: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
236: fnd_msg_pub.add_exc_msg(g_pkg_name, 'process_lot_serial_intf');
237: END IF;
238: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
239: END process_lot_serial_intf;

Line 236: fnd_msg_pub.add_exc_msg(g_pkg_name, 'process_lot_serial_intf');

232: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
233: WHEN OTHERS THEN
234: x_return_status := fnd_api.g_ret_sts_unexp_error;
235: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
236: fnd_msg_pub.add_exc_msg(g_pkg_name, 'process_lot_serial_intf');
237: END IF;
238: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
239: END process_lot_serial_intf;
240:

Line 238: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

234: x_return_status := fnd_api.g_ret_sts_unexp_error;
235: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
236: fnd_msg_pub.add_exc_msg(g_pkg_name, 'process_lot_serial_intf');
237: END IF;
238: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
239: END process_lot_serial_intf;
240:
241: PROCEDURE main_process(
242: x_return_status OUT NOCOPY VARCHAR2

Line 687: fnd_msg_pub.ADD;

683: -- MOLCON
684: -- CHECK FOR ERROR HERE
685: IF l_remaining_mol_qty > 0 then
686: fnd_message.set_name('INV', 'INV_RCV_NO_ROWS');
687: fnd_msg_pub.ADD;
688: RAISE fnd_api.g_exc_error;
689: END IF;
690: -- MOLCON
691: EXIT;

Line 707: fnd_msg_pub.ADD;

703: -- MOLCON
704: -- CHECK FOR ERROR HERE
705: IF l_remaining_mol_qty > 0 then
706: fnd_message.set_name('INV', 'INV_RCV_NO_ROWS');
707: fnd_msg_pub.ADD;
708: RAISE fnd_api.g_exc_error;
709: END IF;
710: -- MOLCON
711: EXIT;

Line 726: fnd_msg_pub.ADD;

722: -- MOLCON
723: -- CHECK FOR ERROR HERE
724: IF l_remaining_mol_qty > 0 then
725: fnd_message.set_name('INV', 'INV_RCV_NO_ROWS');
726: fnd_msg_pub.ADD;
727: RAISE fnd_api.g_exc_error;
728: END IF;
729: -- MOLCON
730: EXIT;

Line 1153: -- fnd_msg_pub.ADD;

1149:
1150: -- MOLCON COMMENTED THIS CALL HERE
1151: -- THIS HAS TO BE TRACKED ABOVE
1152: -- fnd_message.set_name('INV', 'INV_RCV_NO_ROWS');
1153: -- fnd_msg_pub.ADD;
1154: -- RAISE fnd_api.g_exc_error;
1155:
1156: END IF; --END IF IF (l_rtv_qty > 0)
1157: END LOOP;

Line 1190: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1186:
1187: ROLLBACK TO inspect_main_sp;
1188: x_return_status := fnd_api.g_ret_sts_error;
1189: -- Get message count and data
1190: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1191:
1192: IF (mol_cursor%ISOPEN) THEN
1193: CLOSE mol_cursor;
1194: END IF;

Line 1216: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1212:
1213: ROLLBACK TO inspect_main_sp;
1214: x_return_status := fnd_api.g_ret_sts_unexp_error;
1215: -- Get message count and data
1216: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1217:
1218: IF (mol_cursor%ISOPEN) THEN
1219: CLOSE mol_cursor;
1220: END IF;

Line 1243: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1239: ROLLBACK TO inspect_main_sp;
1240: x_return_status := fnd_api.g_ret_sts_unexp_error;
1241:
1242: --
1243: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1244: fnd_msg_pub.add_exc_msg(g_pkg_name, 'main_process');
1245: END IF;
1246:
1247: -- Get message count and data

Line 1244: fnd_msg_pub.add_exc_msg(g_pkg_name, 'main_process');

1240: x_return_status := fnd_api.g_ret_sts_unexp_error;
1241:
1242: --
1243: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1244: fnd_msg_pub.add_exc_msg(g_pkg_name, 'main_process');
1245: END IF;
1246:
1247: -- Get message count and data
1248: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 1248: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1244: fnd_msg_pub.add_exc_msg(g_pkg_name, 'main_process');
1245: END IF;
1246:
1247: -- Get message count and data
1248: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1249:
1250: IF (mol_cursor%ISOPEN) THEN
1251: CLOSE mol_cursor;
1252: END IF;

Line 1432: fnd_msg_pub.count_and_get

1428:
1429: x_return_status := fnd_api.g_ret_sts_error;
1430:
1431: -- Get message count and data
1432: fnd_msg_pub.count_and_get
1433: ( p_count => x_msg_count
1434: , p_data => x_msg_data
1435: );
1436:

Line 1443: fnd_msg_pub.count_and_get

1439:
1440: x_return_status := fnd_api.g_ret_sts_unexp_error ;
1441:
1442: -- Get message count and data
1443: fnd_msg_pub.count_and_get
1444: ( p_count => x_msg_count
1445: , p_data => x_msg_data
1446: );
1447:

Line 1453: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

1449: rollback to process_sl_sp;
1450:
1451: x_return_status := fnd_api.g_ret_sts_unexp_error ;
1452: --
1453: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1454: THEN
1455: fnd_msg_pub.add_exc_msg
1456: ( g_pkg_name
1457: , 'range_serial_process'

Line 1455: fnd_msg_pub.add_exc_msg

1451: x_return_status := fnd_api.g_ret_sts_unexp_error ;
1452: --
1453: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1454: THEN
1455: fnd_msg_pub.add_exc_msg
1456: ( g_pkg_name
1457: , 'range_serial_process'
1458: );
1459: END IF;

Line 1462: fnd_msg_pub.count_and_get

1458: );
1459: END IF;
1460:
1461: -- Get message count and data
1462: fnd_msg_pub.count_and_get
1463: ( p_count => x_msg_count
1464: , p_data => x_msg_data
1465: );
1466: end range_serial_process;

Line 1819: FND_MSG_PUB.Add;

1815: end loop;
1816:
1817: IF l_remaining_qty > 0 THEN
1818: FND_MESSAGE.set_name('INV','INV_QTY_LESS_OR_EQUAL');
1819: FND_MSG_PUB.Add;
1820: RAISE FND_API.G_EXC_ERROR;
1821: END IF;
1822:
1823: close rtv_cursor;

Line 1832: fnd_msg_pub.count_and_get

1828:
1829: x_return_status := fnd_api.g_ret_sts_error;
1830:
1831: -- Get message count and data
1832: fnd_msg_pub.count_and_get
1833: ( p_count => x_msg_count
1834: , p_data => x_msg_data
1835: );
1836:

Line 1847: fnd_msg_pub.count_and_get

1843:
1844: x_return_status := fnd_api.g_ret_sts_unexp_error ;
1845:
1846: -- Get message count and data
1847: fnd_msg_pub.count_and_get
1848: ( p_count => x_msg_count
1849: , p_data => x_msg_data
1850: );
1851:

Line 1861: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

1857: rollback to inspect_main_po_sp;
1858:
1859: x_return_status := fnd_api.g_ret_sts_unexp_error ;
1860: --
1861: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1862: THEN
1863: fnd_msg_pub.add_exc_msg
1864: ( g_pkg_name
1865: , 'main_process_po'

Line 1863: fnd_msg_pub.add_exc_msg

1859: x_return_status := fnd_api.g_ret_sts_unexp_error ;
1860: --
1861: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1862: THEN
1863: fnd_msg_pub.add_exc_msg
1864: ( g_pkg_name
1865: , 'main_process_po'
1866: );
1867: END IF;

Line 1870: fnd_msg_pub.count_and_get

1866: );
1867: END IF;
1868:
1869: -- Get message count and data
1870: fnd_msg_pub.count_and_get
1871: ( p_count => x_msg_count
1872: , p_data => x_msg_data
1873: );
1874:

Line 2235: FND_MSG_PUB.Add;

2231: end loop;
2232:
2233: IF l_remaining_qty > 0 THEN
2234: FND_MESSAGE.set_name('INV','INV_QTY_LESS_OR_EQUAL');
2235: FND_MSG_PUB.Add;
2236: RAISE FND_API.G_EXC_ERROR;
2237: END IF;
2238:
2239: close rtv_cursor;

Line 2248: fnd_msg_pub.count_and_get

2244:
2245: x_return_status := fnd_api.g_ret_sts_error;
2246:
2247: -- Get message count and data
2248: fnd_msg_pub.count_and_get
2249: ( p_count => x_msg_count
2250: , p_data => x_msg_data
2251: );
2252:

Line 2263: fnd_msg_pub.count_and_get

2259:
2260: x_return_status := fnd_api.g_ret_sts_unexp_error ;
2261:
2262: -- Get message count and data
2263: fnd_msg_pub.count_and_get
2264: ( p_count => x_msg_count
2265: , p_data => x_msg_data
2266: );
2267:

Line 2277: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

2273: rollback to inspect_main_intransit_sp;
2274:
2275: x_return_status := fnd_api.g_ret_sts_unexp_error ;
2276: --
2277: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2278: THEN
2279: fnd_msg_pub.add_exc_msg
2280: ( g_pkg_name
2281: , 'main_process_intransit'

Line 2279: fnd_msg_pub.add_exc_msg

2275: x_return_status := fnd_api.g_ret_sts_unexp_error ;
2276: --
2277: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2278: THEN
2279: fnd_msg_pub.add_exc_msg
2280: ( g_pkg_name
2281: , 'main_process_intransit'
2282: );
2283: END IF;

Line 2286: fnd_msg_pub.count_and_get

2282: );
2283: END IF;
2284:
2285: -- Get message count and data
2286: fnd_msg_pub.count_and_get
2287: ( p_count => x_msg_count
2288: , p_data => x_msg_data
2289: );
2290:

Line 2645: FND_MSG_PUB.Add;

2641: end loop;
2642:
2643: IF l_remaining_qty > 0 THEN
2644: FND_MESSAGE.set_name('INV','INV_QTY_LESS_OR_EQUAL');
2645: FND_MSG_PUB.Add;
2646: RAISE FND_API.G_EXC_ERROR;
2647: END IF;
2648:
2649: close rtv_cursor;

Line 2658: fnd_msg_pub.count_and_get

2654:
2655: x_return_status := fnd_api.g_ret_sts_error;
2656:
2657: -- Get message count and data
2658: fnd_msg_pub.count_and_get
2659: ( p_count => x_msg_count
2660: , p_data => x_msg_data
2661: );
2662:

Line 2673: fnd_msg_pub.count_and_get

2669:
2670: x_return_status := fnd_api.g_ret_sts_unexp_error ;
2671:
2672: -- Get message count and data
2673: fnd_msg_pub.count_and_get
2674: ( p_count => x_msg_count
2675: , p_data => x_msg_data
2676: );
2677:

Line 2687: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

2683: rollback to inspect_main_rma_sp;
2684:
2685: x_return_status := fnd_api.g_ret_sts_unexp_error ;
2686: --
2687: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2688: THEN
2689: fnd_msg_pub.add_exc_msg
2690: ( g_pkg_name
2691: , 'main_process_rma'

Line 2689: fnd_msg_pub.add_exc_msg

2685: x_return_status := fnd_api.g_ret_sts_unexp_error ;
2686: --
2687: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
2688: THEN
2689: fnd_msg_pub.add_exc_msg
2690: ( g_pkg_name
2691: , 'main_process_rma'
2692: );
2693: END IF;

Line 2696: fnd_msg_pub.count_and_get

2692: );
2693: END IF;
2694:
2695: -- Get message count and data
2696: fnd_msg_pub.count_and_get
2697: ( p_count => x_msg_count
2698: , p_data => x_msg_data
2699: );
2700:

Line 3081: FND_MSG_PUB.Add;

3077: end loop;
3078:
3079: IF l_remaining_qty > 0 THEN
3080: FND_MESSAGE.set_name('INV','INV_QTY_LESS_OR_EQUAL');
3081: FND_MSG_PUB.Add;
3082: RAISE FND_API.G_EXC_ERROR;
3083: END IF;
3084:
3085: close rtv_cursor;

Line 3100: fnd_msg_pub.count_and_get

3096: print_debug('Jumped to Exception exc_error ' || x_return_status, 4);
3097: END IF;
3098:
3099: -- Get message count and data
3100: fnd_msg_pub.count_and_get
3101: ( p_count => x_msg_count
3102: , p_data => x_msg_data
3103: );
3104:

Line 3121: fnd_msg_pub.count_and_get

3117: print_debug('Jumped to Exception unexpected_exc_error ' || x_return_status, 4);
3118: END IF;
3119:
3120: -- Get message count and data
3121: fnd_msg_pub.count_and_get
3122: ( p_count => x_msg_count
3123: , p_data => x_msg_data
3124: );
3125:

Line 3141: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

3137: IF (l_debug = 1) THEN
3138: print_debug('Jumped to Exception others' || x_return_status, 4);
3139: END IF;
3140: --
3141: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
3142: THEN
3143: fnd_msg_pub.add_exc_msg
3144: ( g_pkg_name
3145: , 'main_process_receipt'

Line 3143: fnd_msg_pub.add_exc_msg

3139: END IF;
3140: --
3141: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
3142: THEN
3143: fnd_msg_pub.add_exc_msg
3144: ( g_pkg_name
3145: , 'main_process_receipt'
3146: );
3147: END IF;

Line 3150: fnd_msg_pub.count_and_get

3146: );
3147: END IF;
3148:
3149: -- Get message count and data
3150: fnd_msg_pub.count_and_get
3151: ( p_count => x_msg_count
3152: , p_data => x_msg_data
3153: );
3154:

Line 3840: fnd_msg_pub.count_and_get

3836:
3837: x_return_status := fnd_api.g_ret_sts_error;
3838:
3839: -- Get message count and data
3840: fnd_msg_pub.count_and_get
3841: ( p_count => x_msg_count
3842: , p_data => x_msg_data
3843: );
3844:

Line 3851: fnd_msg_pub.count_and_get

3847:
3848: x_return_status := fnd_api.g_ret_sts_unexp_error ;
3849:
3850: -- Get message count and data
3851: fnd_msg_pub.count_and_get
3852: ( p_count => x_msg_count
3853: , p_data => x_msg_data
3854: );
3855:

Line 3861: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

3857: rollback to insert_rti_sp;
3858:
3859: x_return_status := fnd_api.g_ret_sts_unexp_error ;
3860: --
3861: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
3862: THEN
3863: fnd_msg_pub.add_exc_msg
3864: ( g_pkg_name
3865: , 'insert_inspect_rec_rti'

Line 3863: fnd_msg_pub.add_exc_msg

3859: x_return_status := fnd_api.g_ret_sts_unexp_error ;
3860: --
3861: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
3862: THEN
3863: fnd_msg_pub.add_exc_msg
3864: ( g_pkg_name
3865: , 'insert_inspect_rec_rti'
3866: );
3867: END IF;

Line 3870: fnd_msg_pub.count_and_get

3866: );
3867: END IF;
3868:
3869: -- Get message count and data
3870: fnd_msg_pub.count_and_get
3871: ( p_count => x_msg_count
3872: , p_data => x_msg_data
3873: );
3874: end insert_inspect_rec_rti;

Line 4049: fnd_msg_pub.ADD;

4045: );
4046:
4047: IF l_return_status <> fnd_api.g_ret_sts_success THEN
4048: fnd_message.set_name('INV', 'INV_RCV_CRT_PRINT_LAB_FAIL'); -- MSGTBD
4049: fnd_msg_pub.ADD;
4050: x_return_status := 'W';
4051:
4052: IF (l_debug = 1) THEN
4053: print_debug('create_std_rcpt_intf_rec 8.2: inv_label.print_label FAILED;' || TO_CHAR(SYSDATE, 'YYYY-MM-DD HH:DD:SS'), 4);

Line 4430: fnd_msg_pub.count_and_get ( p_count => l_msg_count , p_data => x_msg_data);

4426: EXCEPTION
4427: when fnd_api.g_exc_error THEN
4428: x_return_status := fnd_api.g_ret_sts_error;
4429: -- Get message count and data
4430: fnd_msg_pub.count_and_get ( p_count => l_msg_count , p_data => x_msg_data);
4431: print_debug('***Execution error occured***', 4);
4432: return 0; --Bug #3908752
4433: when fnd_api.g_exc_unexpected_error THEN
4434: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 4436: fnd_msg_pub.count_and_get ( p_count => l_msg_count , p_data => x_msg_data);

4432: return 0; --Bug #3908752
4433: when fnd_api.g_exc_unexpected_error THEN
4434: x_return_status := fnd_api.g_ret_sts_unexp_error;
4435: -- Get message count and data
4436: fnd_msg_pub.count_and_get ( p_count => l_msg_count , p_data => x_msg_data);
4437: print_debug('***Unexpected error occured***', 4);
4438: return 0;
4439: when others THEN
4440: x_return_status := fnd_api.g_ret_sts_unexp_error ;

Line 4441: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)

4437: print_debug('***Unexpected error occured***', 4);
4438: return 0;
4439: when others THEN
4440: x_return_status := fnd_api.g_ret_sts_unexp_error ;
4441: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
4442: THEN
4443: fnd_msg_pub.add_exc_msg ( g_pkg_name, 'get_inspection_qty');
4444: END IF;
4445: -- Get message count and data

Line 4443: fnd_msg_pub.add_exc_msg ( g_pkg_name, 'get_inspection_qty');

4439: when others THEN
4440: x_return_status := fnd_api.g_ret_sts_unexp_error ;
4441: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
4442: THEN
4443: fnd_msg_pub.add_exc_msg ( g_pkg_name, 'get_inspection_qty');
4444: END IF;
4445: -- Get message count and data
4446: fnd_msg_pub.count_and_get ( p_count => l_msg_count, p_data => x_msg_data);
4447: IF (c_txn_lines%isopen) THEN

Line 4446: fnd_msg_pub.count_and_get ( p_count => l_msg_count, p_data => x_msg_data);

4442: THEN
4443: fnd_msg_pub.add_exc_msg ( g_pkg_name, 'get_inspection_qty');
4444: END IF;
4445: -- Get message count and data
4446: fnd_msg_pub.count_and_get ( p_count => l_msg_count, p_data => x_msg_data);
4447: IF (c_txn_lines%isopen) THEN
4448: CLOSE c_txn_lines;
4449: END IF;
4450: print_debug('***Error occured while getting Inspection Qty : ' || sqlerrm || ' ***' , 4);