SELECT

inv.NAME, inv.ID, (SELECT srm.full_name FROM srm_resources srm WHERE srm.user_id = inv.manager_id) "Project Manager", ndo.PATH "Project OBS", DECODE (inv.is_active, 1, 'Active', 0, 'Inactive' ) "Project Active\Inactive", srm.full_name "Resource Name", srm.user_id "Resource Id", (SELECT ndo.PATH FROM prj_obs_associations poa, cmn_sec_users csu, nbi_dim_obs ndo WHERE srm.user_id = csu.ID AND srm.ID = poa.record_id AND poa.unit_id = ndo.obs_unit_id AND poa.table_name = 'SRM_RESOURCES' AND ndo.obs_type_id = 5000002) "Resource OBS", DECODE (srm.resource_type, 0, 'Labor', 1, 'Equipment', 3, 'Expense', 2, 'Material' ) "Resource Type", DECODE (srm.is_active, 1, 'Active', 0, 'Inactive' ) "Resource Active\Inactive", prt.prname "Task Name", DECODE (prt.prismilestone, 1, 'Yes', 0, 'No') "Is MileStone Y\N", DECODE (prt.priskey, 1, 'Yes', 0, 'No') "Is Key Task Y\N", (pra.practsum / 3600) "Actual", (pra.prestsum / 3600) "ETC", (select (pr.prallocsum / 3600) from prteam pr where inv.id=PR.PRPROJECT ID and srm.id=PR.PRRESOURCEID group by PR.PRPROJECTID,PR.PRRESOURCEID,PR.PRALLOC SUM ) "Allocation", ROUND (((pm.numval1 * (pra.practsum / 3600)) * 0.78366), 2 ) "Cost Spent", fin.total_cost "Cost Planned", finbe.total_benefit "Benefit Planned", -- FINBD.NAME, finbd.total_cost "Budget" FROM inv_investments inv, srm_resources srm, cmn_sec_users csu, prj_obs_associations poa, prj_obs_types pot, prj_obs_units pou, obs_units_flat_by_mode ouf, nbi_dim_obs ndo, prtask prt, prassignment pra, ppa_matrixvalues pm, odf_ssl_cst_dtl_cost odf, fin_plans fin, fin_cost_plan_details finc, biz_com_periods bcp, fin_benefit_plan_details finb, fin_plans finco,

object_id AND finbd.unit_id = poa.Cost plan AND fin.plan_id AND finco.is_plan_of_record = 1 --Benefit plan AND finbe.ID AND pot.ID AND finco.start_date.finish_date) >= TO_DATE (bcp.ID = odfc.prprojectid AND prt.end_date) ) --Budget plan AND inv.ID = 5000009 AND ouf.object_id = inv.linked_unit_id AND ouf. srm.plan_type_code = 'FORECAST' AND ( TO_DATE (odf.user_id.prj_object_id = finb.is_plan_of_record = 1 AND finb.obs_unit_id = pou.fin_plans finbe. fin_cost_plan_details finbu.is_plan_of_record = 1 AND finbu.period_type = 'ANNUALLY' AND fin.ID.object_id = inv.ID AND od.object_id = inv.status_code = 'APPROVED' AND finbd.type_id AND pou.NAME.ID = finbd.ID = ouf.PATH. ndo. biz_com_periods biz. srm.is_active.benefit_plan_id = finb.ID = prt. inv.plan_type_code = 'BUDGET' AND finbu.user_id = csu. srm.end_date) ) AND finc.prj_object_id AND fin.full_name.prresourceid -. inv.start_date) AND TO_DATE (od. inv.ID AND finco.record_id AND pot.start_date) AND TO_DATE (odf.ID = odf.period_type_code = 'ANNUALLY' AND fin.plan_id = finbe.ID = finc.ID AND inv.prj_object_id GROUP BY bcp.ID = odfc.ID = pra.unit_mode = 'OBS_UNIT_ONLY' AND ndo.start_date) <= TO_DATE (bcp.ID.prtaskid AND srm.prid = pra.manager_id. srm.ID AND ( TO_DATE (od.prj_object_id AND finbd.plan_id AND finbd.unit_id AND poa.finish_date) >= TO_DATE (bcp. fin_plans finbd.object_code LIKE 'project' AND finco.ID = pou.ID AND fin.ID = poa.end_date.table_name = 'SRM_PROJECTS' AND inv.plan_id AND bcp. inv. odf_ssl_cst_dtl_cost odfc WHERE srm.start_date) <= TO_DATE (bcp.plan_type_code LIKE 'FORECAST' AND finco. .ID = finbu. bcp. odf_ssl_bft_dtl_bft od.resource_type.

CGMS Clarity Global Competence Centre Philips IT Applications Philips Innovation Campus.total_cost. prt. pra.prname.numval1.Ph : +91(88) 80 4 . Regards.prismilestone. fin. pm. prt.srm.total_cost. finbe. pra. prt. Manyata tech Park. Abhishek Jain.practsum.total_benefit.priskey. finbd.prestsum. Bangalore 4 9777 560045.is_active.

Sign up to vote on this title
UsefulNot useful