DBA Data[Home] [Help]

APPS.GMF_ACTUAL_COST_ADJUSTMENT_PUB dependencies on GMF_VALIDATIONS_PVT

Line 201: IF NOT gmf_validations_pvt.validate_cost_type_id (p_adjustment_rec.cost_type_id, 'A')

197: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
198: THEN
199: log_msg('Validating Cost Type Id : ' || p_adjustment_rec.cost_type_id);
200: END IF;
201: IF NOT gmf_validations_pvt.validate_cost_type_id (p_adjustment_rec.cost_type_id, 'A')
202: THEN
203: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_COST_TYPE_ID');
204: FND_MESSAGE.SET_TOKEN('COST_TYPE_ID', p_adjustment_rec.cost_type_id);
205: FND_MSG_PUB.Add;

Line 226: p_adjustment_rec.cost_type_id := GMF_VALIDATIONS_PVT.Validate_Cost_type_code(p_adjustment_rec.cost_mthd_code, 'A');

222: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
223: THEN
224: log_msg('Validating Cost Type Code : ' || p_adjustment_rec.cost_mthd_code);
225: END IF;
226: p_adjustment_rec.cost_type_id := GMF_VALIDATIONS_PVT.Validate_Cost_type_code(p_adjustment_rec.cost_mthd_code, 'A');
227: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
228: THEN
229: log_msg('Cost Type Id : ' || p_adjustment_rec.cost_type_id);
230: END IF;

Line 258: IF NOT gmf_validations_pvt.validate_organization_id(p_adjustment_rec.organization_id)

254: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
255: THEN
256: log_msg('Validating Organization Id : ' || p_adjustment_rec.organization_id);
257: END IF;
258: IF NOT gmf_validations_pvt.validate_organization_id(p_adjustment_rec.organization_id)
259: THEN
260: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ORGN_ID');
261: FND_MESSAGE.SET_TOKEN('ORGANIZATION_ID', p_adjustment_rec.organization_id);
262: FND_MSG_PUB.Add;

Line 280: p_adjustment_rec.organization_id := gmf_validations_pvt.validate_organization_code(p_adjustment_rec.organization_code);

276: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
277: THEN
278: log_msg('Validating Organization Code : ' || p_adjustment_rec.organization_code);
279: END IF;
280: p_adjustment_rec.organization_id := gmf_validations_pvt.validate_organization_code(p_adjustment_rec.organization_code);
281: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
282: THEN
283: log_msg('Organization id : ' || p_adjustment_rec.organization_id);
284: END IF;

Line 306: IF NOT GMF_VALIDATIONS_PVT.Validate_inventory_item_Id(p_adjustment_rec.inventory_item_id, p_adjustment_rec.organization_id)

302: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
303: THEN
304: log_msg('Validating Inventory Item Id : ' || p_adjustment_rec.inventory_item_id);
305: END IF;
306: IF NOT GMF_VALIDATIONS_PVT.Validate_inventory_item_Id(p_adjustment_rec.inventory_item_id, p_adjustment_rec.organization_id)
307: THEN
308: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ITEM_ID');
309: FND_MESSAGE.SET_TOKEN('ITEM_ID', p_adjustment_rec.inventory_item_id);
310: FND_MESSAGE.SET_TOKEN('ORGANIZATION_ID', p_adjustment_rec.organization_id);

Line 330: p_adjustment_rec.inventory_item_id := GMF_VALIDATIONS_PVT.Validate_Item_Number(p_adjustment_rec.item_number, p_adjustment_rec.organization_id);

326: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
327: THEN
328: log_msg('Validating Item Number : ' || p_adjustment_rec.item_number);
329: END IF;
330: p_adjustment_rec.inventory_item_id := GMF_VALIDATIONS_PVT.Validate_Item_Number(p_adjustment_rec.item_number, p_adjustment_rec.organization_id);
331: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
332: THEN
333: log_msg('Inventory Item id : ' || p_adjustment_rec.inventory_item_id);
334: END IF;

Line 357: IF NOT gmf_validations_pvt.validate_period_id(p_adjustment_rec.period_id, p_adjustment_rec.cost_type_id)

