DBA Data[Home] [Help]

APPS.WMS_DIRECT_SHIP_PVT dependencies on FND_MESSAGE

Line 147: fnd_message.parse_encoded(ENCODED_MESSAGE => l_msg_data,

143: p_msg_index_out => l_dummy_number);
144:
145: debug('i: ' || i || ' index_out: ' || l_dummy_number || ' encoded_data: ' || l_msg_data,'process_mobile_msg');
146:
147: fnd_message.parse_encoded(ENCODED_MESSAGE => l_msg_data,
148: APP_SHORT_NAME => l_app_short_name,
149: MESSAGE_NAME => l_msg_name);
150:
151: debug('App_short_name: ' || l_app_short_name || ' Msg_name: ' || l_msg_name,'process_mobile_msg');

Line 509: fnd_message.set_name('WMS','WMS_DEL_LOCK_FAILURE');

505: debug('Lock delivery successful','Check_Delivery');
506: END IF;
507: EXCEPTION WHEN others THEN
508: x_return_Status := fnd_api.g_ret_sts_error;
509: fnd_message.set_name('WMS','WMS_DEL_LOCK_FAILURE');
510: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
511: /*Failed to aquire locks on wsh_new_deliveries for */
512: fnd_msg_pub.add;
513: fnd_msg_pub.count_and_get( p_count => x_msg_count,

Line 510: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);

506: END IF;
507: EXCEPTION WHEN others THEN
508: x_return_Status := fnd_api.g_ret_sts_error;
509: fnd_message.set_name('WMS','WMS_DEL_LOCK_FAILURE');
510: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
511: /*Failed to aquire locks on wsh_new_deliveries for */
512: fnd_msg_pub.add;
513: fnd_msg_pub.count_and_get( p_count => x_msg_count,
514: p_data => x_msg_data

Line 564: fnd_message.set_name('WMS','WMS_NO_ISSUE_TRX');

560: (p_delivery_id => p_delivery_id
561: ,x_return_Status => l_return_status
562: ,x_error_msg => x_error_msg);
563: IF l_return_status = fnd_api.g_ret_sts_error THEN
564: fnd_message.set_name('WMS','WMS_NO_ISSUE_TRX');
565: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
566: /*Material Status prevents the sales order issue transaction for one
567: or more items in the delivery */
568: FND_MSG_PUB.ADD;

Line 565: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);

561: ,x_return_Status => l_return_status
562: ,x_error_msg => x_error_msg);
563: IF l_return_status = fnd_api.g_ret_sts_error THEN
564: fnd_message.set_name('WMS','WMS_NO_ISSUE_TRX');
565: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
566: /*Material Status prevents the sales order issue transaction for one
567: or more items in the delivery */
568: FND_MSG_PUB.ADD;
569: IF (l_debug = 1) THEN

Line 576: fnd_message.set_name('WMS','WMS_NO_ISSUE_TRX');

572: END IF;
573: x_error_code := 2; -- status doesn't allow ship confirm
574: RAISE incomplete_delivery;
575: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
576: fnd_message.set_name('WMS','WMS_NO_ISSUE_TRX');
577: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
578: /*Material Status prevents the sales order issue transaction for one or
579: more items in the delivery */
580: FND_MSG_PUB.ADD;

Line 577: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);

573: x_error_code := 2; -- status doesn't allow ship confirm
574: RAISE incomplete_delivery;
575: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
576: fnd_message.set_name('WMS','WMS_NO_ISSUE_TRX');
577: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
578: /*Material Status prevents the sales order issue transaction for one or
579: more items in the delivery */
580: FND_MSG_PUB.ADD;
581: x_error_code := 2;

Line 602: FND_MESSAGE.SET_NAME('INV', 'WMS_WSH_SHIPSET_FORCED');

598: IF (l_debug = 1) THEN
599: debug('WMS_SHIPPING_TRANSACTION_PUB.ship_set_check returned with status' ||
600: ' E- shipset '||l_ship_set,'Check_Delivery');
601: END IF;
602: FND_MESSAGE.SET_NAME('INV', 'WMS_WSH_SHIPSET_FORCED');
603: FND_MESSAGE.SET_TOKEN('SHIP_SET_NAME', l_ship_set);
604: FND_MSG_PUB.ADD;
605: RAISE unspec_ship_set_exists;
606: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN

Line 603: FND_MESSAGE.SET_TOKEN('SHIP_SET_NAME', l_ship_set);

599: debug('WMS_SHIPPING_TRANSACTION_PUB.ship_set_check returned with status' ||
600: ' E- shipset '||l_ship_set,'Check_Delivery');
601: END IF;
602: FND_MESSAGE.SET_NAME('INV', 'WMS_WSH_SHIPSET_FORCED');
603: FND_MESSAGE.SET_TOKEN('SHIP_SET_NAME', l_ship_set);
604: FND_MSG_PUB.ADD;
605: RAISE unspec_ship_set_exists;
606: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
607: FND_MESSAGE.SET_NAME('INV', 'WMS_SHIPSET_FAILED');

Line 607: FND_MESSAGE.SET_NAME('INV', 'WMS_SHIPSET_FAILED');

603: FND_MESSAGE.SET_TOKEN('SHIP_SET_NAME', l_ship_set);
604: FND_MSG_PUB.ADD;
605: RAISE unspec_ship_set_exists;
606: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
607: FND_MESSAGE.SET_NAME('INV', 'WMS_SHIPSET_FAILED');
608: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME', l_del_name);
609: /*Ship set validation for the delivery has failed*/
610: FND_MSG_PUB.ADD;
611: IF (l_debug = 1) THEN

Line 608: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME', l_del_name);

604: FND_MSG_PUB.ADD;
605: RAISE unspec_ship_set_exists;
606: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
607: FND_MESSAGE.SET_NAME('INV', 'WMS_SHIPSET_FAILED');
608: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME', l_del_name);
609: /*Ship set validation for the delivery has failed*/
610: FND_MSG_PUB.ADD;
611: IF (l_debug = 1) THEN
612: debug('WMS_SHIPPING_TRANSACTION_PUB.ship_set_check returned with status U','Check_Delivery');

Line 631: FND_MESSAGE.SET_NAME('WMS','WMS_LPN_OTHER_DOCK');

627: SELECT name
628: INTO x_delivery_name
629: FROM wsh_new_deliveries_ob_grp_v
630: WHERE delivery_id = p_delivery_id;
631: FND_MESSAGE.SET_NAME('WMS','WMS_LPN_OTHER_DOCK');
632: FND_MESSAGE.SET_TOKEN('LPN_NAME',x_outermost_lpn);
633: FND_MESSAGE.SET_TOKEN('DOCK',l_loaded_dock_door);
634: /* LPN in this delivery is loaded at another dock door */
635: FND_MSG_PUB.ADD;

Line 632: FND_MESSAGE.SET_TOKEN('LPN_NAME',x_outermost_lpn);

628: INTO x_delivery_name
629: FROM wsh_new_deliveries_ob_grp_v
630: WHERE delivery_id = p_delivery_id;
631: FND_MESSAGE.SET_NAME('WMS','WMS_LPN_OTHER_DOCK');
632: FND_MESSAGE.SET_TOKEN('LPN_NAME',x_outermost_lpn);
633: FND_MESSAGE.SET_TOKEN('DOCK',l_loaded_dock_door);
634: /* LPN in this delivery is loaded at another dock door */
635: FND_MSG_PUB.ADD;
636: fnd_msg_pub.count_and_get( p_count => x_msg_count,

Line 633: FND_MESSAGE.SET_TOKEN('DOCK',l_loaded_dock_door);

629: FROM wsh_new_deliveries_ob_grp_v
630: WHERE delivery_id = p_delivery_id;
631: FND_MESSAGE.SET_NAME('WMS','WMS_LPN_OTHER_DOCK');
632: FND_MESSAGE.SET_TOKEN('LPN_NAME',x_outermost_lpn);
633: FND_MESSAGE.SET_TOKEN('DOCK',l_loaded_dock_door);
634: /* LPN in this delivery is loaded at another dock door */
635: FND_MSG_PUB.ADD;
636: fnd_msg_pub.count_and_get( p_count => x_msg_count,
637: p_data => x_msg_data

Line 697: FND_MESSAGE.SET_NAME('WMS','WMS_SHIP_METHOD_CODE');

693: END IF;
694:
695: WHEN no_ship_method_code THEN
696: x_return_status := fnd_api.g_ret_sts_error;
697: FND_MESSAGE.SET_NAME('WMS','WMS_SHIP_METHOD_CODE');
698: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME', l_del_name);
699: /* No Ship method code provided for the delivery DELIVERY_NAME .This is required */
700: FND_MSG_PUB.ADD;
701: fnd_msg_pub.count_and_get( p_count => x_msg_count,

Line 698: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME', l_del_name);

694:
695: WHEN no_ship_method_code THEN
696: x_return_status := fnd_api.g_ret_sts_error;
697: FND_MESSAGE.SET_NAME('WMS','WMS_SHIP_METHOD_CODE');
698: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME', l_del_name);
699: /* No Ship method code provided for the delivery DELIVERY_NAME .This is required */
700: FND_MSG_PUB.ADD;
701: fnd_msg_pub.count_and_get( p_count => x_msg_count,
702: p_data => x_msg_data

Line 718: FND_MESSAGE.SET_NAME('WMS','WMS_DEL_LINES_MIX');

714: );
715: WHEN delivery_lines_mix THEN
716: x_return_status := fnd_api.g_ret_sts_error;
717: x_error_code := 8;
718: FND_MESSAGE.SET_NAME('WMS','WMS_DEL_LINES_MIX');
719: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME', l_del_name);
720: /* The Delivery also has lines that were not staged through Direct Ship*/
721: FND_MSG_PUB.ADD;
722: fnd_msg_pub.count_and_get

Line 719: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME', l_del_name);

715: WHEN delivery_lines_mix THEN
716: x_return_status := fnd_api.g_ret_sts_error;
717: x_error_code := 8;
718: FND_MESSAGE.SET_NAME('WMS','WMS_DEL_LINES_MIX');
719: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME', l_del_name);
720: /* The Delivery also has lines that were not staged through Direct Ship*/
721: FND_MSG_PUB.ADD;
722: fnd_msg_pub.count_and_get
723: ( p_count => x_msg_count

Line 864: FND_MESSAGE.SET_NAME('WMS','WMS_CREATE_FREIGHT_FAIL');

860: , x_freight_cost_id => l_freight_cost_id
861: );
862:
863: IF( l_return_status IN(fnd_api.g_ret_sts_error)) THEN
864: FND_MESSAGE.SET_NAME('WMS','WMS_CREATE_FREIGHT_FAIL');
865: FND_MESSAGE.SET_TOKEN('OBJ','Delivery');
866: FND_MESSAGE.SET_TOKEN('VAL',l_del_name);
867: /* Creation of freight cost for OBJ VAL has failed */
868: fnd_msg_pub.add;

Line 865: FND_MESSAGE.SET_TOKEN('OBJ','Delivery');

861: );
862:
863: IF( l_return_status IN(fnd_api.g_ret_sts_error)) THEN
864: FND_MESSAGE.SET_NAME('WMS','WMS_CREATE_FREIGHT_FAIL');
865: FND_MESSAGE.SET_TOKEN('OBJ','Delivery');
866: FND_MESSAGE.SET_TOKEN('VAL',l_del_name);
867: /* Creation of freight cost for OBJ VAL has failed */
868: fnd_msg_pub.add;
869: IF (l_debug = 1) THEN

Line 866: FND_MESSAGE.SET_TOKEN('VAL',l_del_name);

862:
863: IF( l_return_status IN(fnd_api.g_ret_sts_error)) THEN
864: FND_MESSAGE.SET_NAME('WMS','WMS_CREATE_FREIGHT_FAIL');
865: FND_MESSAGE.SET_TOKEN('OBJ','Delivery');
866: FND_MESSAGE.SET_TOKEN('VAL',l_del_name);
867: /* Creation of freight cost for OBJ VAL has failed */
868: fnd_msg_pub.add;
869: IF (l_debug = 1) THEN
870: debug('Update of Freight Cost for Del is failed ','UPDATE_DELIVERY');

Line 874: FND_MESSAGE.SET_TOKEN('OBJ','Delivery');

870: debug('Update of Freight Cost for Del is failed ','UPDATE_DELIVERY');
871: END IF;
872: raise FND_API.G_EXC_ERROR;
873: ELSIF (l_return_status = 'U' ) THEN
874: FND_MESSAGE.SET_TOKEN('OBJ','Delivery');
875: FND_MESSAGE.SET_TOKEN('VAL',l_del_name);
876: /* Creation of freight cost for has failed */
877: fnd_msg_pub.add;
878: IF (l_debug = 1) THEN

Line 875: FND_MESSAGE.SET_TOKEN('VAL',l_del_name);

871: END IF;
872: raise FND_API.G_EXC_ERROR;
873: ELSIF (l_return_status = 'U' ) THEN
874: FND_MESSAGE.SET_TOKEN('OBJ','Delivery');
875: FND_MESSAGE.SET_TOKEN('VAL',l_del_name);
876: /* Creation of freight cost for has failed */
877: fnd_msg_pub.add;
878: IF (l_debug = 1) THEN
879: debug('Update of Freight Cost for Del is succ ','UPDATE_DELIVERY');

Line 963: FND_MESSAGE.SET_NAME('WMS','WMS_UPDATE_DELIVERY_FAILED');

959: IF( l_return_status = fnd_api.g_ret_sts_unexp_error) THEN
960: IF (l_debug = 1) THEN
961: debug('Create _Update_Delivery has errored ','UPDATE_DELIVERY');
962: END IF;
963: FND_MESSAGE.SET_NAME('WMS','WMS_UPDATE_DELIVERY_FAILED');
964: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
965: /* Updation of delivery has failed */
966: fnd_msg_pub.add;
967: raise FND_API.G_EXC_UNEXPECTED_ERROR;

Line 964: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);

960: IF (l_debug = 1) THEN
961: debug('Create _Update_Delivery has errored ','UPDATE_DELIVERY');
962: END IF;
963: FND_MESSAGE.SET_NAME('WMS','WMS_UPDATE_DELIVERY_FAILED');
964: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
965: /* Updation of delivery has failed */
966: fnd_msg_pub.add;
967: raise FND_API.G_EXC_UNEXPECTED_ERROR;
968: ELSIF (l_return_status IN (fnd_api.g_ret_sts_error)) THEN

Line 969: FND_MESSAGE.SET_NAME('WMS','UPDATE_DELIVERY_FAILED');

965: /* Updation of delivery has failed */
966: fnd_msg_pub.add;
967: raise FND_API.G_EXC_UNEXPECTED_ERROR;
968: ELSIF (l_return_status IN (fnd_api.g_ret_sts_error)) THEN
969: FND_MESSAGE.SET_NAME('WMS','UPDATE_DELIVERY_FAILED');
970: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
971: /* Updation of delivery has failed */
972: fnd_msg_pub.add;
973: raise FND_API.G_EXC_ERROR;

Line 970: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);

