DBA Data[Home] [Help]

APPS.GMF_ACTUAL_COST_ADJUSTMENT_PUB dependencies on GMF_VALIDATIONS_PVT

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

195: IF (p_adjustment_rec.cost_type_id <> FND_API.G_MISS_NUM) AND (p_adjustment_rec.cost_type_id IS NOT NULL) THEN
196: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
197: log_msg('Validating Cost Type Id : ' || p_adjustment_rec.cost_type_id);
198: END IF;
199: IF NOT gmf_validations_pvt.validate_cost_type_id (p_adjustment_rec.cost_type_id, 'A') THEN
200: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_COST_TYPE_ID');
201: FND_MESSAGE.SET_TOKEN('COST_TYPE_ID', p_adjustment_rec.cost_type_id);
202: FND_MSG_PUB.Add;
203: RAISE FND_API.G_EXC_ERROR;

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

215: ************************/
216: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
217: log_msg('Validating Cost Type Code : ' || p_adjustment_rec.cost_mthd_code);
218: END IF;
219: p_adjustment_rec.cost_type_id := GMF_VALIDATIONS_PVT.Validate_Cost_type_code(p_adjustment_rec.cost_mthd_code, 'A');
220:
221: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
222: log_msg('Cost Type Id : ' || p_adjustment_rec.cost_type_id);
223: END IF;

Line 247: IF NOT gmf_validations_pvt.validate_organization_id(p_adjustment_rec.organization_id) THEN

243: IF ((p_adjustment_rec.organization_id <> FND_API.G_MISS_NUM) AND (p_adjustment_rec.organization_id IS NOT NULL)) THEN
244: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
245: log_msg('Validating Organization Id : ' || p_adjustment_rec.organization_id);
246: END IF;
247: IF NOT gmf_validations_pvt.validate_organization_id(p_adjustment_rec.organization_id) THEN
248: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ORGN_ID');
249: FND_MESSAGE.SET_TOKEN('ORGANIZATION_ID', p_adjustment_rec.organization_id);
250: FND_MSG_PUB.Add;
251: RAISE FND_API.G_EXC_ERROR;

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

260: ELSIF ((p_adjustment_rec.organization_code <> FND_API.G_MISS_CHAR) AND (p_adjustment_rec.organization_code IS NOT NULL)) THEN
261: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
262: log_msg('Validating Organization Code : ' || p_adjustment_rec.organization_code);
263: END IF;
264: p_adjustment_rec.organization_id := gmf_validations_pvt.validate_organization_code(p_adjustment_rec.organization_code);
265: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
266: log_msg('Organization id : ' || p_adjustment_rec.organization_id);
267: END IF;
268: IF p_adjustment_rec.organization_id IS NULL THEN

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

283: THEN
284: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
285: log_msg('Validating Inventory Item Id : ' || p_adjustment_rec.inventory_item_id);
286: END IF;
287: IF NOT GMF_VALIDATIONS_PVT.Validate_inventory_item_Id(p_adjustment_rec.inventory_item_id, p_adjustment_rec.organization_id) THEN
288: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ITEM_ID');
289: FND_MESSAGE.SET_TOKEN('ITEM_ID', p_adjustment_rec.inventory_item_id);
290: FND_MESSAGE.SET_TOKEN('ORGANIZATION_ID', p_adjustment_rec.organization_id);
291: FND_MSG_PUB.Add;

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

302: ELSIF (p_adjustment_rec.item_number <> FND_API.G_MISS_CHAR) AND (p_adjustment_rec.item_number IS NOT NULL) THEN
303: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
304: log_msg('Validating Item Number : ' || p_adjustment_rec.item_number);
305: END IF;
306: p_adjustment_rec.inventory_item_id := GMF_VALIDATIONS_PVT.Validate_Item_Number(p_adjustment_rec.item_number, p_adjustment_rec.organization_id);
307: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
308: log_msg('Inventory Item id : ' || p_adjustment_rec.inventory_item_id);
309: END IF;
310: IF p_adjustment_rec.inventory_item_id IS NULL THEN

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

326: THEN
327: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
328: log_msg('Validating Period Id : ' || p_adjustment_rec.Period_id);
329: END IF;
330: IF NOT gmf_validations_pvt.validate_period_id(p_adjustment_rec.period_id, p_adjustment_rec.cost_type_id) THEN
331: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_PERIOD_ID');
332: FND_MESSAGE.SET_TOKEN('PERIOD_ID', p_adjustment_rec.period_id);
333: FND_MSG_PUB.Add;
334: RAISE FND_API.G_EXC_ERROR;

Line 356: 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);

352: ************************/
353: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
354: log_msg('Validating Calendar Code : ' || p_adjustment_rec.calendar_code||', Period Code : '||p_adjustment_rec.period_code);
355: END IF;
356: 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);
357: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
358: log_msg('Period Id : ' || p_adjustment_rec.period_id);
359: END IF;
360: IF p_adjustment_rec.period_id IS NULL THEN

Line 381: IF NOT GMF_VALIDATIONS_PVT.Validate_Cost_Cmpntcls_Id (p_adjustment_rec.cost_cmpntcls_id) THEN

377: THEN
378: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
379: log_msg('Validating Cost Component Class ID :'|| p_adjustment_rec.cost_cmpntcls_id);
380: END IF;
381: IF NOT GMF_VALIDATIONS_PVT.Validate_Cost_Cmpntcls_Id (p_adjustment_rec.cost_cmpntcls_id) THEN
382: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_CMPNTCLS_ID');
383: FND_MESSAGE.SET_TOKEN('CMPNTCLS_ID',p_adjustment_rec.cost_cmpntcls_id);
384: FND_MSG_PUB.Add;
385: RAISE FND_API.G_EXC_ERROR;

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

395: THEN
396: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
397: log_msg('Validating Cost Component Class Code : ' || p_adjustment_rec.cost_cmpntcls_code);
398: END IF;
399: p_adjustment_rec.cost_cmpntcls_id := GMF_VALIDATIONS_PVT.Validate_Cost_Cmpntcls_Code (p_adjustment_rec.cost_cmpntcls_code);
400: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
401: log_msg('Component Class Id := ' || p_adjustment_rec.cost_cmpntcls_id);
402: END IF;
403: IF p_adjustment_rec.cost_cmpntcls_id IS NULL THEN

Line 422: IF NOT GMF_VALIDATIONS_PVT.Validate_Analysis_Code(p_adjustment_rec.cost_analysis_code) THEN

418: THEN
419: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
420: log_msg('Validating Cost Analysis code :' || p_adjustment_rec.cost_analysis_code);
421: END IF;
422: IF NOT GMF_VALIDATIONS_PVT.Validate_Analysis_Code(p_adjustment_rec.cost_analysis_code) THEN
423: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ANALYSIS_CODE');
424: FND_MESSAGE.SET_TOKEN('ANALYSIS_CODE', p_adjustment_rec.cost_analysis_code);
425: FND_MSG_PUB.Add;
426: RAISE FND_API.G_EXC_ERROR;

Line 461: /* 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) Commented against Bug#14101225 */

457: THEN
458: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
459: log_msg('Validating Adjust Qty UOM :' || p_adjustment_rec.adjust_qty_uom);
460: END IF;
461: /* 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) Commented against Bug#14101225 */
462: IF NOT GMF_VALIDATIONS_PVT.Validate_Uom_Conv(p_adjustment_rec.adjust_qty_uom, p_adjustment_rec.inventory_item_id, p_adjustment_rec.organization_id, p_adjustment_rec.adjust_qty)
463: THEN
464: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ITEM_UM');
465: FND_MESSAGE.SET_TOKEN('ITEM_UOM', p_adjustment_rec.adjust_qty_uom);

Line 462: IF NOT GMF_VALIDATIONS_PVT.Validate_Uom_Conv(p_adjustment_rec.adjust_qty_uom, p_adjustment_rec.inventory_item_id, p_adjustment_rec.organization_id, p_adjustment_rec.adjust_qty)

458: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
459: log_msg('Validating Adjust Qty UOM :' || p_adjustment_rec.adjust_qty_uom);
460: END IF;
461: /* 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) Commented against Bug#14101225 */
462: IF NOT GMF_VALIDATIONS_PVT.Validate_Uom_Conv(p_adjustment_rec.adjust_qty_uom, p_adjustment_rec.inventory_item_id, p_adjustment_rec.organization_id, p_adjustment_rec.adjust_qty)
463: THEN
464: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ITEM_UM');
465: FND_MESSAGE.SET_TOKEN('ITEM_UOM', p_adjustment_rec.adjust_qty_uom);
466: FND_MSG_PUB.Add;