Hi Experts,
I have 3 custom attributes(all are NUMBER format) in page ‘Customer’. They are LIST1,LIST2 and LIST3. The corresponding view is CUSTOMER_INFO_CFV. I want to add another custom attribute in work task page as TOT_LIST, which is also a number and should equal to sum of LIST1,LIST2 and LIST3.The corresponding view is JT_TASK_LIGHT_UIV
I know that I have to add a Read only type custom field in JtTask entity. I tried select statement, but was not successful(I can’t perform addition operation in a select statement ?) and then switched to use ‘Expression’ option and I am still not getting anywhere as I see. My sql knowledge is not that good either. Can someone help me pasting the required sql here pls ?
Below is the expression I tried
DECLARE
v.CUSTOMER_NO;
Begin
select
CF$_LIST1,CF$_LIST2,CF$_LIST3 from CUSTOMER_INFO_CFV t where t.CUSTOMER_ID =:CUSTOMER_NO;
CF$_TOT_LIST=CF$_LIST1+CF$_LIST2+CF$_LIST3;
End;
Thank you,
Roshan