DBA Data[Home] [Help]

APPS.WMS_CATCH_WEIGHT_GRP dependencies on FND_MESSAGE

Line 56: fnd_message.set_name('WMS', 'WMS_CONT_INCOMPATIBLE_API_CALL');

52:
53: BEGIN
54: -- Standard call to check for call compatibility.
55: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
56: fnd_message.set_name('WMS', 'WMS_CONT_INCOMPATIBLE_API_CALL');
57: fnd_msg_pub.ADD;
58: RAISE fnd_api.g_exc_error;
59: END IF;
60:

Line 82: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_ORG');

78: IF ( l_result = inv_validate.f ) THEN
79: IF ( l_debug = 1 ) THEN
80: print_debug(p_organization_id || ' is not a valid org id', 1);
81: END IF;
82: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_ORG');
83: fnd_msg_pub.ADD;
84: RAISE fnd_api.g_exc_error;
85: END IF;
86:

Line 95: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_ITEM');

91: IF ( l_result = inv_validate.f ) THEN
92: IF (l_debug = 1) THEN
93: print_debug(p_inventory_item_id || ' is not a valid inventory item id', 1);
94: END IF;
95: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_ITEM');
96: fnd_msg_pub.ADD;
97: RAISE fnd_api.g_exc_error;
98: END IF;
99:

Line 105: fnd_message.set_name('WMS', 'WMS_INVALID_QTY');

101: IF ( p_quantity < 0 ) THEN
102: IF (l_debug = 1) THEN
103: print_debug(p_quantity ||' is not a valid quantity', 1);
104: END IF;
105: fnd_message.set_name('WMS', 'WMS_INVALID_QTY');
106: fnd_msg_pub.ADD;
107: RAISE fnd_api.g_exc_error;
108: END IF;
109:

Line 117: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_UOM');

113: IF ( l_result = inv_validate.f ) THEN
114: IF ( l_debug = 1 ) THEN
115: print_debug(p_uom_code || ' is an invalid UOM', 1);
116: END IF;
117: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_UOM');
118: fnd_msg_pub.ADD;
119: RAISE fnd_api.g_exc_error;
120: END IF;
121: END IF;

Line 157: fnd_message.set_name('WMS', 'WMS_SEC_UOM_UNDEF_ERROR');

153: IF ( x_secondary_uom_code IS NULL ) THEN
154: IF (l_debug = 1) THEN
155: print_debug('Secondary UOM is not defined for this secondary priced item', 1);
156: END IF;
157: fnd_message.set_name('WMS', 'WMS_SEC_UOM_UNDEF_ERROR');
158: fnd_msg_pub.ADD;
159: RAISE FND_API.G_EXC_ERROR;
160: END IF;
161:

Line 175: fnd_message.set_name('INV', 'INV_UOM_CONVERSION_ERROR');

171: IF ( x_secondary_quantity < 0 ) THEN
172: IF ( l_debug = 1 ) THEN
173: print_debug('Error converting to from '||p_uom_code||' to '||x_secondary_uom_code, 1);
174: END IF;
175: fnd_message.set_name('INV', 'INV_UOM_CONVERSION_ERROR');
176: fnd_message.set_token('uom1', p_uom_code);
177: fnd_message.set_token('uom2', x_secondary_uom_code);
178: fnd_message.set_token('module', l_api_name);
179: fnd_msg_pub.ADD;

Line 176: fnd_message.set_token('uom1', p_uom_code);

172: IF ( l_debug = 1 ) THEN
173: print_debug('Error converting to from '||p_uom_code||' to '||x_secondary_uom_code, 1);
174: END IF;
175: fnd_message.set_name('INV', 'INV_UOM_CONVERSION_ERROR');
176: fnd_message.set_token('uom1', p_uom_code);
177: fnd_message.set_token('uom2', x_secondary_uom_code);
178: fnd_message.set_token('module', l_api_name);
179: fnd_msg_pub.ADD;
180: RAISE FND_API.G_EXC_ERROR;

Line 177: fnd_message.set_token('uom2', x_secondary_uom_code);

173: print_debug('Error converting to from '||p_uom_code||' to '||x_secondary_uom_code, 1);
174: END IF;
175: fnd_message.set_name('INV', 'INV_UOM_CONVERSION_ERROR');
176: fnd_message.set_token('uom1', p_uom_code);
177: fnd_message.set_token('uom2', x_secondary_uom_code);
178: fnd_message.set_token('module', l_api_name);
179: fnd_msg_pub.ADD;
180: RAISE FND_API.G_EXC_ERROR;
181: END IF;

Line 178: fnd_message.set_token('module', l_api_name);

174: END IF;
175: fnd_message.set_name('INV', 'INV_UOM_CONVERSION_ERROR');
176: fnd_message.set_token('uom1', p_uom_code);
177: fnd_message.set_token('uom2', x_secondary_uom_code);
178: fnd_message.set_token('module', l_api_name);
179: fnd_msg_pub.ADD;
180: RAISE FND_API.G_EXC_ERROR;
181: END IF;
182: l_progress := 'Done converting secondary qty';