989:
990:
991: insert into pa_ppr_obj_tmp2 ( object_id , parent_object_id )
992: select rbs_element_id , nvl(parent_element_id,l_rbs_cbs_version_id)
993: from pa_rbs_elements
994: where rbs_version_id = l_rbs_cbs_version_id_2;
995:
996: end if;
997:
1008: ppr_log(' l_object_id '||l_object_id ,0);
1009:
1010: insert into pa_ppr_obj_tmp ( object_id , parent_object_id )
1011: select rbs_element_id , nvl(parent_element_id,l_rbs_cbs_version_id_2)
1012: from pa_rbs_elements
1013: where rbs_version_id = l_rbs_cbs_version_id ;
1014:
1015:
1016: if p_fact_slice in ( 'RBS_TO_WBS', 'CBS_TO_WBS' ) then
1062: ppr_log(' l_object_id 2 '||l_object_id_2 ,0);
1063:
1064: insert into pa_ppr_obj_tmp2 ( object_id , parent_object_id )
1065: select rbs_element_id , nvl(parent_element_id,l_rbs_cbs_version_id_2)
1066: from pa_rbs_elements
1067: where rbs_version_id = l_rbs_cbs_version_id_2 ;
1068:
1069:
1070: end if;