DBA Data[Home] [Help]

APPS.WSH_MBOLS_PVT dependencies on FND_MESSAGE

Line 105: FND_MESSAGE.SET_NAME('WSH','WSH_MBOL_NULL_FREIGHT_CODE');

101: WSH_DEBUG_SV.logmsg(l_module_name, 'Trip does not have a valid Freight Code, so MBOL cannot be Created.');
102: --
103: END IF;
104:
105: FND_MESSAGE.SET_NAME('WSH','WSH_MBOL_NULL_FREIGHT_CODE');
106: FND_MESSAGE.SET_TOKEN('TRIP_NAME', l_trip_name);
107: x_return_status := wsh_util_core.g_ret_sts_error;
108: wsh_util_core.add_message(x_return_status);
109: RAISE wsh_create_document_error;

Line 106: FND_MESSAGE.SET_TOKEN('TRIP_NAME', l_trip_name);

102: --
103: END IF;
104:
105: FND_MESSAGE.SET_NAME('WSH','WSH_MBOL_NULL_FREIGHT_CODE');
106: FND_MESSAGE.SET_TOKEN('TRIP_NAME', l_trip_name);
107: x_return_status := wsh_util_core.g_ret_sts_error;
108: wsh_util_core.add_message(x_return_status);
109: RAISE wsh_create_document_error;
110: END IF;

Line 135: FND_MESSAGE.SET_NAME('WSH', 'WSH_TRIP_NO_ORG_FOR_MBOL');

131: IF l_org_id IS NULL THEN
132: -- ECO:bug 4500358
133: -- if operating unit/organization cannot be associated with the trip,
134: -- let the user know what to do in order to generate MBOL.
135: FND_MESSAGE.SET_NAME('WSH', 'WSH_TRIP_NO_ORG_FOR_MBOL');
136: FND_MESSAGE.SET_TOKEN('TRIP_NAME', l_trip_name);
137: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
138: wsh_util_core.add_message(x_return_status);
139: RAISE wsh_create_document_error;

Line 136: FND_MESSAGE.SET_TOKEN('TRIP_NAME', l_trip_name);

132: -- ECO:bug 4500358
133: -- if operating unit/organization cannot be associated with the trip,
134: -- let the user know what to do in order to generate MBOL.
135: FND_MESSAGE.SET_NAME('WSH', 'WSH_TRIP_NO_ORG_FOR_MBOL');
136: FND_MESSAGE.SET_TOKEN('TRIP_NAME', l_trip_name);
137: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
138: wsh_util_core.add_message(x_return_status);
139: RAISE wsh_create_document_error;
140: END IF;

Line 331: FND_MESSAGE.SET_NAME('WSH','WSH_BOL_NULL_SHIP_METHOD_ERROR');

327:
328: IF l_bol_count = 0 THEN
329:
330: IF l_ship_method_code IS NULL THEN
331: FND_MESSAGE.SET_NAME('WSH','WSH_BOL_NULL_SHIP_METHOD_ERROR');
332: FND_MESSAGE.SET_TOKEN('TRIP_NAME', l_trip_name);
333: x_return_status := wsh_util_core.g_ret_sts_error;
334: wsh_util_core.add_message(x_return_status);
335: CLOSE c_get_delivery_info;

Line 332: FND_MESSAGE.SET_TOKEN('TRIP_NAME', l_trip_name);

328: IF l_bol_count = 0 THEN
329:
330: IF l_ship_method_code IS NULL THEN
331: FND_MESSAGE.SET_NAME('WSH','WSH_BOL_NULL_SHIP_METHOD_ERROR');
332: FND_MESSAGE.SET_TOKEN('TRIP_NAME', l_trip_name);
333: x_return_status := wsh_util_core.g_ret_sts_error;
334: wsh_util_core.add_message(x_return_status);
335: CLOSE c_get_delivery_info;
336: RAISE wsh_create_document_error;

Line 342: FND_MESSAGE.SET_NAME('WSH','WSH_LEDGER_ID_NOT_FOUND');

338:
339: OPEN c_get_ledger_id(l_delivery_id);
340: FETCH c_get_ledger_id INTO l_ledger_id;
341: IF c_get_ledger_id%NOTFOUND THEN
342: FND_MESSAGE.SET_NAME('WSH','WSH_LEDGER_ID_NOT_FOUND');
343: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
344: wsh_util_core.add_message(x_return_status);
345: CLOSE c_get_delivery_info;
346: RAISE wsh_create_document_error;

Line 589: FND_MESSAGE.SET_NAME('WSH', 'WSH_MBOL_SUBMITTED');

585:
586: IF (l_request_id = 0) THEN
587: raise err_mbol_submission;
588: ELSE
589: FND_MESSAGE.SET_NAME('WSH', 'WSH_MBOL_SUBMITTED');
590: FND_MESSAGE.SET_TOKEN('REQ_ID', to_char(l_request_id));
591: WSH_UTIL_CORE.ADD_MESSAGE(x_return_status,l_module_name);
592: END if;
593:

Line 590: FND_MESSAGE.SET_TOKEN('REQ_ID', to_char(l_request_id));

586: IF (l_request_id = 0) THEN
587: raise err_mbol_submission;
588: ELSE
589: FND_MESSAGE.SET_NAME('WSH', 'WSH_MBOL_SUBMITTED');
590: FND_MESSAGE.SET_TOKEN('REQ_ID', to_char(l_request_id));
591: WSH_UTIL_CORE.ADD_MESSAGE(x_return_status,l_module_name);
592: END if;
593:
594: --

Line 605: fnd_message.set_name('WSH', 'WSH_MBOL_FAILED');

601:
602: EXCEPTION
603: WHEN err_mbol_submission THEN
604: x_return_status := wsh_util_core.g_ret_sts_error;
605: fnd_message.set_name('WSH', 'WSH_MBOL_FAILED');
606: WSH_UTIL_CORE.ADD_MESSAGE(x_return_status,l_module_name);
607: IF l_debug_on THEN
608: WSH_DEBUG_SV.logmsg(l_module_name,'err_mbol_submission exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);
609: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:err_mbol_submission');

Line 962: FND_MESSAGE.Set_Name('WSH', 'WSH_NO_LOCK');

958: END IF;
959: --
960: WHEN record_locked THEN
961: x_return_status := wsh_util_core.g_ret_sts_error;
962: FND_MESSAGE.Set_Name('WSH', 'WSH_NO_LOCK');
963: WSH_UTIL_CORE.add_message (x_return_status, l_module_name);
964: --
965: IF l_debug_on THEN
966: WSH_DEBUG_SV.logmsg(l_module_name,'RECORD_LOCKED exception has occured.',WSH_DEBUG_SV.C_EXCEP_LEVEL);