DBA Data[Home] [Help]

APPS.INV_ROI_INTEGRATION_GRP dependencies on FND_MESSAGE

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

410: IF l_rma_quantity = 0 THEN
411: IF g_debug = 1 THEN
412: print_debug('RMA lot does not match with user lot so error out' || l_progress, 4);
413: END IF;
414: FND_MESSAGE.SET_NAME('PO','PO_RMA_LOT_MISMATCH');
415: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_lot');
416: fnd_msg_pub.ADD;
417: RAISE g_exc_error;
418: END IF;--------IF l_rma_quantity = 0 THEN

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

411: IF g_debug = 1 THEN
412: print_debug('RMA lot does not match with user lot so error out' || l_progress, 4);
413: END IF;
414: FND_MESSAGE.SET_NAME('PO','PO_RMA_LOT_MISMATCH');
415: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_lot');
416: fnd_msg_pub.ADD;
417: RAISE g_exc_error;
418: END IF;--------IF l_rma_quantity = 0 THEN
419: ELSE ------ IF p_oe_order_line_id IS NOT NULL THEN

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

472: IF g_debug = 1 THEN
473: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed
474: as user quantity is greater than the available RMA quantity ' || l_progress, 1);
475: END IF;
476: FND_MESSAGE.SET_NAME('INV','INV_RMA_QUANTITY_VAL_FAILED');
477: FND_MESSAGE.SET_TOKEN('x_allowed_quantity',l_allowed_quantity );
478: FND_MESSAGE.SET_TOKEN('p_lot_number',p_lot_number );
479: fnd_msg_pub.ADD;
480: RAISE g_exc_error;

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

473: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed
474: as user quantity is greater than the available RMA quantity ' || l_progress, 1);
475: END IF;
476: FND_MESSAGE.SET_NAME('INV','INV_RMA_QUANTITY_VAL_FAILED');
477: FND_MESSAGE.SET_TOKEN('x_allowed_quantity',l_allowed_quantity );
478: FND_MESSAGE.SET_TOKEN('p_lot_number',p_lot_number );
479: fnd_msg_pub.ADD;
480: RAISE g_exc_error;
481: END IF;

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

474: as user quantity is greater than the available RMA quantity ' || l_progress, 1);
475: END IF;
476: FND_MESSAGE.SET_NAME('INV','INV_RMA_QUANTITY_VAL_FAILED');
477: FND_MESSAGE.SET_TOKEN('x_allowed_quantity',l_allowed_quantity );
478: FND_MESSAGE.SET_TOKEN('p_lot_number',p_lot_number );
479: fnd_msg_pub.ADD;
480: RAISE g_exc_error;
481: END IF;
482:

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

485: IF l_return_status = fnd_api.g_ret_sts_error THEN
486: IF g_debug = 1 THEN
487: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed with a user defined exception '|| l_progress, 1);
488: END IF;
489: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
490: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity');
491: fnd_msg_pub.ADD;
492: RAISE g_exc_error;
493:

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

486: IF g_debug = 1 THEN
487: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed with a user defined exception '|| l_progress, 1);
488: END IF;
489: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
490: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity');
491: fnd_msg_pub.ADD;
492: RAISE g_exc_error;
493:
494: l_progress := '008' ;

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

496: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
497: IF g_debug = 1 THEN
498: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed with a Unexpected exception ' || l_progress , 1);
499: END IF;
500: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
501: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity');
502: fnd_msg_pub.ADD;
503: RAISE g_exc_unexpected_error;
504: END IF;

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

497: IF g_debug = 1 THEN
498: print_debug('Program INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity has failed with a Unexpected exception ' || l_progress , 1);
499: END IF;
500: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
501: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.Inv_Validate_rma_quantity');
502: fnd_msg_pub.ADD;
503: RAISE g_exc_unexpected_error;
504: END IF;
505:

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