966: fnd_msg_pub.add;
967: raise FND_API.G_EXC_UNEXPECTED_ERROR;
968: ELSIF (l_return_status IN (fnd_api.g_ret_sts_error)) THEN
969: FND_MESSAGE.SET_NAME('WMS','UPDATE_DELIVERY_FAILED');
970: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
971: /* Updation of delivery has failed */
972: fnd_msg_pub.add;
973: raise FND_API.G_EXC_ERROR;
974: END IF;

Line 1344: fnd_message.set_name('WMS','WMS_CREATE_TRIP_FAIL');

1340: IF l_return_status = fnd_api.g_ret_sts_error THEN
1341: IF (l_debug = 1) THEN
1342: debug(' Ship_Confirm. Create Trip Failed','Ship_Confirm');
1343: END IF;
1344: fnd_message.set_name('WMS','WMS_CREATE_TRIP_FAIL');
1345: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
1346: /* Failed to create trip for the delivery DELIVERY_NAME */
1347: FND_MSG_PUB.ADD;
1348: RAISE fnd_api.g_exc_error;

Line 1345: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);

1341: IF (l_debug = 1) THEN
1342: debug(' Ship_Confirm. Create Trip Failed','Ship_Confirm');
1343: END IF;
1344: fnd_message.set_name('WMS','WMS_CREATE_TRIP_FAIL');
1345: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
1346: /* Failed to create trip for the delivery DELIVERY_NAME */
1347: FND_MSG_PUB.ADD;
1348: RAISE fnd_api.g_exc_error;
1349: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN

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

1346: /* Failed to create trip for the delivery DELIVERY_NAME */
1347: FND_MSG_PUB.ADD;
1348: RAISE fnd_api.g_exc_error;
1349: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
1350: fnd_message.set_name('WMS','WMS_CREATE_TRIP_FAIL');
1351: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
1352: FND_MSG_PUB.ADD;
1353: IF (l_debug = 1) THEN
1354: debug(' Ship_Confirm. Create Trip Failed Unexpected Error','Ship_Confirm');

Line 1351: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);

1347: FND_MSG_PUB.ADD;
1348: RAISE fnd_api.g_exc_error;
1349: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
1350: fnd_message.set_name('WMS','WMS_CREATE_TRIP_FAIL');
1351: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
1352: FND_MSG_PUB.ADD;
1353: IF (l_debug = 1) THEN
1354: debug(' Ship_Confirm. Create Trip Failed Unexpected Error','Ship_Confirm');
1355: END IF;

Line 1449: FND_MESSAGE.SET_NAME('WMS','WMS_CONFIRM_DEL_FAIL');

1445: END LOOP;
1446: l_msg_table.delete;
1447: END IF;
1448: IF( l_return_status IN (fnd_api.g_ret_sts_error)) THEN
1449: FND_MESSAGE.SET_NAME('WMS','WMS_CONFIRM_DEL_FAIL');
1450: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
1451: -- Ship Confirm of delivey failed
1452: FND_MSG_PUB.ADD;
1453: IF (l_debug = 1) THEN

Line 1450: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);

1446: l_msg_table.delete;
1447: END IF;
1448: IF( l_return_status IN (fnd_api.g_ret_sts_error)) THEN
1449: FND_MESSAGE.SET_NAME('WMS','WMS_CONFIRM_DEL_FAIL');
1450: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
1451: -- Ship Confirm of delivey failed
1452: FND_MSG_PUB.ADD;
1453: IF (l_debug = 1) THEN
1454: debug(' Ship_Confirm. Confirm Delivery is failing from WSH_DELIVERY_PUB','Ship_Confirm');

Line 1459: FND_MESSAGE.SET_NAME('WMS','WMS_CONFIRM_DEL_FAIL');

1455: END IF;
1456: raise FND_API.G_EXC_ERROR;
1457:
1458: ELSIF (l_return_status = fnd_api.g_ret_sts_unexp_error) THEN
1459: FND_MESSAGE.SET_NAME('WMS','WMS_CONFIRM_DEL_FAIL');
1460: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
1461: /* cONFIRM DELIVERY FAILED*/
1462: FND_MSG_PUB.ADD;
1463: IF (l_debug = 1) THEN

Line 1460: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);

1456: raise FND_API.G_EXC_ERROR;
1457:
1458: ELSIF (l_return_status = fnd_api.g_ret_sts_unexp_error) THEN
1459: FND_MESSAGE.SET_NAME('WMS','WMS_CONFIRM_DEL_FAIL');
1460: FND_MESSAGE.SET_TOKEN('DELIVERY_NAME',l_del_name);
1461: /* cONFIRM DELIVERY FAILED*/
1462: FND_MSG_PUB.ADD;
1463: IF (l_debug = 1) THEN
1464: debug(' Ship_Confirm. Confirm Delivery is failing from WSH_DELIVERY_PUB, Unexpected error','Ship_Confirm');

Line 2121: FND_MESSAGE.SET_NAME('WMS','WMS_CREATE_FREIGHT_FAIL');

2117: , p_action_code => 'CREATE'
2118: , x_freight_cost_id => l_freight_cost_id
2119: );
2120: IF l_return_status IN(fnd_api.g_ret_sts_error) THEN
2121: FND_MESSAGE.SET_NAME('WMS','WMS_CREATE_FREIGHT_FAIL');
2122: FND_MESSAGE.SET_TOKEN('OBJ','Trip');
2123: FND_MESSAGE.SET_TOKEN('VAL',l_name);
2124: /* Creation of freight cost for has failed */
2125:

Line 2122: FND_MESSAGE.SET_TOKEN('OBJ','Trip');

2118: , x_freight_cost_id => l_freight_cost_id
2119: );
2120: IF l_return_status IN(fnd_api.g_ret_sts_error) THEN
2121: FND_MESSAGE.SET_NAME('WMS','WMS_CREATE_FREIGHT_FAIL');
2122: FND_MESSAGE.SET_TOKEN('OBJ','Trip');
2123: FND_MESSAGE.SET_TOKEN('VAL',l_name);
2124: /* Creation of freight cost for has failed */
2125:
2126: FND_MSG_PUB.ADD;

Line 2123: FND_MESSAGE.SET_TOKEN('VAL',l_name);

2119: );
2120: IF l_return_status IN(fnd_api.g_ret_sts_error) THEN
2121: FND_MESSAGE.SET_NAME('WMS','WMS_CREATE_FREIGHT_FAIL');
2122: FND_MESSAGE.SET_TOKEN('OBJ','Trip');
2123: FND_MESSAGE.SET_TOKEN('VAL',l_name);
2124: /* Creation of freight cost for has failed */
2125:
2126: FND_MSG_PUB.ADD;
2127: IF (l_debug = 1) THEN

Line 2132: FND_MESSAGE.SET_NAME('WMS','CREATE_FREIGHT_FAIL');

2128: debug('Create_Update Freight Cost API failed with status E ','Update Trip Stop');
2129: END IF;
2130: RAISE fnd_api.g_exc_error;
2131: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
2132: FND_MESSAGE.SET_NAME('WMS','CREATE_FREIGHT_FAIL');
2133: FND_MSG_PUB.ADD;
2134: IF (l_debug = 1) THEN
2135: debug('Update Freight Cost failed with status U','Update TripStop');
2136: END IF;

Line 2184: FND_MESSAGE.SET_NAME('WMS','WMS_UPD_STOP_FAIL');

2180: ,p_trip_id => l_trip_id
2181: ,x_stop_id => l_stop_id);
2182:
2183: IF l_return_status IN(fnd_api.g_ret_sts_error) THEN
2184: FND_MESSAGE.SET_NAME('WMS','WMS_UPD_STOP_FAIL');
2185: FND_MESSAGE.SET_TOKEN('TRIP_NAME',l_name);
2186: -- Failed to Create/update Trip Stop for the trip
2187: fnd_msg_pub.ADD;
2188: IF (l_debug = 1) THEN

Line 2185: FND_MESSAGE.SET_TOKEN('TRIP_NAME',l_name);

2181: ,x_stop_id => l_stop_id);
2182:
2183: IF l_return_status IN(fnd_api.g_ret_sts_error) THEN
2184: FND_MESSAGE.SET_NAME('WMS','WMS_UPD_STOP_FAIL');
2185: FND_MESSAGE.SET_TOKEN('TRIP_NAME',l_name);
2186: -- Failed to Create/update Trip Stop for the trip
2187: fnd_msg_pub.ADD;
2188: IF (l_debug = 1) THEN
2189: debug('Create_Update_Stop API failed with status E ','Update Trip Stop');

Line 2193: FND_MESSAGE.SET_NAME('WMS','WMS_UPD_STOP_FAIL');

2189: debug('Create_Update_Stop API failed with status E ','Update Trip Stop');
2190: END IF;
2191: RAISE fnd_api.g_exc_error;
2192: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
2193: FND_MESSAGE.SET_NAME('WMS','WMS_UPD_STOP_FAIL');
2194: FND_MESSAGE.SET_TOKEN('TRIP_NAME',l_name);
2195: -- Failed to Create/update Trip Stop for the trip
2196: fnd_msg_pub.ADD;
2197: IF (l_debug = 1) THEN

Line 2194: FND_MESSAGE.SET_TOKEN('TRIP_NAME',l_name);

2190: END IF;
2191: RAISE fnd_api.g_exc_error;
2192: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
2193: FND_MESSAGE.SET_NAME('WMS','WMS_UPD_STOP_FAIL');
2194: FND_MESSAGE.SET_TOKEN('TRIP_NAME',l_name);
2195: -- Failed to Create/update Trip Stop for the trip
2196: fnd_msg_pub.ADD;
2197: IF (l_debug = 1) THEN
2198: debug('Create_Update_Stop failed with status U','Update TripStop');

Line 2459: fnd_message.set_name('WMS', 'WMS_PRINT_DOC_SET_FAIL');

2455: END LOOP;
2456: END IF;
2457:
2458: IF l_return_status IN(fnd_api.g_ret_sts_error) THEN
2459: fnd_message.set_name('WMS', 'WMS_PRINT_DOC_SET_FAIL');
2460: /* Failed to print the documents set */
2461: fnd_msg_pub.ADD;
2462:
2463: IF (l_debug = 1) THEN

Line 2467: fnd_message.set_name('WMS', 'WMS_PRINT_DOC_SET_FAIL');

2463: IF (l_debug = 1) THEN
2464: DEBUG('Print Document_sets API failed with status E ', 'Print_shipping_dcouments');
2465: END IF;
2466: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
2467: fnd_message.set_name('WMS', 'WMS_PRINT_DOC_SET_FAIL');
2468: /* Failed to print the documents set */
2469: fnd_msg_pub.ADD;
2470:
2471: IF (l_debug = 1) THEN

Line 2690: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');

2686: FROM wsh_trips_ob_grp_v
2687: WHERE trip_id = p_trip_id;
2688:
2689: -- Raise error and set the message to be shown in Mobile
2690: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');
2691: /*LPN LPN_NAME assigned to trip TRIP is loaded on another dock door DOCK . Hence close trip failed.*/
2692: fnd_message.set_token('LPN_NAME', l_outermost_lpn);
2693: fnd_message.set_token('TRIP', l_trip_name);
2694: fnd_message.set_token('DOCK', l_loaded_dock_door);

Line 2692: fnd_message.set_token('LPN_NAME', l_outermost_lpn);

2688:
2689: -- Raise error and set the message to be shown in Mobile
2690: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');
2691: /*LPN LPN_NAME assigned to trip TRIP is loaded on another dock door DOCK . Hence close trip failed.*/
2692: fnd_message.set_token('LPN_NAME', l_outermost_lpn);
2693: fnd_message.set_token('TRIP', l_trip_name);
2694: fnd_message.set_token('DOCK', l_loaded_dock_door);
2695: /*Close Trip failed */
2696: fnd_msg_pub.ADD;

Line 2693: fnd_message.set_token('TRIP', l_trip_name);

2689: -- Raise error and set the message to be shown in Mobile
2690: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');
2691: /*LPN LPN_NAME assigned to trip TRIP is loaded on another dock door DOCK . Hence close trip failed.*/
2692: fnd_message.set_token('LPN_NAME', l_outermost_lpn);
2693: fnd_message.set_token('TRIP', l_trip_name);
2694: fnd_message.set_token('DOCK', l_loaded_dock_door);
2695: /*Close Trip failed */
2696: fnd_msg_pub.ADD;
2697: x_return_status := fnd_api.g_ret_sts_error;

Line 2694: fnd_message.set_token('DOCK', l_loaded_dock_door);

2690: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');
2691: /*LPN LPN_NAME assigned to trip TRIP is loaded on another dock door DOCK . Hence close trip failed.*/
2692: fnd_message.set_token('LPN_NAME', l_outermost_lpn);
2693: fnd_message.set_token('TRIP', l_trip_name);
2694: fnd_message.set_token('DOCK', l_loaded_dock_door);
2695: /*Close Trip failed */
2696: fnd_msg_pub.ADD;
2697: x_return_status := fnd_api.g_ret_sts_error;
2698: CLOSE lpn_in_other_dock;

Line 2741: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');

2737: , p_defer_interface_flag => 'N'
2738: );
2739:
2740: IF l_return_status IN(fnd_api.g_ret_sts_error) THEN
2741: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');
2742: fnd_message.set_token('TRIP_NAME', l_name);
2743: /*Failed to close the trip TRIP_NAME*/
2744: fnd_msg_pub.ADD;
2745:

Line 2742: fnd_message.set_token('TRIP_NAME', l_name);

2738: );
2739:
2740: IF l_return_status IN(fnd_api.g_ret_sts_error) THEN
2741: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');
2742: fnd_message.set_token('TRIP_NAME', l_name);
2743: /*Failed to close the trip TRIP_NAME*/
2744: fnd_msg_pub.ADD;
2745:
2746: IF (l_debug = 1) THEN

Line 2752: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');

2748: END IF;
2749:
2750: RAISE fnd_api.g_exc_error;
2751: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
2752: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');
2753: fnd_message.set_token('TRIP_NAME', l_name);
2754: /*Failed to close the trip TRIP_NAME*/
2755: fnd_msg_pub.ADD;
2756:

Line 2753: fnd_message.set_token('TRIP_NAME', l_name);

2749:
2750: RAISE fnd_api.g_exc_error;
2751: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
2752: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');
2753: fnd_message.set_token('TRIP_NAME', l_name);
2754: /*Failed to close the trip TRIP_NAME*/
2755: fnd_msg_pub.ADD;
2756:
2757: IF (l_debug = 1) THEN

Line 2777: fnd_message.set_name('INV', 'INV_RCV_CRT_PRINT_LAB_FAIL');

2773:
2774: wms_shipping_transaction_pub.print_label(l_delivery_details_tab, l_return_status);
2775:
2776: IF x_return_status <>(fnd_api.g_ret_sts_success) THEN
2777: fnd_message.set_name('INV', 'INV_RCV_CRT_PRINT_LAB_FAIL');
2778:
2779: IF (l_debug = 1) THEN
2780: DEBUG('Label Printing failed ', 'Close Trip');
2781: END IF;

Line 2804: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');

2800: , p_trip_id => l_trip_id
2801: );
2802:
2803: IF l_return_status =(fnd_api.g_ret_sts_error) THEN
2804: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');
2805: /*Failed while running cleanup program */
2806: fnd_msg_pub.ADD;
2807:
2808: IF (l_debug = 1) THEN

Line 2814: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');

2810: END IF;
2811:
2812: RAISE fnd_api.g_exc_error;
2813: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
2814: fnd_message.set_name('WMS', 'WMS_CLOSE_TRIP_FAIL');
2815: /*Failed while running cleanup program */
2816: fnd_msg_pub.ADD;
2817:
2818: IF (l_debug = 1) THEN

Line 2831: fnd_message.set_name('WMS', 'WMS_SHIP_METHOD_CODE');