353: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
354: THEN
355: log_msg('Validating Period Id : ' || p_adjustment_rec.Period_id);
356: END IF;
357: IF NOT gmf_validations_pvt.validate_period_id(p_adjustment_rec.period_id, p_adjustment_rec.cost_type_id)
358: THEN
359: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_PERIOD_ID');
360: FND_MESSAGE.SET_TOKEN('PERIOD_ID', p_adjustment_rec.period_id);
361: FND_MSG_PUB.Add;

Line 389: p_adjustment_rec.period_id := GMF_VALIDATIONS_PVT.Validate_period_code(p_adjustment_rec.organization_id, p_adjustment_rec.calendar_code, p_adjustment_rec.period_code, p_adjustment_rec.cost_type_id);

385: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
386: THEN
387: log_msg('Validating Calendar Code : ' || p_adjustment_rec.calendar_code||', Period Code : '||p_adjustment_rec.period_code);
388: END IF;
389: p_adjustment_rec.period_id := GMF_VALIDATIONS_PVT.Validate_period_code(p_adjustment_rec.organization_id, p_adjustment_rec.calendar_code, p_adjustment_rec.period_code, p_adjustment_rec.cost_type_id);
390: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
391: THEN
392: log_msg('Period Id : ' || p_adjustment_rec.period_id);
393: END IF;

Line 417: IF NOT GMF_VALIDATIONS_PVT.Validate_Cost_Cmpntcls_Id (p_adjustment_rec.cost_cmpntcls_id)

413: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
414: THEN
415: log_msg('Validating Cost Component Class ID :'|| p_adjustment_rec.cost_cmpntcls_id);
416: END IF;
417: IF NOT GMF_VALIDATIONS_PVT.Validate_Cost_Cmpntcls_Id (p_adjustment_rec.cost_cmpntcls_id)
418: THEN
419: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_CMPNTCLS_ID');
420: FND_MESSAGE.SET_TOKEN('CMPNTCLS_ID',p_adjustment_rec.cost_cmpntcls_id);
421: FND_MSG_PUB.Add;

Line 439: p_adjustment_rec.cost_cmpntcls_id := GMF_VALIDATIONS_PVT.Validate_Cost_Cmpntcls_Code (p_adjustment_rec.cost_cmpntcls_code);

435: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
436: THEN
437: log_msg('Validating Cost Component Class Code : ' || p_adjustment_rec.cost_cmpntcls_code);
438: END IF;
439: p_adjustment_rec.cost_cmpntcls_id := GMF_VALIDATIONS_PVT.Validate_Cost_Cmpntcls_Code (p_adjustment_rec.cost_cmpntcls_code);
440: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
441: THEN
442: log_msg('Component Class Id := ' || p_adjustment_rec.cost_cmpntcls_id);
443: END IF;

Line 465: IF NOT GMF_VALIDATIONS_PVT.Validate_Analysis_Code(p_adjustment_rec.cost_analysis_code)

461: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
462: THEN
463: log_msg('Validating Cost Analysis code :' || p_adjustment_rec.cost_analysis_code);
464: END IF;
465: IF NOT GMF_VALIDATIONS_PVT.Validate_Analysis_Code(p_adjustment_rec.cost_analysis_code)
466: THEN
467: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ANALYSIS_CODE');
468: FND_MESSAGE.SET_TOKEN('ANALYSIS_CODE', p_adjustment_rec.cost_analysis_code);
469: FND_MSG_PUB.Add;

Line 508: IF NOT GMF_VALIDATIONS_PVT.Validate_same_class_Uom(p_adjustment_rec.adjust_qty_uom, p_adjustment_rec.inventory_item_id, p_adjustment_rec.organization_id)

504: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level
505: THEN
506: log_msg('Validating Adjust Qty UOM :' || p_adjustment_rec.adjust_qty_uom);
507: END IF;
508: IF NOT GMF_VALIDATIONS_PVT.Validate_same_class_Uom(p_adjustment_rec.adjust_qty_uom, p_adjustment_rec.inventory_item_id, p_adjustment_rec.organization_id)
509: THEN
510: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ITEM_UM');
511: FND_MESSAGE.SET_TOKEN('ITEM_UOM', p_adjustment_rec.adjust_qty_uom);
512: FND_MSG_PUB.Add;