561: IF l_return_status = fnd_api.g_ret_sts_error THEN
562: IF g_debug = 1 THEN
563: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with error', 9);
564: END IF;
565: FND_MESSAGE.SET_NAME('INV', 'INV_PROGRAM_ERROR') ;
566: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
567: FND_MSG_PUB.ADD;
568: RAISE g_exc_error;
569: END IF;

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

562: IF g_debug = 1 THEN
563: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with error', 9);
564: END IF;
565: FND_MESSAGE.SET_NAME('INV', 'INV_PROGRAM_ERROR') ;
566: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
567: FND_MSG_PUB.ADD;
568: RAISE g_exc_error;
569: END IF;
570:

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

571: IF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
572: IF g_debug = 1 THEN
573: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with a Unexpected exception', 9);
574: END IF;
575: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
576: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
577: fnd_msg_pub.ADD;
578: RAISE g_exc_unexpected_error;
579: END IF;

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

572: IF g_debug = 1 THEN
573: print_debug('Program Inv_lot_api_pkg.Check_Item_Attributes has failed with a Unexpected exception', 9);
574: END IF;
575: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
576: FND_MESSAGE.SET_TOKEN('PGM_NAME','Inv_lot_api_pkg.Check_Item_Attributes');
577: fnd_msg_pub.ADD;
578: RAISE g_exc_unexpected_error;
579: END IF;
580:

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

581: IF (l_lot_cont = FALSE) THEN
582: IF g_debug = 1 THEN
583: print_debug(' Item is not lot controlled ', 9);
584: END IF;
585: fnd_message.set_name('INV', 'INV_NO_LOT_CONTROL');
586: fnd_msg_pub.ADD;
587: x_return_status := fnd_api.g_ret_sts_error;
588: RAISE g_exc_error;
589: END IF ;

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

591: IF (l_child_lot_cont = FALSE AND p_parent_lot_number IS NOT NULL) THEN
592: IF g_debug = 1 THEN
593: print_debug(' Item is not Child lot controlled ', 9);
594: END IF;
595: fnd_message.set_name('INV', 'INV_ITEM_CLOT_DISABLE_EXP');
596: fnd_msg_pub.ADD;
597: x_return_status := fnd_api.g_ret_sts_error;
598: RAISE g_exc_error;
599: END IF ;

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

854: IF g_debug = 1 THEN
855: print_debug('INV_CONVERT.inv_um_convert has failed '|| l_progress, 1);
856: END IF;
857:
858: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
859: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
860: fnd_msg_pub.ADD;
861:
862: RAISE g_exc_unexpected_error;

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

855: print_debug('INV_CONVERT.inv_um_convert has failed '|| l_progress, 1);
856: END IF;
857:
858: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
859: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
860: fnd_msg_pub.ADD;
861:
862: RAISE g_exc_unexpected_error;
863: END IF;

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

891: IF g_debug = 1 THEN
892: print_debug('Program INV_LOT_API_PUB.validate_lot_indivisible has failed with a user defined exception '|| l_progress, 9);
893: END IF;
894:
895: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
896: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_LOT_API_PUB.validate_lot_indivisible');
897: fnd_msg_pub.ADD;
898: RAISE g_exc_error;
899:

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

892: print_debug('Program INV_LOT_API_PUB.validate_lot_indivisible has failed with a user defined exception '|| l_progress, 9);
893: END IF;
894:
895: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
896: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_LOT_API_PUB.validate_lot_indivisible');
897: fnd_msg_pub.ADD;
898: RAISE g_exc_error;
899:
900: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN

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

902: IF g_debug = 1 THEN
903: print_debug('Program INV_LOT_API_PUB.validate_lot_indivisible has failed with a Unexpected exception' || l_progress, 9);
904: END IF;
905:
906: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
907: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_LOT_API_PUB.validate_lot_indivisible');
908: fnd_msg_pub.ADD;
909: RAISE g_exc_unexpected_error;
910: END IF;------------IF l_return_status = fnd_api.g_ret_sts_error THEN

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

903: print_debug('Program INV_LOT_API_PUB.validate_lot_indivisible has failed with a Unexpected exception' || l_progress, 9);
904: END IF;
905:
906: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
907: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_LOT_API_PUB.validate_lot_indivisible');
908: fnd_msg_pub.ADD;
909: RAISE g_exc_unexpected_error;
910: END IF;------------IF l_return_status = fnd_api.g_ret_sts_error THEN
911:

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

1017: IF l_deviation_check = 0 THEN
1018: IF g_debug = 1 THEN
1019: print_debug('Program INV_CONVERT.Within_deviation has failed ' || l_progress, 1);
1020: END IF;
1021: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1022: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.Within_deviation return');
1023: fnd_msg_pub.ADD;
1024: RAISE g_exc_unexpected_error;
1025: END IF;

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

1018: IF g_debug = 1 THEN
1019: print_debug('Program INV_CONVERT.Within_deviation has failed ' || l_progress, 1);
1020: END IF;
1021: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1022: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.Within_deviation return');
1023: fnd_msg_pub.ADD;
1024: RAISE g_exc_unexpected_error;
1025: END IF;
1026:

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

1060: IF l_lot_secondary_quantity = -99999 THEN
1061: IF g_debug = 1 THEN
1062: print_debug('INV_CONVERT.inv_um_convert has failed '|| l_progress, 1);
1063: END IF;
1064: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
1065: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
1066: fnd_msg_pub.ADD;
1067:
1068: RAISE g_exc_unexpected_error;

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

1061: IF g_debug = 1 THEN
1062: print_debug('INV_CONVERT.inv_um_convert has failed '|| l_progress, 1);
1063: END IF;
1064: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
1065: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
1066: fnd_msg_pub.ADD;
1067:
1068: RAISE g_exc_unexpected_error;
1069: END IF;

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

1219: IF l_deviation_check = 0 THEN
1220: IF g_debug = 1 THEN
1221: print_debug('Program INV_CONVERT.Within_deviation has failed ' || l_progress, 9);
1222: END IF;
1223: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1224: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.Within_deviation return');
1225: fnd_msg_pub.ADD;
1226: RAISE g_exc_error;
1227: END IF;

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

1220: IF g_debug = 1 THEN
1221: print_debug('Program INV_CONVERT.Within_deviation has failed ' || l_progress, 9);
1222: END IF;
1223: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1224: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.Within_deviation return');
1225: fnd_msg_pub.ADD;
1226: RAISE g_exc_error;
1227: END IF;
1228:

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

1260: IF l_lot_secondary_quantity = -99999 THEN
1261: IF g_debug = 1 THEN
1262: print_debug('INV_CONVERT.inv_um_convert has failed'|| l_progress, 9);
1263: END IF;
1264: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
1265: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
1266: fnd_msg_pub.ADD;
1267: RAISE g_exc_unexpected_error;
1268: END IF;

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

1261: IF g_debug = 1 THEN
1262: print_debug('INV_CONVERT.inv_um_convert has failed'|| l_progress, 9);
1263: END IF;
1264: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
1265: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
1266: fnd_msg_pub.ADD;
1267: RAISE g_exc_unexpected_error;
1268: END IF;
1269:

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