2827: -- Call clean up API at this time. This API will create
2828: EXCEPTION
2829: WHEN no_ship_method_code THEN
2830: x_return_status := fnd_api.g_ret_sts_error;
2831: fnd_message.set_name('WMS', 'WMS_SHIP_METHOD_CODE');
2832: fnd_message.set_token('TRIP_NAME', l_name);
2833: /* No Ship method code provided for the Trip .This is required */
2834: fnd_msg_pub.ADD;
2835: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 2832: fnd_message.set_token('TRIP_NAME', l_name);

2828: EXCEPTION
2829: WHEN no_ship_method_code THEN
2830: x_return_status := fnd_api.g_ret_sts_error;
2831: fnd_message.set_name('WMS', 'WMS_SHIP_METHOD_CODE');
2832: fnd_message.set_token('TRIP_NAME', l_name);
2833: /* No Ship method code provided for the Trip .This is required */
2834: fnd_msg_pub.ADD;
2835: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2836: DEBUG('In exception no_ship_method_code - - errorcode ', 'Close Trip');

Line 3208: fnd_message.set_name('WMS', 'WMS_RET_LINE_TO_STOCK');

3204: ,p_relieve_rsv => l_relieve_rsv /*added 3396821*/
3205: );
3206:
3207: IF l_return_status = fnd_api.g_ret_sts_error THEN
3208: fnd_message.set_name('WMS', 'WMS_RET_LINE_TO_STOCK');
3209: /* Failed to unload the delivery line */
3210: fnd_msg_pub.ADD;
3211:
3212: IF (l_debug = 1) THEN

Line 3222: fnd_message.set_name('WMS', 'WMS_RET_LINE_TO_STOCK');

3218: IF (l_debug = 1) THEN
3219: DEBUG('inv_line_return_to_stock API failed with status U', 'Unload_Truck');
3220: END IF;
3221:
3222: fnd_message.set_name('WMS', 'WMS_RET_LINE_TO_STOCK');
3223: /* Failed to unload the delivery line */
3224: fnd_msg_pub.ADD;
3225: RAISE fnd_api.g_exc_unexpected_error;
3226: END IF;

Line 3299: fnd_message.set_name('WMS', 'WMS_CLEANUP_TEMP');

3295: , p_trip_id => NULL
3296: );
3297:
3298: IF l_return_status = fnd_api.g_ret_sts_error THEN
3299: fnd_message.set_name('WMS', 'WMS_CLEANUP_TEMP');
3300: /*Failed in cleanup program*/
3301: fnd_msg_pub.ADD;
3302:
3303: IF (l_debug = 1) THEN

Line 3309: fnd_message.set_name('WMS', 'WMS_CLEANUP_TEMP');

3305: END IF;
3306:
3307: RAISE fnd_api.g_exc_error;
3308: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
3309: fnd_message.set_name('WMS', 'WMS_CLEANUP_TEMP');
3310: /*Failed in cleanup program*/
3311: fnd_msg_pub.ADD;
3312:
3313: IF (l_debug = 1) THEN

Line 4805: FND_MESSAGE.SET_NAME('INV', 'INV_UNASSIGN_DEL_FAILURE');

4801: IF (l_return_status <> fnd_api.g_ret_sts_success) THEN
4802: IF (l_debug = 1) THEN
4803: DEBUG('Error Unassign_Detail_from_Cont'|| l_return_status, 'Overship Staged Lines');
4804: END IF;
4805: FND_MESSAGE.SET_NAME('INV', 'INV_UNASSIGN_DEL_FAILURE');
4806: FND_MSG_PUB.ADD;
4807: RAISE FND_API.G_EXC_ERROR;
4808: END IF;
4809:

Line 5197: fnd_message.set_name('WSH', 'WSH_CONT_UPD_ATTR_ERROR');

5193: , x_return_status => l_return_status
5194: );
5195:
5196: IF l_return_status <> wsh_util_core.g_ret_sts_success THEN
5197: fnd_message.set_name('WSH', 'WSH_CONT_UPD_ATTR_ERROR');
5198: fnd_message.set_token('CONT_NAME', l_cont_name);
5199: --x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
5200: END IF;
5201:

Line 5198: fnd_message.set_token('CONT_NAME', l_cont_name);

5194: );
5195:
5196: IF l_return_status <> wsh_util_core.g_ret_sts_success THEN
5197: fnd_message.set_name('WSH', 'WSH_CONT_UPD_ATTR_ERROR');
5198: fnd_message.set_token('CONT_NAME', l_cont_name);
5199: --x_return_status := WSH_UTIL_CORE.G_RET_STS_UNEXP_ERROR;
5200: END IF;
5201:
5202: IF (l_debug = 1) THEN

Line 6680: fnd_message.set_name('WMS', 'WMS_SHIP_METHOD_CODE');

6676: END IF;
6677: EXCEPTION
6678: WHEN no_ship_method_code THEN
6679: x_return_status := fnd_api.g_ret_sts_error;
6680: fnd_message.set_name('WMS', 'WMS_SHIP_METHOD_CODE');
6681: fnd_message.set_token('TRIP_NAME', l_trip_name);
6682: /* No Ship method code provided for the Trip .This is required */
6683: fnd_msg_pub.ADD;
6684: /*fnd_msg_pub.count_and_get( p_count => x_msg_count,

Line 6681: fnd_message.set_token('TRIP_NAME', l_trip_name);

6677: EXCEPTION
6678: WHEN no_ship_method_code THEN
6679: x_return_status := fnd_api.g_ret_sts_error;
6680: fnd_message.set_name('WMS', 'WMS_SHIP_METHOD_CODE');
6681: fnd_message.set_token('TRIP_NAME', l_trip_name);
6682: /* No Ship method code provided for the Trip .This is required */
6683: fnd_msg_pub.ADD;
6684: /*fnd_msg_pub.count_and_get( p_count => x_msg_count,
6685: p_data => x_msg_data

Line 7840: fnd_message.set_name('WMS', 'WMS_ORDER_LINE_SPLIT');

7836: INTO lpn_name
7837: FROM wms_license_plate_numbers
7838: WHERE lpn_id = l_lpn_cur.parent_lpn_id;
7839:
7840: fnd_message.set_name('WMS', 'WMS_ORDER_LINE_SPLIT');
7841: fnd_message.set_token('CONTAINER_NAME', lpn_name);
7842: fnd_msg_pub.ADD;
7843: x_error_code := 7;
7844: RAISE fnd_api.g_exc_error;

Line 7841: fnd_message.set_token('CONTAINER_NAME', lpn_name);

7837: FROM wms_license_plate_numbers
7838: WHERE lpn_id = l_lpn_cur.parent_lpn_id;
7839:
7840: fnd_message.set_name('WMS', 'WMS_ORDER_LINE_SPLIT');
7841: fnd_message.set_token('CONTAINER_NAME', lpn_name);
7842: fnd_msg_pub.ADD;
7843: x_error_code := 7;
7844: RAISE fnd_api.g_exc_error;
7845:

Line 8355: fnd_message.set_name('WMS', 'WMS_SUB_NON_RESERVABLE');

8351: DEBUG('LPN containes non reservable items', 'Process_LPN');
8352: END IF;
8353:
8354: x_return_status := fnd_api.g_ret_sts_error;
8355: fnd_message.set_name('WMS', 'WMS_SUB_NON_RESERVABLE');
8356: fnd_msg_pub.ADD;
8357: RETURN;
8358: ELSE
8359: IF (l_debug = 1) THEN

Line 8431: fnd_message.set_name('WMS', 'WMS_ITEM_NON_RESERVABLE');

8427: DEBUG('LPN containes non reservable items', 'Process_LPN');
8428: END IF;
8429:
8430: x_return_status := fnd_api.g_ret_sts_error;
8431: fnd_message.set_name('WMS', 'WMS_ITEM_NON_RESERVABLE');
8432: fnd_msg_pub.ADD;
8433: RETURN;
8434: END IF;
8435:

Line 8515: fnd_message.set_name('WMS', 'WMS_EMPTY_LPN');

8511: END IF;
8512:
8513: IF g_lpn_contents_tab.COUNT = 0 THEN
8514: x_return_status := fnd_api.g_ret_sts_error;
8515: fnd_message.set_name('WMS', 'WMS_EMPTY_LPN');
8516: fnd_msg_pub.ADD;
8517:
8518: IF (l_debug = 1) THEN
8519: DEBUG('LPN is empty', 'Process_LPN');

Line 8543: fnd_message.set_name('WMS', 'WMS_INVALID_MAT_STATUS');

8539: DEBUG('Validate Status LPN Contents procedure failed with error status E ', 'Process_LPN');
8540: END IF;
8541:
8542: x_return_status := fnd_api.g_ret_sts_error;
8543: fnd_message.set_name('WMS', 'WMS_INVALID_MAT_STATUS');
8544: fnd_msg_pub.ADD;
8545: RETURN;
8546: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
8547: IF (l_debug = 1) THEN

Line 8552: fnd_message.set_name('WMS', 'WMS_INVALID_MAT_STATUS');

8548: DEBUG('Validate Status LPN Contents procedure failed with error status U ', 'Process_LPN');
8549: END IF;
8550:
8551: x_return_status := fnd_api.g_ret_sts_error;
8552: fnd_message.set_name('WMS', 'WMS_INVALID_MAT_STATUS');
8553: fnd_msg_pub.ADD;
8554: RETURN;
8555: END IF;
8556:

Line 8789: FND_MESSAGE.SET_NAME('WMS','WMS_LINE_NOT_BOOKED');

8785: IF (l_debug = 1) THEN
8786: DEBUG('Order Line not booked','Process_LPN');
8787: END IF;
8788: x_return_status:=FND_API.G_RET_STS_ERROR;
8789: FND_MESSAGE.SET_NAME('WMS','WMS_LINE_NOT_BOOKED');
8790: FND_MSG_PUB.ADD;
8791: RETURN;
8792: END IF;*/
8793: --Bug 2909327:Changed the call to check wsh_delivery_details instead of oel*/

Line 8814: fnd_message.set_name('WMS', 'WMS_LINE_NOT_BOOKED');

8810: DEBUG('Order Line not booked', 'Process_LPN');
8811: END IF;
8812:
8813: x_return_status := fnd_api.g_ret_sts_error;
8814: fnd_message.set_name('WMS', 'WMS_LINE_NOT_BOOKED');
8815: fnd_msg_pub.ADD;
8816: RETURN;
8817: END;
8818: IF (l_debug = 1) THEN

Line 8832: fnd_message.set_name('WMS', 'WMS_PJM_VALIDATION_FAILED');

8828: DEBUG('Validation of PJM parameters failed', 'Process_LPN');
8829: END IF;
8830:
8831: x_return_status := fnd_api.g_ret_sts_error;
8832: fnd_message.set_name('WMS', 'WMS_PJM_VALIDATION_FAILED');
8833: fnd_msg_pub.ADD;
8834: RETURN;
8835: END IF;
8836: END IF;

Line 8865: fnd_message.set_name('WMS', 'WMS_PJM_VALIDATION_FAILED');

8861: DEBUG('LPN quantity is less then the reserved quantity', 'Process_LPN');
8862: END IF;
8863:
8864: x_return_status := fnd_api.g_ret_sts_error;
8865: fnd_message.set_name('WMS', 'WMS_PJM_VALIDATION_FAILED');
8866: fnd_msg_pub.ADD;
8867: RETURN;
8868: END IF;
8869: END IF;

Line 8879: fnd_message.set_name('WMS', 'WMS_DEL_GRP_FAILED');

8875: DEBUG('Delivery grouping failed', 'Process_LPN');
8876: END IF;
8877:
8878: x_return_status := fnd_api.g_ret_sts_error;
8879: fnd_message.set_name('WMS', 'WMS_DEL_GRP_FAILED');
8880: fnd_msg_pub.ADD;
8881: RETURN;
8882: END IF;
8883:

Line 8892: fnd_message.set_name('WMS', 'WMS_DEL_LINES_MIX');

8888: DEBUG('Checl del for direct ship failed', 'Process_LPN');
8889: END IF;
8890:
8891: x_return_status := fnd_api.g_ret_sts_error;
8892: fnd_message.set_name('WMS', 'WMS_DEL_LINES_MIX');
8893: fnd_msg_pub.ADD;
8894: RETURN;
8895: END IF;
8896:

Line 8927: fnd_message.set_name('WMS', 'WMS_HOLD_APPLIED');

8923: DEBUG('Check Holds Failed', 'Process_LPN');
8924: END IF;
8925:
8926: x_return_status := fnd_api.g_ret_sts_error;
8927: fnd_message.set_name('WMS', 'WMS_HOLD_APPLIED');
8928: fnd_msg_pub.ADD;
8929: RETURN;
8930: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
8931: IF (l_debug = 1) THEN

Line 8936: fnd_message.set_name('WMS', 'WMS_HOLD_APPLIED');

8932: DEBUG('Check holds Failed :Unexpected', 'Process_LPN');
8933: END IF;
8934:
8935: x_return_status := fnd_api.g_ret_sts_error;
8936: fnd_message.set_name('WMS', 'WMS_HOLD_APPLIED');
8937: fnd_msg_pub.ADD;
8938: RETURN;
8939: ELSE
8940: IF (l_debug = 1) THEN

Line 9090: fnd_message.set_name('WMS', 'WMS_PJM_VALIDATION_FAILED');

9086: DEBUG('End item unit validation failed', 'Process_LPN');
9087: END IF;
9088:
9089: x_return_status := fnd_api.g_ret_sts_error;
9090: fnd_message.set_name('WMS', 'WMS_PJM_VALIDATION_FAILED');
9091: fnd_msg_pub.ADD;
9092: RETURN;
9093: END IF;
9094:

Line 9209: fnd_message.set_name('WMS', 'WMS_ERROR_LOADING_LPN');

9205: DEBUG('Unexpected error occured: ' || SQLERRM, 'Process_LPN');
9206: END IF;
9207:
9208: x_return_status := fnd_api.g_ret_sts_unexp_error;
9209: fnd_message.set_name('WMS', 'WMS_ERROR_LOADING_LPN');
9210: fnd_msg_pub.ADD;
9211: END process_lpn;
9212:
9213: /* This procedure creates reservations for a line if it is not there and

Line 9330: fnd_message.set_name('WMS', 'WMS_ITEM_NOT_AVAILABLE');

9326: DEBUG('Line item not found in LPN', 'Process_Line');
9327: END IF;
9328:
9329: x_return_status := fnd_api.g_ret_sts_error;
9330: fnd_message.set_name('WMS', 'WMS_ITEM_NOT_AVAILABLE');
9331: fnd_msg_pub.ADD;
9332: RETURN;
9333: END IF;
9334:

Line 9343: fnd_message.set_name('WMS', 'WMS_PJM_VALIDATION_FAILED');

9339: DEBUG('End item unit validation failed', 'Process_Line');
9340: END IF;
9341:
9342: x_return_status := fnd_api.g_ret_sts_error;
9343: fnd_message.set_name('WMS', 'WMS_PJM_VALIDATION_FAILED');
9344: fnd_msg_pub.ADD;
9345: RETURN;
9346: END IF;
9347:

Line 9355: fnd_message.set_name('WMS', 'WMS_DEL_LINES_MIX');

9351: DEBUG('Checl del for direct ship failed', 'Process_Line');
9352: END IF;
9353:
9354: x_return_status := fnd_api.g_ret_sts_error;
9355: fnd_message.set_name('WMS', 'WMS_DEL_LINES_MIX');
9356: fnd_msg_pub.ADD;
9357: RETURN;
9358: END IF;
9359:

Line 9375: fnd_message.set_name('WMS', 'WMS_HOLD_APPLIED');

9371: DEBUG('Check Holds Failed', 'Process_Line');
9372: END IF;
9373:
9374: x_return_status := fnd_api.g_ret_sts_error;
9375: fnd_message.set_name('WMS', 'WMS_HOLD_APPLIED');
9376: fnd_msg_pub.ADD;
9377: RETURN;
9378: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
9379: IF (l_debug = 1) THEN

Line 9384: fnd_message.set_name('WMS', 'WMS_HOLD_APPLIED');

9380: DEBUG('Check Holds Failed', 'Process_Line');
9381: END IF;
9382:
9383: x_return_status := fnd_api.g_ret_sts_error;
9384: fnd_message.set_name('WMS', 'WMS_HOLD_APPLIED');
9385: fnd_msg_pub.ADD;
9386: RETURN;
9387: ELSE
9388: IF (l_debug = 1) THEN

Line 10234: fnd_message.set_name('WMS', 'WMS_ITEM_NOT_AVAILABLE');

10230: );
10231: fnd_msg_pub.Initialize;
10232: END IF;
10233: else
10234: fnd_message.set_name('WMS', 'WMS_ITEM_NOT_AVAILABLE');
10235: fnd_msg_pub.ADD;
10236: IF (l_debug = 1) THEN
10237: DEBUG('Processed quantity for line is zero. Record not inserted into wds', 'Process_Line');
10238: END IF;

Line 10251: fnd_message.set_name('WMS', 'WMS_ERROR_LOADING_LINE');

10247: DEBUG('Unexpected error occured', 'Process_Line');
10248: END IF;
10249:
10250: x_return_status := fnd_api.g_ret_sts_unexp_error;
10251: fnd_message.set_name('WMS', 'WMS_ERROR_LOADING_LINE');
10252: fnd_msg_pub.ADD;
10253: END process_line;
10254:
10255: /* This functions validates the line being packect into LPN for

Line 10676: fnd_message.set_name('WMS', 'WMS_ERROR_LOADING_LPN');

10672: DEBUG('Exception loading lpn', 'Load_LPN');
10673: END IF;
10674:
10675: x_return_status := fnd_api.g_ret_sts_unexp_error;
10676: fnd_message.set_name('WMS', 'WMS_ERROR_LOADING_LPN');
10677: fnd_msg_pub.ADD;
10678: END load_lpn;
10679:
10680: /*

Line 11548: fnd_message.set_name('WMS', 'WMS_LPN_NOT_CONSUMED');

11544: DEBUG('g_total_lpn_quantity=' || g_total_lpn_quantity, 'Perform_Overship_Distribution');
11545: END IF;
11546: END IF;
11547:
11548: fnd_message.set_name('WMS', 'WMS_LPN_NOT_CONSUMED');
11549: fnd_msg_pub.ADD;
11550: RETURN;
11551: END IF;
11552: END IF; -- quantity>0

Line 11567: fnd_message.set_name('WMS', 'WMS_ERROR_LOADING_LPN');

11563: DEBUG('Exception occured', 'Perform_Overship_Distribution');
11564: END IF;
11565:
11566: x_return_status := fnd_api.g_ret_sts_unexp_error;
11567: fnd_message.set_name('WMS', 'WMS_ERROR_LOADING_LPN');
11568: fnd_msg_pub.ADD;
11569: END perform_overship_distribution;
11570:
11571: /*