DBA Data[Home] [Help]

APPS.GMF_RESOURCECOST_PUB dependencies on GMF_VALIDATIONS_PVT

Line 1009: IF NOT (GMF_VALIDATIONS_PVT.Validate_Resources(l_resources)) THEN

1005: --
1006: -- Bug 2692459
1007: -- get uom type also.
1008: --
1009: IF NOT (GMF_VALIDATIONS_PVT.Validate_Resources(l_resources)) THEN
1010: add_header_to_error_stack(p_rsrc_cost_rec); -- Bug 2659435
1011: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_RESOURCES');
1012: FND_MESSAGE.SET_TOKEN('RESOURCES',l_resources);
1013: FND_MSG_PUB.Add;

Line 1017: GMF_VALIDATIONS_PVT.Validate_Resource(l_resources,l_resource_uom,l_resource_uom_class);

1013: FND_MSG_PUB.Add;
1014: RAISE FND_API.G_EXC_ERROR;
1015: END IF;
1016: -- Get the resource UOM code, resource UOM class for further processing
1017: GMF_VALIDATIONS_PVT.Validate_Resource(l_resources,l_resource_uom,l_resource_uom_class);
1018: IF l_resource_uom IS NULL AND l_resource_uom_class IS NULL THEN
1019: add_header_to_error_stack(p_rsrc_cost_rec); -- Bug 2659435
1020: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_RESOURCES');
1021: FND_MESSAGE.SET_TOKEN('RESOURCES',l_resources);

Line 1042: IF NOT GMF_VALIDATIONS_PVT.Validate_legal_entity_id(l_legal_entity_id) THEN

1038: END IF;
1039:
1040: IF (l_legal_entity_id <> FND_API.G_MISS_NUM) AND
1041: (l_legal_entity_id IS NOT NULL) THEN
1042: IF NOT GMF_VALIDATIONS_PVT.Validate_legal_entity_id(l_legal_entity_id) THEN
1043: add_header_to_error_stack(p_rsrc_cost_rec); -- Bug 2659435
1044: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_LE_ID');
1045: FND_MESSAGE.SET_TOKEN('LEGAL_ENTITY',l_legal_entity_id);
1046: FND_MSG_PUB.Add;

Line 1067: IF NOT gmf_validations_pvt.Validate_organization_id(l_organization_id) THEN

1063: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_debug_level THEN
1064: log_msg('Validation Organization ID : '||l_organization_id);
1065: END IF;
1066: -- invoke validate organization id method
1067: IF NOT gmf_validations_pvt.Validate_organization_id(l_organization_id) THEN
1068: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ORGN_ID');
1069: FND_MESSAGE.SET_TOKEN('ORGANIZATION_ID', l_organization_id);
1070: FND_MSG_PUB.Add;
1071: RAISE FND_API.G_EXC_ERROR;

Line 1087: l_organization_id := gmf_validations_pvt.validate_organization_code(l_organization_code);

1083: IF (FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level) THEN
1084: log_msg('Validating Organization Code : ' ||l_organization_code);
1085: END IF;
1086: -- get the organization id
1087: l_organization_id := gmf_validations_pvt.validate_organization_code(l_organization_code);
1088: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1089: log_msg('Organization id : ' || l_organization_id);
1090: END IF;
1091: -- if organization id is null then log message

Line 1118: IF NOT gmf_validations_pvt.validate_cost_type_id (l_cost_type_id) THEN

1114: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1115: log_msg('Validating Cost Type Id : ' || l_cost_type_id);
1116: END IF;
1117: -- Invoke cost type id validation method
1118: IF NOT gmf_validations_pvt.validate_cost_type_id (l_cost_type_id) THEN
1119: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_COST_TYPE_ID');
1120: FND_MESSAGE.SET_TOKEN('COST_TYPE_ID', l_cost_type_id);
1121: FND_MSG_PUB.Add;
1122: RAISE FND_API.G_EXC_ERROR;

Line 1139: l_cost_type_id := GMF_VALIDATIONS_PVT.Validate_cost_type_code(l_cost_type_code);

1135: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1136: log_msg('Validating Cost Type Code : ' || l_cost_type_code);
1137: END IF;
1138:
1139: l_cost_type_id := GMF_VALIDATIONS_PVT.Validate_cost_type_code(l_cost_type_code);
1140: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1141: log_msg('Cost Type Id : ' || l_cost_type_id);
1142: END IF;
1143: IF l_cost_type_id IS NULL THEN

Line 1165: IF NOT gmf_validations_pvt.validate_period_id(l_period_id) THEN

1161: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1162: log_msg('Validating Period Id : ' || l_period_id);
1163: END IF;
1164: -- Invoke validate period id method
1165: IF NOT gmf_validations_pvt.validate_period_id(l_period_id) THEN
1166: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_PERIOD_ID');
1167: FND_MESSAGE.SET_TOKEN('PERIOD_ID', l_period_id);
1168: FND_MSG_PUB.Add;
1169: RAISE FND_API.G_EXC_ERROR;

Line 1191: l_period_id := GMF_VALIDATIONS_PVT.Validate_period_code(l_organization_id, l_calendar_code, l_period_code, l_cost_type_id);

1187: END IF;
1188:
1189: /* Begin Bug 12333658 */
1190: IF l_organization_id IS NOT NULL THEN
1191: l_period_id := GMF_VALIDATIONS_PVT.Validate_period_code(l_organization_id, l_calendar_code, l_period_code, l_cost_type_id);
1192: ELSE /* both organization_id and organization_code not passed */
1193: BEGIN
1194: /* Get period_id with reference to l_legal_entity_id */
1195: SELECT period_id

Line 1251: GMF_VALIDATIONS_PVT.Validate_Usage_Uom(l_usage_uom, l_usage_uom_class) ;

1247: -- Bug 2692459
1248: -- get usage uom class also and verify whether it is same uom class as resource uom
1249: --
1250: -- get the Usgae UOM class
1251: GMF_VALIDATIONS_PVT.Validate_Usage_Uom(l_usage_uom, l_usage_uom_class) ;
1252: IF l_usage_uom_class IS NULL THEN
1253: add_header_to_error_stack(p_rsrc_cost_rec); -- Bug 2659435
1254: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_USAGE_UM');
1255: FND_MESSAGE.SET_TOKEN('USAGE_UM',l_usage_uom);