1354: -----print_stacked_messages;
1355: END IF;
1356:
1357: WHEN INVALID_ITEM THEN
1358: FND_MESSAGE.SET_NAME('INV','INV_INVALID_ITEM');
1359: FND_MSG_PUB.ADD;
1360: x_return_status := fnd_api.g_ret_sts_error;
1361: fnd_msg_pub.count_and_get(
1362: p_encoded => fnd_api.g_false ,

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

1871: IF l_return_status = fnd_api.g_ret_sts_error THEN
1872: IF g_debug = 1 THEN
1873: print_debug('Program inv_lot_api_pub.Create_Inv_lot has failed with a user defined exception : ' || l_progress, 9);
1874: END IF;
1875: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1876: FND_MESSAGE.SET_TOKEN('PGM_NAME','inv_lot_api_pub.Create_Inv_lot');
1877: fnd_msg_pub.ADD;
1878: RAISE g_exc_error;
1879:

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

1872: IF g_debug = 1 THEN
1873: print_debug('Program inv_lot_api_pub.Create_Inv_lot has failed with a user defined exception : ' || l_progress, 9);
1874: END IF;
1875: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1876: FND_MESSAGE.SET_TOKEN('PGM_NAME','inv_lot_api_pub.Create_Inv_lot');
1877: fnd_msg_pub.ADD;
1878: RAISE g_exc_error;
1879:
1880: l_progress := '028' ;

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

1881: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
1882: IF g_debug = 1 THEN
1883: print_debug('Program inv_lot_api_pub.Create_Inv_lot has failed with a Unexpected exception :'|| l_progress, 9);
1884: END IF;
1885: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1886: FND_MESSAGE.SET_TOKEN('PGM_NAME','inv_lot_api_pub.Create_Inv_lot');
1887: fnd_msg_pub.ADD;
1888: RAISE g_exc_unexpected_error;
1889: END IF;

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

1882: IF g_debug = 1 THEN
1883: print_debug('Program inv_lot_api_pub.Create_Inv_lot has failed with a Unexpected exception :'|| l_progress, 9);
1884: END IF;
1885: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
1886: FND_MESSAGE.SET_TOKEN('PGM_NAME','inv_lot_api_pub.Create_Inv_lot');
1887: fnd_msg_pub.ADD;
1888: RAISE g_exc_unexpected_error;
1889: END IF;
1890:

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

2195: IF l_return_status = fnd_api.g_ret_sts_error THEN
2196: IF g_debug = 1 THEN
2197: print_debug('Program MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion has failed with a user defined exception:'||l_progress, 1);
2198: END IF;
2199: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
2200: FND_MESSAGE.SET_TOKEN('PGM_NAME','MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion');
2201: fnd_msg_pub.ADD;
2202: RAISE g_exc_error;
2203:

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

2196: IF g_debug = 1 THEN
2197: print_debug('Program MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion has failed with a user defined exception:'||l_progress, 1);
2198: END IF;
2199: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
2200: FND_MESSAGE.SET_TOKEN('PGM_NAME','MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion');
2201: fnd_msg_pub.ADD;
2202: RAISE g_exc_error;
2203:
2204: l_progress := '036';

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

2206: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
2207: IF g_debug = 1 THEN
2208: print_debug('Program MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion has failed with a Unexpected exception :'|| l_progress, 9);
2209: END IF;
2210: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
2211: FND_MESSAGE.SET_TOKEN('PGM_NAME','MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion');
2212: fnd_msg_pub.ADD;
2213: RAISE g_exc_unexpected_error;
2214: END IF;

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

2207: IF g_debug = 1 THEN
2208: print_debug('Program MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion has failed with a Unexpected exception :'|| l_progress, 9);
2209: END IF;
2210: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
2211: FND_MESSAGE.SET_TOKEN('PGM_NAME','MTL_LOT_UOM_CONV_PUB.create_lot_uom_conversion');
2212: fnd_msg_pub.ADD;
2213: RAISE g_exc_unexpected_error;
2214: END IF;
2215:

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

2480: IF l_rti_sourcedoc_quantity = -99999 THEN
2481: IF g_debug = 1 THEN
2482: print_debug('INV_CONVERT.inv_um_convert has failed in inv_synch_quantities:'|| l_progress, 1);
2483: END IF;
2484: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
2485: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
2486: fnd_msg_pub.ADD;
2487: RAISE g_exc_unexpected_error;
2488: END IF;

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

2481: IF g_debug = 1 THEN
2482: print_debug('INV_CONVERT.inv_um_convert has failed in inv_synch_quantities:'|| l_progress, 1);
2483: END IF;
2484: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
2485: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
2486: fnd_msg_pub.ADD;
2487: RAISE g_exc_unexpected_error;
2488: END IF;
2489:

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

3017:
3018: IF g_debug = 1 THEN
3019: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'||l_progress, 1);
3020: END IF;
3021: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
3022: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
3023: fnd_msg_pub.ADD;
3024: RAISE g_exc_unexpected_error;
3025: END IF;

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

3018: IF g_debug = 1 THEN
3019: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'||l_progress, 1);
3020: END IF;
3021: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
3022: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
3023: fnd_msg_pub.ADD;
3024: RAISE g_exc_unexpected_error;
3025: END IF;
3026:

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

3063:
3064: IF g_debug = 1 THEN
3065: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'||l_progress, 9);
3066: END IF;
3067: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
3068: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
3069: fnd_msg_pub.ADD;
3070: RAISE g_exc_unexpected_error;
3071: END IF;

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

3064: IF g_debug = 1 THEN
3065: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'||l_progress, 9);
3066: END IF;
3067: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
3068: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_CONVERT.inv_um_convert');
3069: fnd_msg_pub.ADD;
3070: RAISE g_exc_unexpected_error;
3071: END IF;
3072:

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

3114:
3115: IF g_debug = 1 THEN
3116: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'|| l_progress, 1);
3117: END IF;
3118: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
3119: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3120: fnd_msg_pub.ADD;
3121: RAISE g_exc_unexpected_error;
3122: END IF;

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

3115: IF g_debug = 1 THEN
3116: print_debug('Inv_Validate_rma_quantity::INV_CONVERT.inv_um_convert has failed:'|| l_progress, 1);
3117: END IF;
3118: FND_MESSAGE.SET_NAME('INV','INV_NO_CONVERSION_ERR');
3119: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3120: fnd_msg_pub.ADD;
3121: RAISE g_exc_unexpected_error;
3122: END IF;
3123:

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

3136: ---log error in error stack that quantity validation has failed.
3137: IF g_debug = 1 THEN
3138: print_debug(' RMA Quantity validation has failed ' || l_progress, 1);
3139: END IF;
3140: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');
3141: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3142: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);
3143: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );
3144: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );

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

