DBA Data[Home] [Help]

APPS.WMS_ATF_RUNTIME_PUB_APIS dependencies on FND_MESSAGE

Line 986: -- fnd_message.set_name('WMS', 'WMS_ATF_LOC_DETERM_FAILED');

982: IF l_return_status <> g_ret_sts_success THEN
983: IF (l_debug = 1) THEN
984: print_debug('wms_atf_dest_locator.get_dest_locator failed: l_return_status = '|| l_return_status, l_module_name, 1);
985: END IF;
986: -- fnd_message.set_name('WMS', 'WMS_ATF_LOC_DETERM_FAILED');
987: -- fnd_msg_pub.ADD;
988:
989: SELECT wopv.operation_plan_name
990: INTO l_operation_plan_name

Line 996: fnd_message.set_name('WMS', 'DERIVE_DEST_SUGGESTIONS_FAILED');

992: mtl_material_transactions_temp mmtt
993: WHERE mmtt.transaction_temp_id = p_source_task_id
994: AND mmtt.operation_plan_id = wopv.operation_plan_id;
995:
996: fnd_message.set_name('WMS', 'DERIVE_DEST_SUGGESTIONS_FAILED');
997: fnd_message.set_token('OPERATION_PLAN_NAME', l_operation_plan_name);
998: fnd_msg_pub.ADD;
999:
1000: RAISE FND_API.G_EXC_ERROR;

Line 997: fnd_message.set_token('OPERATION_PLAN_NAME', l_operation_plan_name);

993: WHERE mmtt.transaction_temp_id = p_source_task_id
994: AND mmtt.operation_plan_id = wopv.operation_plan_id;
995:
996: fnd_message.set_name('WMS', 'DERIVE_DEST_SUGGESTIONS_FAILED');
997: fnd_message.set_token('OPERATION_PLAN_NAME', l_operation_plan_name);
998: fnd_msg_pub.ADD;
999:
1000: RAISE FND_API.G_EXC_ERROR;
1001:

Line 1009: -- fnd_message.set_name('WMS', 'WMS_ATF_LOC_DETERM_FAILED');

1005:
1006: IF (l_debug = 1) THEN
1007: print_debug('wms_atf_dest_locator.get_dest_locator returns NULL locator. ', l_module_name, 1);
1008: END IF;
1009: -- fnd_message.set_name('WMS', 'WMS_ATF_LOC_DETERM_FAILED');
1010: -- fnd_msg_pub.ADD;
1011:
1012: SELECT wopv.operation_plan_name
1013: INTO l_operation_plan_name

Line 1019: fnd_message.set_name('WMS', 'DERIVE_DEST_SUGGESTIONS_FAILED');

1015: mtl_material_transactions_temp mmtt
1016: WHERE mmtt.transaction_temp_id = p_source_task_id
1017: AND mmtt.operation_plan_id = wopv.operation_plan_id;
1018:
1019: fnd_message.set_name('WMS', 'DERIVE_DEST_SUGGESTIONS_FAILED');
1020: fnd_message.set_token('OPERATION_PLAN_NAME', l_operation_plan_name);
1021: fnd_msg_pub.ADD;
1022:
1023: RAISE FND_API.G_EXC_ERROR;

Line 1020: fnd_message.set_token('OPERATION_PLAN_NAME', l_operation_plan_name);

1016: WHERE mmtt.transaction_temp_id = p_source_task_id
1017: AND mmtt.operation_plan_id = wopv.operation_plan_id;
1018:
1019: fnd_message.set_name('WMS', 'DERIVE_DEST_SUGGESTIONS_FAILED');
1020: fnd_message.set_token('OPERATION_PLAN_NAME', l_operation_plan_name);
1021: fnd_msg_pub.ADD;
1022:
1023: RAISE FND_API.G_EXC_ERROR;
1024:

Line 1350: fnd_message.set_name('WMS','WMS_ATF_ITEM_SUBLOC_FAIL');

1346: IF l_debug = 1 THEN
1347: print_debug('Suggested Sub does not satisfy Item Sub relationship',l_module_name,9);
1348: END IF;
1349:
1350: fnd_message.set_name('WMS','WMS_ATF_ITEM_SUBLOC_FAIL');
1351: fnd_msg_pub.ADD;
1352:
1353: CLOSE c_item_sub;
1354:

Line 1380: fnd_message.set_name('WMS','WMS_ATF_ITEM_SUBLOC_FAIL');

1376: IF l_debug=1 THEN
1377: print_debug('The suggested locator fails the Items locator validatation',l_module_name,9);
1378: END IF;
1379:
1380: fnd_message.set_name('WMS','WMS_ATF_ITEM_SUBLOC_FAIL');
1381: fnd_msg_pub.ADD;
1382:
1383: RAISE fnd_api.g_exc_error;
1384:

Line 2771: fnd_message.set_name('WMS', 'WMS_ATF_NO_ACTIVE_PLAN');

2767: IF c_wooi_data_rec%notfound THEN
2768: IF (l_debug = 1) THEN
2769: print_debug('Operation instance record does not exist for this task.',l_module_name,4);
2770: END IF;
2771: fnd_message.set_name('WMS', 'WMS_ATF_NO_ACTIVE_PLAN');
2772: fnd_msg_pub.ADD;
2773: RAISE FND_API.G_EXC_ERROR;
2774: END IF;
2775:

Line 2841: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');

2837: IF l_wdt_status NOT IN (g_task_status_loaded, g_task_status_dispatched) THEN
2838: IF (l_debug=1) THEN
2839: print_debug('Invalid WDT status.' ,l_module_name,4);
2840: END IF;
2841: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');
2842: fnd_msg_pub.ADD;
2843: RAISE FND_API.G_EXC_ERROR;
2844: END IF; -- IF l_wdt_status NOT IN (g_task_status_loaded, g_task_status_dispatched)
2845:

Line 2911: fnd_message.set_name('WMS', 'WMS_ATF_ARCHIVE_TASK_FAILURE');

2907: IF l_return_status <>FND_API.g_ret_sts_success THEN
2908: IF (l_debug=1) THEN
2909: print_debug('wms_op_runtime_pvt_apis.archive_dispatched_tasks finished with error. l_return_status = ' || l_return_status,l_module_name,4);
2910: END IF;
2911: fnd_message.set_name('WMS', 'WMS_ATF_ARCHIVE_TASK_FAILURE');
2912: fnd_msg_pub.ADD;
2913: RAISE FND_API.G_EXC_ERROR;
2914: END IF;
2915:

Line 2945: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');

2941:
2942: IF (l_debug=1) THEN
2943: print_debug('Current operation ('|| p_operation_type_id ||') is not compatible with WDT status of dispatched.' ,l_module_name,4);
2944: END IF;
2945: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');
2946: fnd_msg_pub.ADD;
2947: RAISE FND_API.G_EXC_ERROR;
2948:
2949: END IF; -- IF p_operation_type_id = g_op_type_inspect

Line 3000: fnd_message.set_name('WMS', 'WMS_ATF_ARCHIVE_TASK_FAILURE');

2996: IF l_return_status <>FND_API.g_ret_sts_success THEN
2997: IF (l_debug=1) THEN
2998: print_debug('Drop - wms_op_runtime_pvt_apis.archive_dispatched_tasks finished with error. l_return_status = ' || l_return_status,l_module_name,4);
2999: END IF;
3000: fnd_message.set_name('WMS', 'WMS_ATF_ARCHIVE_TASK_FAILURE');
3001: fnd_msg_pub.ADD;
3002: RAISE FND_API.G_EXC_ERROR;
3003: END IF;
3004:

Line 3010: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');

3006:
3007: IF (l_debug=1) THEN
3008: print_debug('Invalid WDT status.' ,l_module_name,4);
3009: END IF;
3010: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');
3011: fnd_msg_pub.ADD;
3012: RAISE FND_API.G_EXC_ERROR;
3013:
3014:

Line 3084: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');

3080: IF (l_debug = 1) THEN
3081: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3082: END IF;
3083:
3084: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3085: fnd_msg_pub.ADD;
3086: RAISE fnd_api.g_exc_unexpected_error;
3087: ELSIF l_return_status = fnd_api.g_ret_sts_error THEN
3088: IF (l_debug = 1) THEN

Line 3092: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');

3088: IF (l_debug = 1) THEN
3089: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3090: END IF;
3091:
3092: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3093: fnd_msg_pub.ADD;
3094: RAISE fnd_api.g_exc_error;
3095: END IF;
3096: --bug 6924639

