[Home] [Help]
1109: -- Properties, Update Defaults, etc.) then the call should be changed
1110: -- to the Public version. The UI only allows "Updates" on Master Indicators
1111: -- so it is assumed the Indicator currently being handled is the Masater Indicator.
1112:
1113: BSC_KPI_PVT.Update_Kpi( FND_API.G_FALSE
1114: ,l_Bsc_Kpi_Entity_Rec
1115: ,x_return_status
1116: ,x_msg_count
1117: ,x_msg_data);
1142: loop
1143: fetch dc_value into l_Bsc_Kpi_Entity_Rec.Bsc_Kpi_Id;
1144: exit when dc_value%NOTFOUND;
1145:
1146: BSC_KPI_PVT.Update_Kpi( FND_API.G_FALSE
1147: ,l_Bsc_Kpi_Entity_Rec
1148: ,x_return_status
1149: ,x_msg_count
1150: ,x_msg_data);
2911: END IF;
2912:
2913: -- Call the private version. The public version deletes all shared kpis.
2914: l_Bsc_Kpi_Entity_Rec.Bsc_Kpi_Id := p_kpi_id;
2915: BSC_KPI_PVT.Delete_Kpi( FND_API.G_FALSE
2916: ,l_Bsc_Kpi_Entity_Rec
2917: ,x_return_status
2918: ,x_msg_count
2919: ,x_msg_data);
2924: l_Bsc_Kpi_Entity_Rec.Bsc_Kpi_Source_Ind := null;
2925: l_Bsc_Kpi_Entity_Rec.Bsc_Kpi_Share_Flag := 1;
2926: l_Bsc_Kpi_Entity_Rec.Bsc_Kpi_Id := l_kpi_id;
2927:
2928: BSC_KPI_PVT.Update_Kpi( FND_API.G_FALSE
2929: , l_Bsc_Kpi_Entity_Rec
2930: , x_return_status
2931: , x_msg_count
2932: , x_msg_data);