Line 16: cursor c_bp_id is select instance_id from zpb_measures where type = 'SHARED_VIEW_DATA'
12: l_ledger_count NUMBER := 0;
13: l_dataset_count NUMBER := 0;
14:
15: -- get the BP id 16: cursor c_bp_id is select instance_id from zpb_measures where type = 'SHARED_VIEW_DATA' 17: and name = p_view;
18:
19: -- get the BP id
20: cursor c_ds_id is select DATASET_CODE from zpb_cycle_datasets