Line 3128: fnd_message.set_name('WMS', 'WMS_ATF_OPERATION_MISMATCH');

3124: IF l_operation_type_id <> l_wooi_data_rec.operation_type_id THEN
3125: IF (l_debug = 1) THEN
3126: print_debug('Operation type on operation instance : '||l_wooi_data_rec.operation_type_id||' does not match that passed in by user : '||l_operation_type_id, l_module_name,4);
3127: END IF;
3128: fnd_message.set_name('WMS', 'WMS_ATF_OPERATION_MISMATCH');
3129: fnd_msg_pub.ADD;
3130: RAISE FND_API.G_EXC_ERROR;
3131: END IF;
3132:

Line 3310: fnd_message.set_name('WMS', 'WMS_ATF_LOC_DET_NOT_DEFINED');

3306:
3307: IF (l_debug=1) THEN
3308: print_debug('Invalid locator determination method.',l_module_name,4);
3309: END IF;
3310: fnd_message.set_name('WMS', 'WMS_ATF_LOC_DET_NOT_DEFINED');
3311: fnd_msg_pub.ADD;
3312: RAISE FND_API.G_EXC_ERROR;
3313:
3314: END IF; -- IF NVL(l_loc_sel_criteria_id, 0) = wms_globals.G_OP_DEST_PRE_SPECIFIED

Line 3398: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');

