DBA Data[Home] [Help]

APPS.INV_RCV_STD_INSPECT_APIS dependencies on FND_MSG_PUB

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

281: EXCEPTION
282: WHEN fnd_api.g_exc_error THEN
283: x_return_status := fnd_api.g_ret_sts_error;
284: -- Get message count and data
285: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
286: WHEN fnd_api.g_exc_unexpected_error THEN
287: x_return_status := fnd_api.g_ret_sts_unexp_error;
288: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
289: WHEN OTHERS THEN

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

284: -- Get message count and data
285: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
286: WHEN fnd_api.g_exc_unexpected_error THEN
287: x_return_status := fnd_api.g_ret_sts_unexp_error;
288: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
289: WHEN OTHERS THEN
290: x_return_status := fnd_api.g_ret_sts_unexp_error;
291: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
292: fnd_msg_pub.add_exc_msg(g_pkg_name, 'process_lot_serial_intf');

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

287: x_return_status := fnd_api.g_ret_sts_unexp_error;
288: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
289: WHEN OTHERS THEN
290: x_return_status := fnd_api.g_ret_sts_unexp_error;
291: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
292: fnd_msg_pub.add_exc_msg(g_pkg_name, 'process_lot_serial_intf');
293: END IF;
294: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
295: END process_lot_serial_intf;

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

288: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
289: WHEN OTHERS THEN
290: x_return_status := fnd_api.g_ret_sts_unexp_error;
291: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
292: fnd_msg_pub.add_exc_msg(g_pkg_name, 'process_lot_serial_intf');
293: END IF;
294: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
295: END process_lot_serial_intf;
296:

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

290: x_return_status := fnd_api.g_ret_sts_unexp_error;
291: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
292: fnd_msg_pub.add_exc_msg(g_pkg_name, 'process_lot_serial_intf');
293: END IF;
294: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
295: END process_lot_serial_intf;
296:
297: -- 12942776 new procedure to split mtrl if required and to inset rti/msni/mtli
298:

Line 910: fnd_msg_pub.count_and_get (p_count => x_msg_count,

906: END IF;
907:
908: x_return_status := fnd_api.g_ret_sts_error;
909: -- Get message count and data
910: fnd_msg_pub.count_and_get (p_count => x_msg_count,
911: p_data => x_msg_data);
912: WHEN fnd_api.g_exc_unexpected_error
913: THEN
914: IF (l_debug = 1)

Line 922: fnd_msg_pub.count_and_get (p_count => x_msg_count,

918: print_debug (' SQLERRM ' || SQLERRM, 4);
919: END IF;
920:
921: x_return_status := fnd_api.g_ret_sts_unexp_error;
922: fnd_msg_pub.count_and_get (p_count => x_msg_count,
923: p_data => x_msg_data);
924: WHEN OTHERS
925: THEN
926: IF (l_debug = 1)

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

931: END IF;
932:
933: x_return_status := fnd_api.g_ret_sts_unexp_error;
934:
935: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
936: THEN
937: fnd_msg_pub.add_exc_msg (g_pkg_name, 'split_mol_create_rti');
938: END IF;
939:

Line 937: fnd_msg_pub.add_exc_msg (g_pkg_name, 'split_mol_create_rti');

933: x_return_status := fnd_api.g_ret_sts_unexp_error;
934:
935: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
936: THEN
937: fnd_msg_pub.add_exc_msg (g_pkg_name, 'split_mol_create_rti');
938: END IF;
939:
940: fnd_msg_pub.count_and_get (p_count => x_msg_count,
941: p_data => x_msg_data);

Line 940: fnd_msg_pub.count_and_get (p_count => x_msg_count,

936: THEN
937: fnd_msg_pub.add_exc_msg (g_pkg_name, 'split_mol_create_rti');
938: END IF;
939:
940: fnd_msg_pub.count_and_get (p_count => x_msg_count,
941: p_data => x_msg_data);
942: END split_mol_create_rti;
943:
944: -- 12942776 new main_process

Line 1509: fnd_msg_pub.ADD;

1505: -- CHECK FOR ERROR HERE
1506: IF l_remaining_mol_qty > 0
1507: THEN
1508: fnd_message.set_name ('INV', 'INV_RCV_NO_ROWS');
1509: fnd_msg_pub.ADD;
1510: RAISE fnd_api.g_exc_error;
1511: END IF;
1512:
1513: -- MOLCON

Line 1528: fnd_msg_pub.ADD;

1524: -- CHECK FOR ERROR HERE
1525: IF l_remaining_mol_qty > 0
1526: THEN
1527: fnd_message.set_name ('INV', 'INV_RCV_NO_ROWS');
1528: fnd_msg_pub.ADD;
1529: RAISE fnd_api.g_exc_error;
1530: END IF;
1531:
1532: -- MOLCON

Line 1967: fnd_msg_pub.count_and_get (p_count => x_msg_count,

1963:
1964: ROLLBACK TO inspect_main_sp;
1965: x_return_status := fnd_api.g_ret_sts_error;
1966: -- Get message count and data
1967: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1968: p_data => x_msg_data);
1969:
1970: IF (mol_cursor%ISOPEN)
1971: THEN

Line 1998: fnd_msg_pub.count_and_get (p_count => x_msg_count,

1994:
1995: ROLLBACK TO inspect_main_sp;
1996: x_return_status := fnd_api.g_ret_sts_unexp_error;
1997: -- Get message count and data
1998: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1999: p_data => x_msg_data);
2000:
2001: IF (mol_cursor%ISOPEN)
2002: THEN

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

2028: ROLLBACK TO inspect_main_sp;
2029: x_return_status := fnd_api.g_ret_sts_unexp_error;
2030:
2031: --
2032: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
2033: THEN
2034: fnd_msg_pub.add_exc_msg (g_pkg_name, 'main_process');
2035: END IF;
2036:

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

2030:
2031: --
2032: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
2033: THEN
2034: fnd_msg_pub.add_exc_msg (g_pkg_name, 'main_process');
2035: END IF;
2036:
2037: -- Get message count and data
2038: fnd_msg_pub.count_and_get (p_count => x_msg_count,

Line 2038: fnd_msg_pub.count_and_get (p_count => x_msg_count,

2034: fnd_msg_pub.add_exc_msg (g_pkg_name, 'main_process');
2035: END IF;
2036:
2037: -- Get message count and data
2038: fnd_msg_pub.count_and_get (p_count => x_msg_count,
2039: p_data => x_msg_data);
2040:
2041: IF (mol_cursor%ISOPEN)
2042: THEN

Line 2576: fnd_msg_pub.ADD;

2572:
2573: goto no_mol_match;
2574: /* commenting for 12942776
2575: fnd_message.set_name('INV', 'INV_RCV_NO_ROWS');
2576: fnd_msg_pub.ADD;
2577: RAISE fnd_api.g_exc_error;
2578: */
2579: END IF;
2580: -- MOLCON

Line 2597: fnd_msg_pub.ADD;

2593: -- MOLCON
2594: -- CHECK FOR ERROR HERE
2595: IF l_remaining_mol_qty > 0 then
2596: fnd_message.set_name('INV', 'INV_RCV_NO_ROWS');
2597: fnd_msg_pub.ADD;
2598: RAISE fnd_api.g_exc_error;
2599: END IF;
2600: -- MOLCON
2601: EXIT;

Line 2616: fnd_msg_pub.ADD;

2612: -- MOLCON
2613: -- CHECK FOR ERROR HERE
2614: IF l_remaining_mol_qty > 0 then
2615: fnd_message.set_name('INV', 'INV_RCV_NO_ROWS');
2616: fnd_msg_pub.ADD;
2617: RAISE fnd_api.g_exc_error;
2618: END IF;
2619: -- MOLCON
2620: EXIT;

Line 3044: -- fnd_msg_pub.ADD;

3040:
3041: -- MOLCON COMMENTED THIS CALL HERE
3042: -- THIS HAS TO BE TRACKED ABOVE
3043: -- fnd_message.set_name('INV', 'INV_RCV_NO_ROWS');
3044: -- fnd_msg_pub.ADD;
3045: -- RAISE fnd_api.g_exc_error;
3046:
3047: END IF; --END IF IF (l_rtv_qty > 0)
3048: END LOOP;

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

3079:
3080: ROLLBACK TO inspect_main_sp;
3081: x_return_status := fnd_api.g_ret_sts_error;
3082: -- Get message count and data
3083: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3084:
3085: IF (mol_cursor%ISOPEN) THEN
3086: CLOSE mol_cursor;
3087: END IF;

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

3105:
3106: ROLLBACK TO inspect_main_sp;
3107: x_return_status := fnd_api.g_ret_sts_unexp_error;
3108: -- Get message count and data
3109: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3110:
3111: IF (mol_cursor%ISOPEN) THEN
3112: CLOSE mol_cursor;
3113: END IF;

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

3132: ROLLBACK TO inspect_main_sp;
3133: x_return_status := fnd_api.g_ret_sts_unexp_error;
3134:
3135: --
3136: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3137: fnd_msg_pub.add_exc_msg(g_pkg_name, 'main_process');
3138: END IF;
3139:
3140: -- Get message count and data

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

3133: x_return_status := fnd_api.g_ret_sts_unexp_error;
3134:
3135: --
3136: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3137: fnd_msg_pub.add_exc_msg(g_pkg_name, 'main_process');
3138: END IF;
3139:
3140: -- Get message count and data
3141: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

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

3137: fnd_msg_pub.add_exc_msg(g_pkg_name, 'main_process');
3138: END IF;
3139:
3140: -- Get message count and data
3141: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3142:
3143: IF (mol_cursor%ISOPEN) THEN
3144: CLOSE mol_cursor;
3145: END IF;

Line 3332: fnd_msg_pub.count_and_get (p_count => x_msg_count,

3328: THEN
3329: ROLLBACK TO process_sl_sp;
3330: x_return_status := fnd_api.g_ret_sts_error;
3331: -- Get message count and data
3332: fnd_msg_pub.count_and_get (p_count => x_msg_count,
3333: p_data => x_msg_data
3334: );
3335: WHEN fnd_api.g_exc_unexpected_error
3336: THEN

Line 3340: fnd_msg_pub.count_and_get (p_count => x_msg_count,

3336: THEN
3337: ROLLBACK TO process_sl_sp;
3338: x_return_status := fnd_api.g_ret_sts_unexp_error;
3339: -- Get message count and data
3340: fnd_msg_pub.count_and_get (p_count => x_msg_count,
3341: p_data => x_msg_data
3342: );
3343: WHEN OTHERS
3344: THEN

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

3345: ROLLBACK TO process_sl_sp;
3346: x_return_status := fnd_api.g_ret_sts_unexp_error;
3347:
3348: --
3349: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
3350: THEN
3351: fnd_msg_pub.add_exc_msg (g_pkg_name, 'range_serial_process');
3352: END IF;
3353:

Line 3351: fnd_msg_pub.add_exc_msg (g_pkg_name, 'range_serial_process');

3347:
3348: --
3349: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
3350: THEN
3351: fnd_msg_pub.add_exc_msg (g_pkg_name, 'range_serial_process');
3352: END IF;
3353:
3354: -- Get message count and data
3355: fnd_msg_pub.count_and_get (p_count => x_msg_count,

Line 3355: fnd_msg_pub.count_and_get (p_count => x_msg_count,

3351: fnd_msg_pub.add_exc_msg (g_pkg_name, 'range_serial_process');
3352: END IF;
3353:
3354: -- Get message count and data
3355: fnd_msg_pub.count_and_get (p_count => x_msg_count,
3356: p_data => x_msg_data
3357: );
3358: END range_serial_process;
3359:

Line 3711: FND_MSG_PUB.Add;

3707: end loop;
3708:
3709: IF l_remaining_qty > 0 THEN
3710: FND_MESSAGE.set_name('INV','INV_QTY_LESS_OR_EQUAL');
3711: FND_MSG_PUB.Add;
3712: RAISE FND_API.G_EXC_ERROR;
3713: END IF;
3714:
3715: close rtv_cursor;

Line 3724: fnd_msg_pub.count_and_get

3720:
3721: x_return_status := fnd_api.g_ret_sts_error;
3722:
3723: -- Get message count and data
3724: fnd_msg_pub.count_and_get
3725: ( p_count => x_msg_count
3726: , p_data => x_msg_data
3727: );
3728:

Line 3739: fnd_msg_pub.count_and_get

3735:
3736: x_return_status := fnd_api.g_ret_sts_unexp_error ;
3737:
3738: -- Get message count and data
3739: fnd_msg_pub.count_and_get
3740: ( p_count => x_msg_count
3741: , p_data => x_msg_data
3742: );
3743:

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

3749: rollback to inspect_main_po_sp;
3750:
3751: x_return_status := fnd_api.g_ret_sts_unexp_error ;
3752: --
3753: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
3754: THEN
3755: fnd_msg_pub.add_exc_msg
3756: ( g_pkg_name
3757: , 'main_process_po'

Line 3755: fnd_msg_pub.add_exc_msg

3751: x_return_status := fnd_api.g_ret_sts_unexp_error ;
3752: --
3753: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
3754: THEN
3755: fnd_msg_pub.add_exc_msg
3756: ( g_pkg_name
3757: , 'main_process_po'
3758: );
3759: END IF;

Line 3762: fnd_msg_pub.count_and_get

3758: );
3759: END IF;
3760:
3761: -- Get message count and data
3762: fnd_msg_pub.count_and_get
3763: ( p_count => x_msg_count
3764: , p_data => x_msg_data
3765: );
3766:

Line 4128: FND_MSG_PUB.Add;

4124: end loop;
4125:
4126: IF l_remaining_qty > 0 THEN
4127: FND_MESSAGE.set_name('INV','INV_QTY_LESS_OR_EQUAL');
4128: FND_MSG_PUB.Add;
4129: RAISE FND_API.G_EXC_ERROR;
4130: END IF;
4131:
4132: close rtv_cursor;

Line 4141: fnd_msg_pub.count_and_get

4137:
4138: x_return_status := fnd_api.g_ret_sts_error;
4139:
4140: -- Get message count and data
4141: fnd_msg_pub.count_and_get
4142: ( p_count => x_msg_count
4143: , p_data => x_msg_data
4144: );
4145:

Line 4156: fnd_msg_pub.count_and_get

4152:
4153: x_return_status := fnd_api.g_ret_sts_unexp_error ;
4154:
4155: -- Get message count and data
4156: fnd_msg_pub.count_and_get
4157: ( p_count => x_msg_count
4158: , p_data => x_msg_data
4159: );
4160:

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

4166: rollback to inspect_main_intransit_sp;
4167:
4168: x_return_status := fnd_api.g_ret_sts_unexp_error ;
4169: --
4170: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
4171: THEN
4172: fnd_msg_pub.add_exc_msg
4173: ( g_pkg_name
4174: , 'main_process_intransit'

Line 4172: fnd_msg_pub.add_exc_msg

4168: x_return_status := fnd_api.g_ret_sts_unexp_error ;
4169: --
4170: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
4171: THEN
4172: fnd_msg_pub.add_exc_msg
4173: ( g_pkg_name
4174: , 'main_process_intransit'
4175: );
4176: END IF;

Line 4179: fnd_msg_pub.count_and_get

4175: );
4176: END IF;
4177:
4178: -- Get message count and data
4179: fnd_msg_pub.count_and_get
4180: ( p_count => x_msg_count
4181: , p_data => x_msg_data
4182: );
4183:

Line 4543: FND_MSG_PUB.Add;

4539: end loop;
4540:
4541: IF l_remaining_qty > 0 THEN
4542: FND_MESSAGE.set_name('INV','INV_QTY_LESS_OR_EQUAL');
4543: FND_MSG_PUB.Add;
4544: RAISE FND_API.G_EXC_ERROR;
4545: END IF;
4546:
4547: close rtv_cursor;

Line 4556: fnd_msg_pub.count_and_get

4552:
4553: x_return_status := fnd_api.g_ret_sts_error;
4554:
4555: -- Get message count and data
4556: fnd_msg_pub.count_and_get
4557: ( p_count => x_msg_count
4558: , p_data => x_msg_data
4559: );
4560:

Line 4571: fnd_msg_pub.count_and_get

4567:
4568: x_return_status := fnd_api.g_ret_sts_unexp_error ;
4569:
4570: -- Get message count and data
4571: fnd_msg_pub.count_and_get
4572: ( p_count => x_msg_count
4573: , p_data => x_msg_data
4574: );
4575:

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

4581: rollback to inspect_main_rma_sp;
4582:
4583: x_return_status := fnd_api.g_ret_sts_unexp_error ;
4584: --
4585: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
4586: THEN
4587: fnd_msg_pub.add_exc_msg
4588: ( g_pkg_name
4589: , 'main_process_rma'

Line 4587: fnd_msg_pub.add_exc_msg

4583: x_return_status := fnd_api.g_ret_sts_unexp_error ;
4584: --
4585: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
4586: THEN
4587: fnd_msg_pub.add_exc_msg
4588: ( g_pkg_name
4589: , 'main_process_rma'
4590: );
4591: END IF;

Line 4594: fnd_msg_pub.count_and_get

4590: );
4591: END IF;
4592:
4593: -- Get message count and data
4594: fnd_msg_pub.count_and_get
4595: ( p_count => x_msg_count
4596: , p_data => x_msg_data
4597: );
4598:

Line 4981: FND_MSG_PUB.Add;

4977: end loop;
4978:
4979: IF l_remaining_qty > 0 THEN
4980: FND_MESSAGE.set_name('INV','INV_QTY_LESS_OR_EQUAL');
4981: FND_MSG_PUB.Add;
4982: RAISE FND_API.G_EXC_ERROR;
4983: END IF;
4984:
4985: close rtv_cursor;

Line 5000: fnd_msg_pub.count_and_get

4996: print_debug('Jumped to Exception exc_error ' || x_return_status, 4);
4997: END IF;
4998:
4999: -- Get message count and data
5000: fnd_msg_pub.count_and_get
5001: ( p_count => x_msg_count
5002: , p_data => x_msg_data
5003: );
5004:

Line 5021: fnd_msg_pub.count_and_get

5017: print_debug('Jumped to Exception unexpected_exc_error ' || x_return_status, 4);
5018: END IF;
5019:
5020: -- Get message count and data
5021: fnd_msg_pub.count_and_get
5022: ( p_count => x_msg_count
5023: , p_data => x_msg_data
5024: );
5025:

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

5037: IF (l_debug = 1) THEN
5038: print_debug('Jumped to Exception others' || x_return_status, 4);
5039: END IF;
5040: --
5041: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
5042: THEN
5043: fnd_msg_pub.add_exc_msg
5044: ( g_pkg_name
5045: , 'main_process_receipt'

Line 5043: fnd_msg_pub.add_exc_msg

5039: END IF;
5040: --
5041: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
5042: THEN
5043: fnd_msg_pub.add_exc_msg
5044: ( g_pkg_name
5045: , 'main_process_receipt'
5046: );
5047: END IF;

Line 5050: fnd_msg_pub.count_and_get

5046: );
5047: END IF;
5048:
5049: -- Get message count and data
5050: fnd_msg_pub.count_and_get
5051: ( p_count => x_msg_count
5052: , p_data => x_msg_data
5053: );
5054:

Line 5740: fnd_msg_pub.count_and_get

5736:
5737: x_return_status := fnd_api.g_ret_sts_error;
5738:
5739: -- Get message count and data
5740: fnd_msg_pub.count_and_get
5741: ( p_count => x_msg_count
5742: , p_data => x_msg_data
5743: );
5744:

Line 5751: fnd_msg_pub.count_and_get

5747:
5748: x_return_status := fnd_api.g_ret_sts_unexp_error ;
5749:
5750: -- Get message count and data
5751: fnd_msg_pub.count_and_get
5752: ( p_count => x_msg_count
5753: , p_data => x_msg_data
5754: );
5755:

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

5757: rollback to insert_rti_sp;
5758:
5759: x_return_status := fnd_api.g_ret_sts_unexp_error ;
5760: --
5761: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
5762: THEN
5763: fnd_msg_pub.add_exc_msg
5764: ( g_pkg_name
5765: , 'insert_inspect_rec_rti'

Line 5763: fnd_msg_pub.add_exc_msg

5759: x_return_status := fnd_api.g_ret_sts_unexp_error ;
5760: --
5761: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
5762: THEN
5763: fnd_msg_pub.add_exc_msg
5764: ( g_pkg_name
5765: , 'insert_inspect_rec_rti'
5766: );
5767: END IF;

Line 5770: fnd_msg_pub.count_and_get

5766: );
5767: END IF;
5768:
5769: -- Get message count and data
5770: fnd_msg_pub.count_and_get
5771: ( p_count => x_msg_count
5772: , p_data => x_msg_data
5773: );
5774: end insert_inspect_rec_rti;

Line 5949: fnd_msg_pub.ADD;

5945: );
5946:
5947: IF l_return_status <> fnd_api.g_ret_sts_success THEN
5948: fnd_message.set_name('INV', 'INV_RCV_CRT_PRINT_LAB_FAIL'); -- MSGTBD
5949: fnd_msg_pub.ADD;
5950: x_return_status := 'W';
5951:
5952: IF (l_debug = 1) THEN
5953: 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 6329: fnd_msg_pub.count_and_get ( p_count => l_msg_count , p_data => x_msg_data);

6325: EXCEPTION
6326: when fnd_api.g_exc_error THEN
6327: x_return_status := fnd_api.g_ret_sts_error;
6328: -- Get message count and data
6329: fnd_msg_pub.count_and_get ( p_count => l_msg_count , p_data => x_msg_data);
6330: print_debug('***Execution error occured***', 4);
6331: return 0; --Bug #3908752
6332: when fnd_api.g_exc_unexpected_error THEN
6333: x_return_status := fnd_api.g_ret_sts_unexp_error;

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

6331: return 0; --Bug #3908752
6332: when fnd_api.g_exc_unexpected_error THEN
6333: x_return_status := fnd_api.g_ret_sts_unexp_error;
6334: -- Get message count and data
6335: fnd_msg_pub.count_and_get ( p_count => l_msg_count , p_data => x_msg_data);
6336: print_debug('***Unexpected error occured***', 4);
6337: return 0;
6338: when others THEN
6339: x_return_status := fnd_api.g_ret_sts_unexp_error ;

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

6336: print_debug('***Unexpected error occured***', 4);
6337: return 0;
6338: when others THEN
6339: x_return_status := fnd_api.g_ret_sts_unexp_error ;
6340: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
6341: THEN
6342: fnd_msg_pub.add_exc_msg ( g_pkg_name, 'get_inspection_qty');
6343: END IF;
6344: -- Get message count and data

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

6338: when others THEN
6339: x_return_status := fnd_api.g_ret_sts_unexp_error ;
6340: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
6341: THEN
6342: fnd_msg_pub.add_exc_msg ( g_pkg_name, 'get_inspection_qty');
6343: END IF;
6344: -- Get message count and data
6345: fnd_msg_pub.count_and_get ( p_count => l_msg_count, p_data => x_msg_data);
6346: IF (c_txn_lines%isopen) THEN

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

6341: THEN
6342: fnd_msg_pub.add_exc_msg ( g_pkg_name, 'get_inspection_qty');
6343: END IF;
6344: -- Get message count and data
6345: fnd_msg_pub.count_and_get ( p_count => l_msg_count, p_data => x_msg_data);
6346: IF (c_txn_lines%isopen) THEN
6347: CLOSE c_txn_lines;
6348: END IF;
6349: print_debug('***Error occured while getting Inspection Qty : ' || sqlerrm || ' ***' , 4);