DBA Data[Home] [Help]

APPS.ITG_SYNCITEMINBOUND_PVT dependencies on ITG_MSG

Line 119: ITG_MSG.missing_element_value(l_param_name, l_param_value);

115: l_param_name := 'UOM';
116: END IF;
117:
118: IF l_param_name IS NOT NULL THEN
119: ITG_MSG.missing_element_value(l_param_name, l_param_value);
120: RAISE FND_API.G_EXC_ERROR;
121: END IF;
122:
123: SELECT count(1)

Line 129: ITG_MSG.uom_not_found(p_uom);

125: FROM mtl_units_of_measure_vl
126: WHERE UPPER(uom_code) = UPPER(p_uom);
127:
128: IF l_cnt = 0 THEN
129: ITG_MSG.uom_not_found(p_uom);
130: RAISE FND_API.G_EXC_ERROR;
131: END IF;
132: END;
133:

Line 176: itg_msg.no_hazard_class(p_hazrdmatl);

172: IF (l_Debug_Level <= 1) THEN
173: itg_debug_pub.Add('SI - No hazard class ID found',1);
174: END IF;
175:
176: itg_msg.no_hazard_class(p_hazrdmatl);
177: RAISE FND_API.G_EXC_ERROR;
178: END;
179: END IF;
180:

Line 183: itg_msg.item_commodity_ign;

179: END IF;
180:
181: IF (p_commodity1 is null and p_commodity2 is not null)
182: or (p_commodity2 is null and p_commodity1 is not null) THEN
183: itg_msg.item_commodity_ign;
184: -- continue processing.
185: END IF;
186:
187: l_create_date := NVL(p_create_date, SYSDATE);

Line 322: itg_msg.inv_cp_fail('NONE','NONE');

318:
319:
320:
321: IF l_ccm_request_id <= 0 THEN
322: itg_msg.inv_cp_fail('NONE','NONE');
323: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
324: END IF;
325:
326: -- This was pulled from the original sync item code

Line 350: itg_msg.item_import_pending(l_ccm_request_id, l_dev_status, l_dev_phase);

346: -- concurrent program has not completed
347: -- error the collaboration, loggin ccm_id to the
348: -- TODO: What are all the statuses and how do we react.
349: IF upper(l_dev_phase) <> 'COMPLETE' THEN
350: itg_msg.item_import_pending(l_ccm_request_id, l_dev_status, l_dev_phase);
351: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
352: END IF;
353:
354: IF upper(l_dev_status) <> 'NORMAL' THEN

Line 355: itg_msg.inv_cp_fail(l_dev_status,l_dev_phase);

351: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
352: END IF;
353:
354: IF upper(l_dev_status) <> 'NORMAL' THEN
355: itg_msg.inv_cp_fail(l_dev_status,l_dev_phase);
356: -- do,not raise exception, try to move ahead and find error records
357: END IF;
358:
359: IF l_bool THEN

Line 386: ITG_msg.checked_error(g_action);

382: EXCEPTION
383: WHEN FND_API.G_EXC_ERROR THEN
384: ROLLBACK;
385: x_return_status := FND_API.G_RET_STS_ERROR;
386: ITG_msg.checked_error(g_action);
387: IF (l_Debug_Level <= 6) THEN
388: itg_debug_pub.Add('--- Exiting Sync_Item ---ERROR',6);
389: END IF;
390:

Line 395: ITG_msg.unexpected_error(g_action);

391: WHEN OTHERS THEN
392: ROLLBACK;
393: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
394: ITG_Debug.msg('Unexpected error (Exchange-rate sync) - ' || substr(SQLERRM,1,255),true);
395: ITG_msg.unexpected_error(g_action);
396: IF (l_Debug_Level <= 6) THEN
397: itg_debug_pub.Add('--- Exiting Sync_Item ---OTHER ERROR',6);
398: END IF;
399: END;

Line 444: itg_msg.invalid_org(p_org_id);

440: MO_GLOBAL.set_policy_context('S', p_org_id); -- MOAC
441: EXCEPTION
442: WHEN OTHERS THEN
443: ITG_Debug.add_exc_error(G_PKG_NAME, 'Start_BatchProcess');
444: itg_msg.invalid_org(p_org_id);
445: RAISE FND_API.G_EXC_ERROR;
446: END;
447:
448: IF (l_Debug_Level <= 2) THEN

Line 504: itg_msg.item_import_pending(p_request_id,null,null);

500: END IF;
501:
502: -- if item procssing not complete, log appropriate message and return
503: IF l_process_flag IN ('1','2') THEN
504: itg_msg.item_import_pending(p_request_id,null,null);
505: return FND_API.G_RET_STS_ERROR;
506: END IF;
507:
508: IF l_process_flag NOT IN ('6','7') OR l_process_flag IS NULL THEN

Line 510: itg_msg.item_import_errors;

506: END IF;
507:
508: IF l_process_flag NOT IN ('6','7') OR l_process_flag IS NULL THEN
509: ITG_Debug.msg('Item-import errored out, request-id:' || p_request_id,TRUE);
510: itg_msg.item_import_errors;
511: error_transactions(p_request_id,'MTL_SYSTEM_ITEMS_INTERFACE');
512: return FND_API.G_RET_STS_ERROR;
513: END IF;
514:

Line 533: itg_msg.itemcat_import_pending(p_request_id);

529: itg_debug_pub.Add('process_flag' || l_process_flag ,1);
530: END IF;
531:
532: IF l_process_flag IN ('1','2') THEN
533: itg_msg.itemcat_import_pending(p_request_id);
534: return FND_API.G_RET_STS_SUCCESS;
535: END IF;
536:
537: IF l_process_flag NOT IN ('6','7') OR l_process_flag IS NULL THEN

Line 539: itg_msg.mici_only_failed;

535: END IF;
536:
537: IF l_process_flag NOT IN ('6','7') OR l_process_flag IS NULL THEN
538: ITG_Debug.msg('Item-category import errored out, request-id:' || p_request_id,TRUE);
539: itg_msg.mici_only_failed;
540: error_transactions(p_request_id,'MTL_ITEM_CATEGORIES_INTERFACE');
541: return FND_API.G_RET_STS_SUCCESS;
542: END IF;
543: END IF;