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 2731: fnd_message.set_name('WMS', 'WMS_ATF_NO_ACTIVE_PLAN');

2727: IF c_wooi_data_rec%notfound THEN
2728: IF (l_debug = 1) THEN
2729: print_debug('Operation instance record does not exist for this task.',l_module_name,4);
2730: END IF;
2731: fnd_message.set_name('WMS', 'WMS_ATF_NO_ACTIVE_PLAN');
2732: fnd_msg_pub.ADD;
2733: RAISE FND_API.G_EXC_ERROR;
2734: END IF;
2735:

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

2797: IF l_wdt_status NOT IN (g_task_status_loaded, g_task_status_dispatched) THEN
2798: IF (l_debug=1) THEN
2799: print_debug('Invalid WDT status.' ,l_module_name,4);
2800: END IF;
2801: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');
2802: fnd_msg_pub.ADD;
2803: RAISE FND_API.G_EXC_ERROR;
2804: END IF; -- IF l_wdt_status NOT IN (g_task_status_loaded, g_task_status_dispatched)
2805:

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

2867: IF l_return_status <>FND_API.g_ret_sts_success THEN
2868: IF (l_debug=1) THEN
2869: print_debug('wms_op_runtime_pvt_apis.archive_dispatched_tasks finished with error. l_return_status = ' || l_return_status,l_module_name,4);
2870: END IF;
2871: fnd_message.set_name('WMS', 'WMS_ATF_ARCHIVE_TASK_FAILURE');
2872: fnd_msg_pub.ADD;
2873: RAISE FND_API.G_EXC_ERROR;
2874: END IF;
2875:

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

2901:
2902: IF (l_debug=1) THEN
2903: print_debug('Current operation ('|| p_operation_type_id ||') is not compatible with WDT status of dispatched.' ,l_module_name,4);
2904: END IF;
2905: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');
2906: fnd_msg_pub.ADD;
2907: RAISE FND_API.G_EXC_ERROR;
2908:
2909: END IF; -- IF p_operation_type_id = g_op_type_inspect

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

2956: IF l_return_status <>FND_API.g_ret_sts_success THEN
2957: IF (l_debug=1) THEN
2958: print_debug('Drop - wms_op_runtime_pvt_apis.archive_dispatched_tasks finished with error. l_return_status = ' || l_return_status,l_module_name,4);
2959: END IF;
2960: fnd_message.set_name('WMS', 'WMS_ATF_ARCHIVE_TASK_FAILURE');
2961: fnd_msg_pub.ADD;
2962: RAISE FND_API.G_EXC_ERROR;
2963: END IF;
2964:

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

2966:
2967: IF (l_debug=1) THEN
2968: print_debug('Invalid WDT status.' ,l_module_name,4);
2969: END IF;
2970: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');
2971: fnd_msg_pub.ADD;
2972: RAISE FND_API.G_EXC_ERROR;
2973:
2974:

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

3040: IF (l_debug = 1) THEN
3041: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3042: END IF;
3043:
3044: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3045: fnd_msg_pub.ADD;
3046: RAISE fnd_api.g_exc_unexpected_error;
3047: ELSIF l_return_status = fnd_api.g_ret_sts_error THEN
3048: IF (l_debug = 1) THEN

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

3048: IF (l_debug = 1) THEN
3049: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3050: END IF;
3051:
3052: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3053: fnd_msg_pub.ADD;
3054: RAISE fnd_api.g_exc_error;
3055: END IF;
3056: --bug 6924639

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

3084: IF l_operation_type_id <> l_wooi_data_rec.operation_type_id THEN
3085: IF (l_debug = 1) THEN
3086: 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);
3087: END IF;
3088: fnd_message.set_name('WMS', 'WMS_ATF_OPERATION_MISMATCH');
3089: fnd_msg_pub.ADD;
3090: RAISE FND_API.G_EXC_ERROR;
3091: END IF;
3092:

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

3266:
3267: IF (l_debug=1) THEN
3268: print_debug('Invalid locator determination method.',l_module_name,4);
3269: END IF;
3270: fnd_message.set_name('WMS', 'WMS_ATF_LOC_DET_NOT_DEFINED');
3271: fnd_msg_pub.ADD;
3272: RAISE FND_API.G_EXC_ERROR;
3273:
3274: END IF; -- IF NVL(l_loc_sel_criteria_id, 0) = wms_globals.G_OP_DEST_PRE_SPECIFIED

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

