[Home] [Help]
2943: -- BSC_BIS_MEASURE_PUB.Create_Measure is called.
2944:
2945: -- Give a call to BIS_MEASURE_PUB.Dimension_Value_ID_Conversion so that
2946: -- we have dimension ids populated.
2947: -- These Ids are used in giving a call to BIS_MEASURE_PVT.IS_OLD_DATA_MODEL
2948:
2949: --
2950: BSC_BIS_MEASURE_PUB.Order_Dimensions_For_Ldt(
2951: p_Measure_Rec => l_measure_rec
2956: ,x_msg_count => x_msg_count
2957: ,x_msg_data => x_msg_data
2958: );
2959:
2960: -- Call to BIS_MEASURE_PVT.Measure_Value_ID_Conversion is used to check
2961: -- if the measure should be created/updated during the upload of measure
2962:
2963: IF (BIS_UTILITIES_PUB.Value_Missing
2964: (p_Measure_Rec.Measure_id) = FND_API.G_TRUE
2963: IF (BIS_UTILITIES_PUB.Value_Missing
2964: (p_Measure_Rec.Measure_id) = FND_API.G_TRUE
2965: OR BIS_UTILITIES_PUB.Value_NULL(p_Measure_Rec.Measure_id)
2966: = FND_API.G_TRUE) THEN
2967: BIS_MEASURE_PVT.Measure_Value_ID_Conversion
2968: ( p_api_version => 1.0
2969: , p_Measure_Rec => l_Measure_Rec_new
2970: , x_Measure_Rec => l_Measure_Rec
2971: , x_return_status => x_return_status
3271: ,x_msg_count => x_msg_count
3272: ,x_msg_data => x_msg_data
3273: );
3274:
3275: BIS_MEASURE_PVT.Translate_measure
3276: ( p_api_version => 1.0 -- this is not of significance anymore
3277: , p_commit => p_commit
3278: , p_Measure_Rec => l_Measure_Rec
3279: , p_owner => p_owner
3326: l_time_dimension_id NUMBER;
3327: l_flag VARCHAR2(10);
3328: BEGIN
3329:
3330: BIS_Measure_PVT.Dimension_Value_ID_Conversion
3331: ( p_api_version => 1.0
3332: , p_Measure_Rec => p_measure_rec
3333: , x_Measure_Rec => l_Measure_Rec
3334: , x_return_status => x_return_status
3377: END IF;
3378:
3379: l_measure_rec_new := l_measure_rec; -- added later
3380:
3381: IF (BIS_MEASURE_PVT.IS_OLD_DATA_MODEL(
3382: l_Measure_Rec
3383: ,l_Org_Dimension_ID
3384: ,l_Time_Dimension_ID)) THEN
3385: