DBA Data[Home] [Help]

APPS.INV_ROI_INTEGRATION_GRP dependencies on FND_MESSAGE

Line 378: FND_MESSAGE.SET_NAME('PO','PO_RMA_LOT_MISMATCH');

374: IF l_rma_quantity = 0 THEN
375: IF g_debug = 1 THEN
376: print_debug('RMA lot does not match with user lot so error out' || l_progress, 4);
377: END IF;
378: FND_MESSAGE.SET_NAME('PO','PO_RMA_LOT_MISMATCH');
379: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_lot');
380: fnd_msg_pub.ADD;
381: RAISE g_exc_error;
382: END IF;--------IF l_rma_quantity = 0 THEN

Line 379: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_lot');

375: IF g_debug = 1 THEN
376: print_debug('RMA lot does not match with user lot so error out' || l_progress, 4);
377: END IF;
378: FND_MESSAGE.SET_NAME('PO','PO_RMA_LOT_MISMATCH');
379: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_lot');
380: fnd_msg_pub.ADD;
381: RAISE g_exc_error;
382: END IF;--------IF l_rma_quantity = 0 THEN
383: ELSE ------ IF p_oe_order_line_id IS NOT NULL THEN

Line 440: FND_MESSAGE.SET_NAME('INV','INV_RMA_QUANTITY_VAL_FAILED');

436: IF g_debug = 1 THEN
437: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed
438: as user quantity is greater than the available RMA quantity ' || l_progress, 1);
439: END IF;
440: FND_MESSAGE.SET_NAME('INV','INV_RMA_QUANTITY_VAL_FAILED');
441: FND_MESSAGE.SET_TOKEN('x_allowed_quantity',l_allowed_quantity );
442: FND_MESSAGE.SET_TOKEN('p_lot_number',p_lot_number );
443: fnd_msg_pub.ADD;
444: RAISE g_exc_error;

Line 441: FND_MESSAGE.SET_TOKEN('x_allowed_quantity',l_allowed_quantity );

437: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed
438: as user quantity is greater than the available RMA quantity ' || l_progress, 1);
439: END IF;
440: FND_MESSAGE.SET_NAME('INV','INV_RMA_QUANTITY_VAL_FAILED');
441: FND_MESSAGE.SET_TOKEN('x_allowed_quantity',l_allowed_quantity );
442: FND_MESSAGE.SET_TOKEN('p_lot_number',p_lot_number );
443: fnd_msg_pub.ADD;
444: RAISE g_exc_error;
445: END IF;

Line 442: FND_MESSAGE.SET_TOKEN('p_lot_number',p_lot_number );

438: as user quantity is greater than the available RMA quantity ' || l_progress, 1);
439: END IF;
440: FND_MESSAGE.SET_NAME('INV','INV_RMA_QUANTITY_VAL_FAILED');
441: FND_MESSAGE.SET_TOKEN('x_allowed_quantity',l_allowed_quantity );
442: FND_MESSAGE.SET_TOKEN('p_lot_number',p_lot_number );
443: fnd_msg_pub.ADD;
444: RAISE g_exc_error;
445: END IF;
446:

Line 453: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

449: IF l_return_status = fnd_api.g_ret_sts_error THEN
450: IF g_debug = 1 THEN
451: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed with a user defined exception '|| l_progress, 1);
452: END IF;
453: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
454: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity');
455: fnd_msg_pub.ADD;
456: RAISE g_exc_error;
457:

Line 454: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity');

450: IF g_debug = 1 THEN
451: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed with a user defined exception '|| l_progress, 1);
452: END IF;
453: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
454: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity');
455: fnd_msg_pub.ADD;
456: RAISE g_exc_error;
457:
458: l_progress := '008' ;

Line 464: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

460: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
461: IF g_debug = 1 THEN
462: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed with a Unexpected exception ' || l_progress , 1);
463: END IF;
464: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
465: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity');
466: fnd_msg_pub.ADD;
467: RAISE g_exc_unexpected_error;
468: END IF;

Line 465: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity');

461: IF g_debug = 1 THEN
462: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed with a Unexpected exception ' || l_progress , 1);
463: END IF;
464: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
465: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity');
466: fnd_msg_pub.ADD;
467: RAISE g_exc_unexpected_error;
468: END IF;
469:

Line 529: FND_MESSAGE.SET_NAME('INV', 'INV_PROGRAM_ERROR') ;

525: IF l_return_status = fnd_api.g_ret_sts_error THEN
526: IF g_debug = 1 THEN
527: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with error', 9);
528: END IF;
529: FND_MESSAGE.SET_NAME('INV', 'INV_PROGRAM_ERROR') ;
530: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
531: FND_MSG_PUB.ADD;
532: RAISE g_exc_error;
533: END IF;

Line 530: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');

526: IF g_debug = 1 THEN
527: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with error', 9);
528: END IF;
529: FND_MESSAGE.SET_NAME('INV', 'INV_PROGRAM_ERROR') ;
530: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
531: FND_MSG_PUB.ADD;
532: RAISE g_exc_error;
533: END IF;
534:

Line 539: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

535: IF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
536: IF g_debug = 1 THEN
537: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with a Unexpected exception', 9);
538: END IF;
539: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
540: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
541: fnd_msg_pub.ADD;
542: RAISE g_exc_unexpected_error;
543: END IF;

Line 540: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');

536: IF g_debug = 1 THEN
537: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with a Unexpected exception', 9);
538: END IF;
539: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
540: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
541: fnd_msg_pub.ADD;
542: RAISE g_exc_unexpected_error;
543: END IF;
544:

Line 549: fnd_message.set_name('INV', 'INV_NO_LOT_CONTROL');

545: IF (l_lot_cont = FALSE) THEN
546: IF g_debug = 1 THEN
547: print_debug(' Item is not lot controlled ', 9);
548: END IF;
549: fnd_message.set_name('INV', 'INV_NO_LOT_CONTROL');
550: fnd_msg_pub.ADD;
551: x_return_status := fnd_api.g_ret_sts_error;
552: RAISE g_exc_error;
553: END IF ;

Line 559: fnd_message.set_name('INV', 'INV_ITEM_CLOT_DISABLE_EXP');

555: IF (l_child_lot_cont = FALSE AND p_parent_lot_number IS NOT NULL) THEN
556: IF g_debug = 1 THEN
557: print_debug(' Item is not Child lot controlled ', 9);
558: END IF;
559: fnd_message.set_name('INV', 'INV_ITEM_CLOT_DISABLE_EXP');
560: fnd_msg_pub.ADD;
561: x_return_status := fnd_api.g_ret_sts_error;
562: RAISE g_exc_error;
563: END IF ;

Line 822: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');

818: IF g_debug = 1 THEN
819: print_debug('INV_CONVERT.inv_um_convert has failed '|| l_progress, 1);
820: END IF;
821:
822: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
823: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
824: fnd_msg_pub.ADD;
825:
826: RAISE g_exc_unexpected_error;

Line 823: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');

819: print_debug('INV_CONVERT.inv_um_convert has failed '|| l_progress, 1);
820: END IF;
821:
822: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
823: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
824: fnd_msg_pub.ADD;
825:
826: RAISE g_exc_unexpected_error;
827: END IF;

Line 859: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

855: IF g_debug = 1 THEN
856: print_debug('Program INV_LOT_API_PUB.validate_lot_indivisible has failed with a user defined exception '|| l_progress, 9);
857: END IF;
858:
859: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
860: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_LOT_API_PUB.validate_lot_indivisible');
861: fnd_msg_pub.ADD;
862: RAISE g_exc_error;
863:

Line 860: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_LOT_API_PUB.validate_lot_indivisible');

856: print_debug('Program INV_LOT_API_PUB.validate_lot_indivisible has failed with a user defined exception '|| l_progress, 9);
857: END IF;
858:
859: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
860: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_LOT_API_PUB.validate_lot_indivisible');
861: fnd_msg_pub.ADD;
862: RAISE g_exc_error;
863:
864: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN

Line 870: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