3354: IF (l_debug = 1) THEN
3355: print_debug('Unforgivable Error - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3356: END IF;
3357:
3358: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3359: fnd_msg_pub.ADD;
3360: RAISE fnd_api.g_exc_unexpected_error;
3361: ELSIF l_return_status = fnd_api.g_ret_sts_error THEN
3362: IF (l_debug = 1) THEN

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

3362: IF (l_debug = 1) THEN
3363: print_debug('Unforgivable Error - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3364: END IF;
3365:
3366: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3367: fnd_msg_pub.ADD;
3368: RAISE fnd_api.g_exc_error;
3369: END IF;
3370: --bug 6924639

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

3506: IF l_return_status <>FND_API.g_ret_sts_success THEN
3507: IF (l_debug=1) THEN
3508: 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);
3509: END IF;
3510: fnd_message.set_name('WMS', 'WMS_ATF_ARCHIVE_TASK_FAILURE');
3511: fnd_msg_pub.ADD;
3512: RAISE FND_API.G_EXC_ERROR;
3513: END IF;
3514:

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

3597: IF (l_debug = 1) THEN
3598: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3599: END IF;
3600:
3601: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3602: fnd_msg_pub.ADD;
3603: RAISE fnd_api.g_exc_unexpected_error;
3604: ELSIF l_return_status = fnd_api.g_ret_sts_error THEN
3605: IF (l_debug = 1) THEN

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

3605: IF (l_debug = 1) THEN
3606: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3607: END IF;
3608:
3609: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3610: fnd_msg_pub.ADD;
3611: RAISE fnd_api.g_exc_error;
3612: END IF;
3613: --bug 6924639

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

3636: IF (l_debug=1) THEN
3637: print_debug('Current operation does not have a next operation.' ,l_module_name,4);
3638: END IF;
3639:
3640: fnd_message.set_name('WMS', 'WMS_ATF_NO_NEXT_OPERATION');
3641: fnd_msg_pub.ADD;
3642:
3643: RAISE FND_API.G_EXC_ERROR;
3644:

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

3742: IF (l_debug = 1) THEN
3743: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3744: END IF;
3745:
3746: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3747: fnd_msg_pub.ADD;
3748: RAISE fnd_api.g_exc_unexpected_error;
3749: ELSIF l_return_status = fnd_api.g_ret_sts_error THEN
3750: IF (l_debug = 1) THEN

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

3750: IF (l_debug = 1) THEN
3751: print_debug('Inbound op plan null - wms_op_inbound_pvt.complete finished with error. l_return_status = ' || l_return_status,l_module_name,4);
3752: END IF;
3753:
3754: fnd_message.set_name('WMS', 'WMS_WORK_FLOW_FAIL');
3755: fnd_msg_pub.ADD;
3756: RAISE fnd_api.g_exc_error;
3757: END IF;
3758:

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

3809: IF (l_debug=1) THEN
3810: print_debug('Error (fnd_api.g_exc_error) occured at'||l_progress,l_module_name,1);
3811: END IF;
3812: x_return_status:=FND_API.G_RET_STS_ERROR;
3813: fnd_message.set_name('WMS', 'WMS_ATF_COMPLETE_OP_FAILURE');
3814: fnd_msg_pub.ADD;
3815: -- fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3816: ROLLBACK TO sp_complete_oprtn_instance;
3817:

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

3846: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3847: fnd_msg_pub.add_exc_msg(g_pkg_name, l_module_name);
3848: END IF;
3849: -- fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3850: fnd_message.set_name('WMS', 'WMS_ATF_COMPLETE_OP_FAILURE');
3851: fnd_msg_pub.ADD;
3852:
3853: IF (SQLCODE<-20000) THEN
3854: IF (l_debug=1) THEN

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

3894: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3895: fnd_msg_pub.add_exc_msg(g_pkg_name, l_module_name);
3896: END IF;
3897: -- fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3898: fnd_message.set_name('WMS', 'WMS_ATF_COMPLETE_OP_FAILURE');
3899: fnd_msg_pub.ADD;
3900:
3901: ROLLBACK TO sp_complete_oprtn_instance;
3902:

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

6417: IF l_wdt_status NOT IN (g_task_status_loaded, g_task_status_dispatched) THEN
6418: IF (l_debug=1) THEN
6419: print_debug('Invalid WDT status.' ,l_module_name,4);
6420: END IF;
6421: fnd_message.set_name('WMS', 'WMS_ATF_INVALID_TASK_STATUS');
6422: fnd_msg_pub.ADD;
6423: RAISE FND_API.G_EXC_ERROR;
6424: END IF; -- IF l_wdt_status NOT IN (g_task_status_loaded, g_task_status_dispatched)
6425:

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

6539: IF c_wooi_data_rec%notfound THEN
6540: IF (l_debug = 1) THEN
6541: print_debug('Active operation instance record does not exist for this task.',l_module_name,4);
6542: END IF;
6543: fnd_message.set_name('WMS', 'WMS_ATF_NO_ACTIVE_PLAN');
6544: fnd_msg_pub.ADD;
6545: RAISE FND_API.G_EXC_ERROR;
6546: END IF;
6547:

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

6730:
6731: IF c_wooi_data_rec%isopen THEN
6732: CLOSE c_wooi_data_rec;
6733: END IF;
6734: fnd_message.set_name('WMS', 'WMS_ATF_CLEANUP_FAILURE');
6735: fnd_msg_pub.ADD;
6736:
6737: WHEN fnd_api.g_exc_unexpected_error THEN
6738:

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

6749: IF c_wooi_data_rec%isopen THEN
6750: CLOSE c_wooi_data_rec;
6751: END IF;
6752:
6753: fnd_message.set_name('WMS', 'WMS_ATF_CLEANUP_FAILURE');
6754: fnd_msg_pub.ADD;
6755:
6756: WHEN OTHERS THEN
6757:

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

6770:
6771: IF c_wooi_data_rec%isopen THEN
6772: CLOSE c_wooi_data_rec;
6773: END IF;
6774: fnd_message.set_name('WMS', 'WMS_ATF_CLEANUP_FAILURE');
6775: fnd_msg_pub.ADD;
6776:
6777: END Cleanup_Operation_instance;
6778: