Hi,
Your custom process updates "Portfolio Name" column for Project correctly, but it may not update "Portfolio Name" column for Program.
If possible, please run below query to verify project tables directly. It will show all program with "Portfolio Name".
(Please change portfolioname to correct your column name before you run it)
select ii.name program_name, ii.code program_code, op.portfolioname portfolio_name
from inv_investments ii, inv_projects ip,odf_ca_project op
where ii.id=ip.prid
and ip.is_program=1
and op.id=ii.id
and ii.odf_object_code='project'
I think that your custom process will not update "Portfolio Name" column for Program.
Regards,
Shoichi