866: IF g_debug = 1 THEN
867: print_debug('Program INV_LOT_API_PUB.validate_lot_indivisible has failed with a Unexpected exception' || l_progress, 9);
868: END IF;
869:
870: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
871: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_LOT_API_PUB.validate_lot_indivisible');
872: fnd_msg_pub.ADD;
873: RAISE g_exc_unexpected_error;
874: END IF;------------IF l_return_status = fnd_api.g_ret_sts_error THEN

Line 871: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_LOT_API_PUB.validate_lot_indivisible');

867: print_debug('Program INV_LOT_API_PUB.validate_lot_indivisible has failed with a Unexpected exception' || l_progress, 9);
868: END IF;
869:
870: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
871: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_LOT_API_PUB.validate_lot_indivisible');
872: fnd_msg_pub.ADD;
873: RAISE g_exc_unexpected_error;
874: END IF;------------IF l_return_status = fnd_api.g_ret_sts_error THEN
875:

Line 983: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

979: IF l_deviation_check = 0 THEN
980: IF g_debug = 1 THEN
981: print_debug('Program INV_CONVERT.Within_deviation has failed ' || l_progress, 1);
982: END IF;
983: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
984: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.Within_deviation return');
985: fnd_msg_pub.ADD;
986: RAISE g_exc_unexpected_error;
987: END IF;

Line 984: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.Within_deviation return');

980: IF g_debug = 1 THEN
981: print_debug('Program INV_CONVERT.Within_deviation has failed ' || l_progress, 1);
982: END IF;
983: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
984: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.Within_deviation return');
985: fnd_msg_pub.ADD;
986: RAISE g_exc_unexpected_error;
987: END IF;
988:

Line 1026: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');

1022: IF l_lot_secondary_quantity = -99999 THEN
1023: IF g_debug = 1 THEN
1024: print_debug('INV_CONVERT.inv_um_convert has failed '|| l_progress, 1);
1025: END IF;
1026: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
1027: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
1028: fnd_msg_pub.ADD;
1029:
1030: RAISE g_exc_unexpected_error;

Line 1027: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');

1023: IF g_debug = 1 THEN
1024: print_debug('INV_CONVERT.inv_um_convert has failed '|| l_progress, 1);
1025: END IF;
1026: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
1027: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
1028: fnd_msg_pub.ADD;
1029:
1030: RAISE g_exc_unexpected_error;
1031: END IF;

Line 1186: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

1182: IF l_deviation_check = 0 THEN
1183: IF g_debug = 1 THEN
1184: print_debug('Program INV_CONVERT.Within_deviation has failed ' || l_progress, 9);
1185: END IF;
1186: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1187: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.Within_deviation return');
1188: fnd_msg_pub.ADD;
1189: RAISE g_exc_error;
1190: END IF;

Line 1187: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.Within_deviation return');

1183: IF g_debug = 1 THEN
1184: print_debug('Program INV_CONVERT.Within_deviation has failed ' || l_progress, 9);
1185: END IF;
1186: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1187: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.Within_deviation return');
1188: fnd_msg_pub.ADD;
1189: RAISE g_exc_error;
1190: END IF;
1191:

Line 1227: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');

1223: IF l_lot_secondary_quantity = -99999 THEN
1224: IF g_debug = 1 THEN
1225: print_debug('INV_CONVERT.inv_um_convert has failed'|| l_progress, 9);
1226: END IF;
1227: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
1228: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
1229: fnd_msg_pub.ADD;
1230: RAISE g_exc_unexpected_error;
1231: END IF;

Line 1228: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');

1224: IF g_debug = 1 THEN
1225: print_debug('INV_CONVERT.inv_um_convert has failed'|| l_progress, 9);
1226: END IF;
1227: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
1228: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
1229: fnd_msg_pub.ADD;
1230: RAISE g_exc_unexpected_error;
1231: END IF;
1232:

Line 1321: FND_MESSAGE.SET_NAME('INV','INV_INVALID_ITEM');

1317: -----print_stacked_messages;
1318: END IF;
1319:
1320: WHEN INVALID_ITEM THEN
1321: FND_MESSAGE.SET_NAME('INV','INV_INVALID_ITEM');
1322: FND_MSG_PUB.ADD;
1323: x_return_status := fnd_api.g_ret_sts_error;
1324: fnd_msg_pub.count_and_get(
1325: p_encoded => fnd_api.g_false ,

Line 1773: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

1769: IF l_return_status = fnd_api.g_ret_sts_error THEN
1770: IF g_debug = 1 THEN
1771: print_debug('Program inv_lot_api_pub.Create_Inv_lot has failed with a user defined exception : ' || l_progress, 9);
1772: END IF;
1773: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1774: FND_MESSAGE.SET_TOKEN('PGM_NAME','inv_lot_api_pub.Create_Inv_lot');
1775: fnd_msg_pub.ADD;
1776: RAISE g_exc_error;
1777:

Line 1774: FND_MESSAGE.SET_TOKEN('PGM_NAME','inv_lot_api_pub.Create_Inv_lot');

1770: IF g_debug = 1 THEN
1771: print_debug('Program inv_lot_api_pub.Create_Inv_lot has failed with a user defined exception : ' || l_progress, 9);
1772: END IF;
1773: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1774: FND_MESSAGE.SET_TOKEN('PGM_NAME','inv_lot_api_pub.Create_Inv_lot');
1775: fnd_msg_pub.ADD;
1776: RAISE g_exc_error;
1777:
1778: l_progress := '028' ;

Line 1783: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

1779: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
1780: IF g_debug = 1 THEN
1781: print_debug('Program inv_lot_api_pub.Create_Inv_lot has failed with a Unexpected exception :'|| l_progress, 9);
1782: END IF;
1783: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1784: FND_MESSAGE.SET_TOKEN('PGM_NAME','inv_lot_api_pub.Create_Inv_lot');
1785: fnd_msg_pub.ADD;
1786: RAISE g_exc_unexpected_error;
1787: END IF;

Line 1784: FND_MESSAGE.SET_TOKEN('PGM_NAME','inv_lot_api_pub.Create_Inv_lot');

1780: IF g_debug = 1 THEN
1781: print_debug('Program inv_lot_api_pub.Create_Inv_lot has failed with a Unexpected exception :'|| l_progress, 9);
1782: END IF;
1783: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1784: FND_MESSAGE.SET_TOKEN('PGM_NAME','inv_lot_api_pub.Create_Inv_lot');
1785: fnd_msg_pub.ADD;
1786: RAISE g_exc_unexpected_error;
1787: END IF;
1788:

Line 2094: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

2090: IF l_return_status = fnd_api.g_ret_sts_error THEN
2091: IF g_debug = 1 THEN
2092: print_debug('Program MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion has failed with a user defined exception:'||l_progress, 1);
2093: END IF;
2094: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
2095: FND_MESSAGE.SET_TOKEN('PGM_NAME','MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion');
2096: fnd_msg_pub.ADD;
2097: RAISE g_exc_error;
2098:

Line 2095: FND_MESSAGE.SET_TOKEN('PGM_NAME','MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion');

2091: IF g_debug = 1 THEN
2092: print_debug('Program MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion has failed with a user defined exception:'||l_progress, 1);
2093: END IF;
2094: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
2095: FND_MESSAGE.SET_TOKEN('PGM_NAME','MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion');
2096: fnd_msg_pub.ADD;
2097: RAISE g_exc_error;
2098:
2099: l_progress := '036';

Line 2105: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');

2101: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
2102: IF g_debug = 1 THEN
2103: print_debug('Program MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion has failed with a Unexpected exception :'|| l_progress, 9);
2104: END IF;
2105: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
2106: FND_MESSAGE.SET_TOKEN('PGM_NAME','MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion');
2107: fnd_msg_pub.ADD;
2108: RAISE g_exc_unexpected_error;
2109: END IF;

Line 2106: FND_MESSAGE.SET_TOKEN('PGM_NAME','MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion');

2102: IF g_debug = 1 THEN
2103: print_debug('Program MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion has failed with a Unexpected exception :'|| l_progress, 9);
2104: END IF;
2105: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
2106: FND_MESSAGE.SET_TOKEN('PGM_NAME','MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion');
2107: fnd_msg_pub.ADD;
2108: RAISE g_exc_unexpected_error;
2109: END IF;
2110:

Line 2379: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');

2375: IF l_rti_sourcedoc_quantity = -99999 THEN
2376: IF g_debug = 1 THEN
2377: print_debug('INV_CONVERT.inv_um_convert has failed in inv_synch_quantities:'|| l_progress, 1);
2378: END IF;
2379: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
2380: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
2381: fnd_msg_pub.ADD;
2382: RAISE g_exc_unexpected_error;
2383: END IF;

Line 2380: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');

2376: IF g_debug = 1 THEN
2377: print_debug('INV_CONVERT.inv_um_convert has failed in inv_synch_quantities:'|| l_progress, 1);
2378: END IF;
2379: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
2380: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
2381: fnd_msg_pub.ADD;
2382: RAISE g_exc_unexpected_error;
2383: END IF;
2384:

Line 2912: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');

2908:
2909: IF g_debug = 1 THEN
2910: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'||l_progress, 1);
2911: END IF;
2912: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
2913: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
2914: fnd_msg_pub.ADD;
2915: RAISE g_exc_unexpected_error;
2916: END IF;

Line 2913: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');

2909: IF g_debug = 1 THEN
2910: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'||l_progress, 1);
2911: END IF;
2912: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
2913: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
2914: fnd_msg_pub.ADD;
2915: RAISE g_exc_unexpected_error;
2916: END IF;
2917:

Line 2958: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');

2954:
2955: IF g_debug = 1 THEN
2956: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'||l_progress, 9);
2957: END IF;
2958: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
2959: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
2960: fnd_msg_pub.ADD;
2961: RAISE g_exc_unexpected_error;
2962: END IF;

Line 2959: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');

2955: IF g_debug = 1 THEN
2956: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'||l_progress, 9);
2957: END IF;
2958: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
2959: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
2960: fnd_msg_pub.ADD;
2961: RAISE g_exc_unexpected_error;
2962: END IF;
2963:

Line 3009: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');

3005:
3006: IF g_debug = 1 THEN
3007: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'|| l_progress, 1);
3008: END IF;
3009: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
3010: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3011: fnd_msg_pub.ADD;
3012: RAISE g_exc_unexpected_error;
3013: END IF;

Line 3010: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');

3006: IF g_debug = 1 THEN
3007: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'|| l_progress, 1);
3008: END IF;
3009: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
3010: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3011: fnd_msg_pub.ADD;
3012: RAISE g_exc_unexpected_error;
3013: END IF;
3014:

Line 3031: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');

3027: ---log error in error stack that quantity validation has failed.
3028: IF g_debug = 1 THEN
3029: print_debug(' RMA Quantity validation has failed ' || l_progress, 1);
3030: END IF;
3031: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');
3032: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3033: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);
3034: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );
3035: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );

Line 3032: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');

3028: IF g_debug = 1 THEN
3029: print_debug(' RMA Quantity validation has failed ' || l_progress, 1);
3030: END IF;
3031: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');
3032: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3033: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);
3034: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );
3035: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );
3036: fnd_msg_pub.ADD;

Line 3033: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);

3029: print_debug(' RMA Quantity validation has failed ' || l_progress, 1);
3030: END IF;
3031: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');
3032: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3033: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);
3034: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );
3035: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );
3036: fnd_msg_pub.ADD;
3037: RAISE g_exc_error;

Line 3034: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );

3030: END IF;
3031: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');
3032: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3033: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);
3034: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );
3035: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );
3036: fnd_msg_pub.ADD;
3037: RAISE g_exc_error;
3038:

Line 3035: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );

3031: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');
3032: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3033: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);
3034: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );
3035: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );
3036: fnd_msg_pub.ADD;
3037: RAISE g_exc_error;
3038:
3039: ELSE ---------IF l_trx_quantity > (l_rma_quantity - nvl(l_lot_recv_qty,0)) THEN

Line 3196: fnd_message.set_name('INV', 'INV_INVALID_ITEM');

3192:
3193: x_lot_cont := FALSE ;
3194: x_child_lot_cont := FALSE ;
3195: x_return_status := fnd_api.g_ret_sts_error;
3196: fnd_message.set_name('INV', 'INV_INVALID_ITEM');
3197: fnd_msg_pub.ADD;
3198: RAISE fnd_api.g_exc_error;
3199:
3200: ELSE