3137: IF g_debug = 1 THEN
3138: print_debug(' RMA Quantity validation has failed ' || l_progress, 1);
3139: END IF;
3140: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');
3141: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3142: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);
3143: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );
3144: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );
3145: fnd_msg_pub.ADD;

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

3138: print_debug(' RMA Quantity validation has failed ' || l_progress, 1);
3139: END IF;
3140: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');
3141: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3142: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);
3143: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );
3144: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );
3145: fnd_msg_pub.ADD;
3146: RAISE g_exc_error;

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

3139: END IF;
3140: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');
3141: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3142: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);
3143: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );
3144: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );
3145: fnd_msg_pub.ADD;
3146: RAISE g_exc_error;
3147:

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

3140: FND_MESSAGE.SET_NAME('PO','PO_RMA_QUANTITY_VAL_FAILED');
3141: FND_MESSAGE.SET_TOKEN('PGM_NAME','INV_ROI_INTEGRATION_GRP.INV_VALIDATE_RMA_QUANTITY');
3142: FND_MESSAGE.SET_TOKEN('TRX_QUANTITY',l_trx_quantity);
3143: FND_MESSAGE.SET_TOKEN('allowed_quantity',x_allowed_quantity );
3144: FND_MESSAGE.SET_TOKEN('lot_number',p_lot_number );
3145: fnd_msg_pub.ADD;
3146: RAISE g_exc_error;
3147:
3148: ELSE ---------IF l_trx_quantity > (l_rma_quantity - nvl(l_lot_recv_qty,0)) THEN

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

3301:
3302: x_lot_cont := FALSE ;
3303: x_child_lot_cont := FALSE ;
3304: x_return_status := fnd_api.g_ret_sts_error;
3305: fnd_message.set_name('INV', 'INV_INVALID_ITEM');
3306: fnd_msg_pub.ADD;
3307: RAISE fnd_api.g_exc_error;
3308:
3309: ELSE