The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT indicator
FROM bsc_kpis_b
WHERE source_indicator = p_indicator
AND share_flag = 2 -- shared objective.
AND prototype_flag <> 2;
PROCEDURE Update_Kpi_Measure_Weights (
p_commit IN VARCHAR2 := FND_API.G_FALSE
, p_kpi_measure_weights_rec IN BSC_KPI_MEASURE_WEIGHTS_PUB.kpi_measure_weights_rec
, p_cascade_shared IN BOOLEAN := TRUE
, x_return_status OUT NOCOPY VARCHAR2
, x_msg_count OUT NOCOPY NUMBER
, x_msg_data OUT NOCOPY VARCHAR2
)
IS
CURSOR c_shared_obj(p_indicator NUMBER) IS
SELECT indicator
FROM bsc_kpis_b
WHERE source_indicator = p_indicator
AND share_flag = 2 -- shared objective.
AND prototype_flag <> 2;
SAVEPOINT BscKpiMeasureWeightPub_Update;
BSC_KPI_MEASURE_WEIGHTS_PVT.Update_Kpi_Measure_Weights
( p_commit => p_commit
, p_kpi_measure_weights_rec => p_kpi_measure_weights_rec
, x_return_status => x_return_status
, x_msg_count => x_msg_count
, x_msg_data => x_msg_data
);
BSC_KPI_MEASURE_WEIGHTS_PVT.Update_Kpi_Measure_Weights
( p_commit => p_commit
, p_kpi_measure_weights_rec => l_kpi_measure_weights_rec
, x_return_status => x_return_status
, x_msg_count => x_msg_count
, x_msg_data => x_msg_data
);
ROLLBACK TO BscKpiMeasureWeightPub_Update;
ROLLBACK TO BscKpiMeasureWeightPub_Update;
ROLLBACK TO BscKpiMeasureWeightPub_Update;
x_msg_data := x_msg_data || ' -> BSC_KPI_MEASURE_WEIGHTS_PUB.Update_Kpi_Measure_Weights ';
x_msg_data := SQLERRM || ' at BSC_KPI_MEASURE_WEIGHTS_PUB.Update_Kpi_Measure_Weights ';
ROLLBACK TO BscKpiMeasureWeightPub_Update;
x_msg_data := x_msg_data || ' -> BSC_KPI_MEASURE_WEIGHTS_PUB.Update_Kpi_Measure_Weights ';
x_msg_data := SQLERRM || ' at BSC_KPI_MEASURE_WEIGHTS_PUB.Update_Kpi_Measure_Weights ';
END Update_Kpi_Measure_Weights;
SELECT indicator
FROM bsc_kpis_b
WHERE source_indicator = p_indicator
AND share_flag = 2 -- shared objective.
AND prototype_flag <> 2;
SAVEPOINT BscKpiMeasureWeightPub_Delete;
ROLLBACK TO BscKpiMeasureWeightPub_Delete;
ROLLBACK TO BscKpiMeasureWeightPub_Delete;
ROLLBACK TO BscKpiMeasureWeightPub_Delete;
ROLLBACK TO BscKpiMeasureWeightPub_Delete;
SELECT indicator
FROM bsc_kpis_b
WHERE source_indicator = p_indicator
AND share_flag = 2 -- shared objective.
AND prototype_flag <> 2;