3394: IF (l_debug = 1) THEN
3395: print_debug('Unforgivable Error - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3396: END IF;
3397:
3398: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3399: fnd_msg_pub.ADD;
3400: RAISE fnd_api.g_exc_unexpected_error;
3401: ELSIF l_return_status = fnd_api.g_ret_sts_error THEN
3402: IF (l_debug = 1) THEN

Line 3406: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');

3402: IF (l_debug = 1) THEN
3403: print_debug('Unforgivable Error - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3404: END IF;
3405:
3406: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3407: fnd_msg_pub.ADD;
3408: RAISE fnd_api.g_exc_error;
3409: END IF;
3410: --bug 6924639

Line 3550: fnd_message.set_name('WMS', 'WMS_ATF_ARCHIVE_TASK_FAILURE');

3546: IF l_return_status <>FND_API.g_ret_sts_success THEN
3547: IF (l_debug=1) THEN
3548: print_debug('Last operation: archive parent MMTT - wms_op_runtime_pvt_apis.archive_dispatched_tasks finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3549: END IF;
3550: fnd_message.set_name('WMS', 'WMS_ATF_ARCHIVE_TASK_FAILURE');
3551: fnd_msg_pub.ADD;
3552: RAISE FND_API.G_EXC_ERROR;
3553: END IF;
3554:

Line 3641: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');

3637: IF (l_debug = 1) THEN
3638: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3639: END IF;
3640:
3641: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3642: fnd_msg_pub.ADD;
3643: RAISE fnd_api.g_exc_unexpected_error;
3644: ELSIF l_return_status = fnd_api.g_ret_sts_error THEN
3645: IF (l_debug = 1) THEN

Line 3649: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');

3645: IF (l_debug = 1) THEN
3646: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3647: END IF;
3648:
3649: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3650: fnd_msg_pub.ADD;
3651: RAISE fnd_api.g_exc_error;
3652: END IF;
3653: --bug 6924639

Line 3680: fnd_message.set_name('WMS', 'WMS_ATF_NO_NEXT_OPERATION');

3676: IF (l_debug=1) THEN
3677: print_debug('Current operation does not have a next operation.' ,l_module_name,4);
3678: END IF;
3679:
3680: fnd_message.set_name('WMS', 'WMS_ATF_NO_NEXT_OPERATION');
3681: fnd_msg_pub.ADD;
3682:
3683: RAISE FND_API.G_EXC_ERROR;
3684:

Line 3786: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');

3782: IF (l_debug = 1) THEN
3783: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3784: END IF;
3785:
3786: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3787: fnd_msg_pub.ADD;
3788: RAISE fnd_api.g_exc_unexpected_error;
3789: ELSIF l_return_status = fnd_api.g_ret_sts_error THEN
3790: IF (l_debug = 1) THEN

Line 3794: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');

3790: IF (l_debug = 1) THEN
3791: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3792: END IF;
3793:
3794: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3795: fnd_msg_pub.ADD;
3796: RAISE fnd_api.g_exc_error;
3797: END IF;
3798:

Line 3853: fnd_message.set_name('WMS', 'WMS_ATF_COMPLETE_OP_FAILURE');

3849: IF (l_debug=1) THEN
3850: print_debug('Error (fnd_api.g_exc_error) occured at'||l_progress,l_module_name,1);
3851: END IF;
3852: x_return_status:=FND_API.G_RET_STS_ERROR;
3853: fnd_message.set_name('WMS', 'WMS_ATF_COMPLETE_OP_FAILURE');
3854: fnd_msg_pub.ADD;
3855: -- fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3856: ROLLBACK TO sp_complete_oprtn_instance;
3857:

Line 3890: fnd_message.set_name('WMS', 'WMS_ATF_COMPLETE_OP_FAILURE');

3886: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3887: fnd_msg_pub.add_exc_msg(g_pkg_name, l_module_name);
3888: END IF;
3889: -- fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3890: fnd_message.set_name('WMS', 'WMS_ATF_COMPLETE_OP_FAILURE');
3891: fnd_msg_pub.ADD;
3892:
3893: IF (SQLCODE<-20000) THEN
3894: IF (l_debug=1) THEN

Line 3938: fnd_message.set_name('WMS', 'WMS_ATF_COMPLETE_OP_FAILURE');

3934: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3935: fnd_msg_pub.add_exc_msg(g_pkg_name, l_module_name);
3936: END IF;
3937: -- fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3938: fnd_message.set_name('WMS', 'WMS_ATF_COMPLETE_OP_FAILURE');
3939: fnd_msg_pub.ADD;
3940:
3941: ROLLBACK TO sp_complete_oprtn_instance;
3942:

Line 6551: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');

6547: IF l_wdt_status NOT IN (g_task_status_loaded, g_task_status_dispatched) THEN
6548: IF (l_debug=1) THEN
6549: print_debug('Invalid WDT status.' ,l_module_name,4);
6550: END IF;
6551: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');
6552: fnd_msg_pub.ADD;
6553: RAISE FND_API.G_EXC_ERROR;
6554: END IF; -- IF l_wdt_status NOT IN (g_task_status_loaded, g_task_status_dispatched)
6555:

Line 6673: fnd_message.set_name('WMS', 'WMS_ATF_NO_ACTIVE_PLAN');

6669: IF c_wooi_data_rec%notfound THEN
6670: IF (l_debug = 1) THEN
6671: print_debug('Active operation instance record does not exist for this task.',l_module_name,4);
6672: END IF;
6673: fnd_message.set_name('WMS', 'WMS_ATF_NO_ACTIVE_PLAN');
6674: fnd_msg_pub.ADD;
6675: RAISE FND_API.G_EXC_ERROR;
6676: END IF;
6677:

Line 6864: fnd_message.set_name('WMS', 'WMS_ATF_CLEANUP_FAILURE');

6860:
6861: IF c_wooi_data_rec%isopen THEN
6862: CLOSE c_wooi_data_rec;
6863: END IF;
6864: fnd_message.set_name('WMS', 'WMS_ATF_CLEANUP_FAILURE');
6865: fnd_msg_pub.ADD;
6866:
6867: WHEN fnd_api.g_exc_unexpected_error THEN
6868:

Line 6883: fnd_message.set_name('WMS', 'WMS_ATF_CLEANUP_FAILURE');

6879: IF c_wooi_data_rec%isopen THEN
6880: CLOSE c_wooi_data_rec;
6881: END IF;
6882:
6883: fnd_message.set_name('WMS', 'WMS_ATF_CLEANUP_FAILURE');
6884: fnd_msg_pub.ADD;
6885:
6886: WHEN OTHERS THEN
6887:

Line 6904: fnd_message.set_name('WMS', 'WMS_ATF_CLEANUP_FAILURE');

6900:
6901: IF c_wooi_data_rec%isopen THEN
6902: CLOSE c_wooi_data_rec;
6903: END IF;
6904: fnd_message.set_name('WMS', 'WMS_ATF_CLEANUP_FAILURE');
6905: fnd_msg_pub.ADD;
6906:
6907: END Cleanup_Operation_instance;
6908: