Thanks Leo. I have used this below query to get data on daily custom slice curve on ' Project::Detailed Planned Cost' and data value is correctly being shown. Additionaly, i have created a custom table which will hold specific sets of data from BIZ_COM_PERIOD table with a bit modified data-representation for showing Quarterly periods. However, i need a help on how to join PRCHARGECODE table with the below query. Any idea please, you can provide ? Just need to show it's on 'CAPITAL' or 'Expense' like chargecodes. I am not sure of the way to join with Fin_Financials. Below query from my side.
select inv.name, inv.code, sum(s.SLICE),qf.period_name,qf.finyear
FROM
FIN_FINANCIALS AS f
inner join odf_sl_plan_cost s on f.id = s.prj_object_id
inner join custom_table_QFIN qf on s.SLICE_DATE between qf.startdate and (qf.finishdate -1)
INNER JOIN ODF_OBJECT_INSTANCE_MAPPING AS map ON f.ID = map.SECONDARY_OBJECT_INSTANCE_ID
INNER JOIN INV_INVESTMENTS AS INV ON map.PRIMARY_OBJECT_INSTANCE_ID = INV.ID
inner join
WHERE
(map.PRIMARY_OBJECT_INSTANCE_CODE = 'project')
AND (map.SECONDARY_OBJECT_INSTANCE_CODE = 'Financials')
and inv.code = '*********'
and s.SLICE_REQUEST_ID = XXXXXXX
group by inv.name, inv.code,qf.period_name,qf.finyear
order by finyear,period_name