DBA Data[Home] [Help]

APPS.GMF_RESOURCECOST_PUB dependencies on GMF_VALIDATIONS_PVT

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

995: --
996: -- Bug 2692459
997: -- get uom type also.
998: --
999: IF NOT (GMF_VALIDATIONS_PVT.Validate_Resources(l_resources)) THEN
1000: add_header_to_error_stack(p_rsrc_cost_rec); -- Bug 2659435
1001: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_RESOURCES');
1002: FND_MESSAGE.SET_TOKEN('RESOURCES',l_resources);
1003: FND_MSG_PUB.Add;

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

1003: FND_MSG_PUB.Add;
1004: RAISE FND_API.G_EXC_ERROR;
1005: END IF;
1006: -- Get the resource UOM code, resource UOM class for further processing
1007: GMF_VALIDATIONS_PVT.Validate_Resource(l_resources,l_resource_uom,l_resource_uom_class);
1008: IF l_resource_uom IS NULL AND l_resource_uom_class IS NULL THEN
1009: add_header_to_error_stack(p_rsrc_cost_rec); -- Bug 2659435
1010: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_RESOURCES');
1011: FND_MESSAGE.SET_TOKEN('RESOURCES',l_resources);

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

1028: END IF;
1029:
1030: IF (l_legal_entity_id <> FND_API.G_MISS_NUM) AND
1031: (l_legal_entity_id IS NOT NULL) THEN
1032: IF NOT GMF_VALIDATIONS_PVT.Validate_legal_entity_id(l_legal_entity_id) THEN
1033: add_header_to_error_stack(p_rsrc_cost_rec); -- Bug 2659435
1034: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_LE_ID');
1035: FND_MESSAGE.SET_TOKEN('LEGAL_ENTITY',l_legal_entity_id);
1036: FND_MSG_PUB.Add;

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

1053: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_debug_level THEN
1054: log_msg('Validation Organization ID : '||l_organization_id);
1055: END IF;
1056: -- invoke validate organization id method
1057: IF NOT gmf_validations_pvt.Validate_organization_id(l_organization_id) THEN
1058: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_ORGN_ID');
1059: FND_MESSAGE.SET_TOKEN('ORGANIZATION_ID', l_organization_id);
1060: FND_MSG_PUB.Add;
1061: RAISE FND_API.G_EXC_ERROR;

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

1073: IF (FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level) THEN
1074: log_msg('Validating Organization Code : ' ||l_organization_code);
1075: END IF;
1076: -- get the organization id
1077: l_organization_id := gmf_validations_pvt.validate_organization_code(l_organization_code);
1078: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1079: log_msg('Organization id : ' || l_organization_id);
1080: END IF;
1081: -- if organization id is null then log message

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

1100: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1101: log_msg('Validating Cost Type Id : ' || l_cost_type_id);
1102: END IF;
1103: -- Invoke cost type id validation method
1104: IF NOT gmf_validations_pvt.validate_cost_type_id (l_cost_type_id) THEN
1105: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_COST_TYPE_ID');
1106: FND_MESSAGE.SET_TOKEN('COST_TYPE_ID', l_cost_type_id);
1107: FND_MSG_PUB.Add;
1108: RAISE FND_API.G_EXC_ERROR;

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

1121: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1122: log_msg('Validating Cost Type Code : ' || l_cost_type_code);
1123: END IF;
1124:
1125: l_cost_type_id := GMF_VALIDATIONS_PVT.Validate_cost_type_code(l_cost_type_code);
1126: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1127: log_msg('Cost Type Id : ' || l_cost_type_id);
1128: END IF;
1129: IF l_cost_type_id IS NULL THEN

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

1147: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1148: log_msg('Validating Period Id : ' || l_period_id);
1149: END IF;
1150: -- Invoke validate period id method
1151: IF NOT gmf_validations_pvt.validate_period_id(l_period_id) THEN
1152: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_PERIOD_ID');
1153: FND_MESSAGE.SET_TOKEN('PERIOD_ID', l_period_id);
1154: FND_MSG_PUB.Add;
1155: RAISE FND_API.G_EXC_ERROR;

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

1171: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1172: log_msg('Validating Calendar Code : ' || l_calendar_code||', Period Code : '||l_period_code);
1173: END IF;
1174:
1175: l_period_id := GMF_VALIDATIONS_PVT.Validate_period_code(l_organization_id, l_calendar_code, l_period_code, l_cost_type_id);
1176: IF FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW >= G_Debug_Level THEN
1177: log_msg('Period Id : ' || l_period_id);
1178: END IF;
1179: -- if period id null then log message with invalid period code

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

1213: -- Bug 2692459
1214: -- get usage uom class also and verify whether it is same uom class as resource uom
1215: --
1216: -- get the Usgae UOM class
1217: GMF_VALIDATIONS_PVT.Validate_Usage_Uom(l_usage_uom, l_usage_uom_class) ;
1218: IF l_usage_uom_class IS NULL THEN
1219: add_header_to_error_stack(p_rsrc_cost_rec); -- Bug 2659435
1220: FND_MESSAGE.SET_NAME('GMF','GMF_API_INVALID_USAGE_UM');
1221: FND_MESSAGE.SET_TOKEN('USAGE_UM',l_usage_uom);