DBA Data[Home] [Help]

APPS.WMS_COSTGROUPENGINE_PVT dependencies on FND_MSG_PUB

Line 114: fnd_msg_pub.ADD;

110: WMS_ENGINE_PVT.G_SUGG_FAILURE_MESSAGE := 'Invalid Package, Contact your DBA - '|| l_list_pkg || ' / ' || l_package_name;
111: fnd_message.set_name('WMS', 'WMS_INVALID_PKG');
112: fnd_message.set_token('LIST_PKG', l_list_pkg);
113: fnd_message.set_token('RULE_NAME', l_package_name);
114: fnd_msg_pub.ADD;
115: log_error(l_api_name, 'execute_open_rule', 'Invalid Package, Contact your DBA - '
116: || l_list_pkg || ' / ' || l_package_name);
117:
118: END execute_CG_rule;

Line 263: fnd_msg_pub.initialize;

259:
260:
261: -- Initialize message list if p_init_msg_list is set to TRUE
262: IF fnd_api.to_boolean( p_init_msg_list ) THEN
263: fnd_msg_pub.initialize;
264: END IF;
265: --
266: -- Initialize API return status to success
267: x_return_status := fnd_api.g_ret_sts_success;

Line 285: fnd_msg_pub.add;

281:
282: --check for null line_id
283: if (p_line_id IS NULL) then
284: fnd_message.set_name('WMS','WMS_CG_MISSING_LINE_ID');
285: fnd_msg_pub.add;
286: log_error_msg(l_api_name, 'missing_line_id');
287: raise fnd_api.g_exc_error;
288: end if;
289:

Line 293: fnd_msg_pub.add;

289:
290: --check for null type code
291: if (p_input_type IS NULL) then
292: fnd_message.set_name('WMS','WMS_CG_MISSING_INPUT_TYPE');
293: fnd_msg_pub.add;
294: log_error_msg(l_api_name, 'missing_input_type');
295: raise fnd_api.g_exc_error;
296: end if;
297:

Line 312: fnd_msg_pub.add;

308: 'move order line id: ' || p_line_id);
309: end if;
310: ELSE
311: fnd_message.set_name('WMS','WMS_CG_MISSING_INPUT_TYPE');
312: fnd_msg_pub.add;
313: log_error_msg(l_api_name, 'invalid_input_type');
314: raise fnd_api.g_exc_error;
315: END IF;
316:

Line 342: fnd_msg_pub.add;

338: ,l_transfer_organization_id;
339: IF (c_input_line_mmtt%NOTFOUND) THEN
340: CLOSE c_input_line_mmtt;
341: fnd_message.set_name('WMS','WMS_CG_LINE_NOT_FOUND');
342: fnd_msg_pub.add;
343: log_error_msg(l_api_name, 'line_not_found');
344: raise fnd_api.g_exc_error;
345: END IF;
346: CLOSE c_input_line_mmtt;

Line 356: fnd_msg_pub.add;

352: ,l_transfer_organization_id;
353: IF (c_input_line_mtrl%NOTFOUND) THEN
354: CLOSE c_input_line_mtrl;
355: fnd_message.set_name('WMS','WMS_CG_LINE_NOT_FOUND');
356: fnd_msg_pub.add;
357: log_error_msg(l_api_name, 'line_not_found');
358: raise fnd_api.g_exc_error;
359: END IF;
360: CLOSE c_input_line_mtrl;

Line 609: fnd_msg_pub.ADD;

605:
606: IF (l_sql_return = -1 ) and l_rule_counter = 2 THEN --error
607: fnd_message.set_name('WMS', 'WMS_PACKAGE_MISSING');
608: fnd_message.set_token('RULEID', l_rule_id);
609: fnd_msg_pub.ADD;
610: if l_debug = 1 then
611: log_statement(l_api_name, 'l_sql_return ', l_sql_return );
612: log_error_msg(l_api_name, 'rule_package_missing');
613: log_statement(l_api_name,'', 'Package name: ' || l_package_name);

Line 730: fnd_msg_pub.add;

726: IF (l_default_cg_org%NOTFOUND OR l_cost_group_id IS NULL) THEN
727: --raise error here
728: CLOSE l_default_cg_org;
729: fnd_message.set_name('INV','INV_NO_DEFAULT_COST_GROUP');
730: fnd_msg_pub.add;
731: if l_debug = 1 then
732: log_error_msg(l_api_name, 'no_default_org_cg');
733: end if;
734: raise fnd_api.g_exc_error;

Line 797: fnd_msg_pub.count_and_get( p_count => x_msg_count

793: WHEN fnd_api.g_exc_error THEN
794:
795: ROLLBACK TO assignCGSP;
796: x_return_status := fnd_api.g_ret_sts_error;
797: fnd_msg_pub.count_and_get( p_count => x_msg_count
798: ,p_data => x_msg_data );
799: if l_debug = 1 then
800: log_error(l_api_name, 'error', 'Error - ' || x_msg_data);
801: end if;

Line 807: fnd_msg_pub.count_and_get( p_count => x_msg_count

803: WHEN OTHERS THEN
804:
805: ROLLBACK TO assignCGSP;
806: x_return_status := fnd_api.g_ret_sts_unexp_error;
807: fnd_msg_pub.count_and_get( p_count => x_msg_count
808: ,p_data => x_msg_data );
809: if l_debug = 1 then
810: log_error(l_api_name,'unexp_error','Unexpected error - ' || x_msg_data);
811: end if;