Hi,
I need your help tp create method in AOT View to return the absolute value of a field; exampel settlementcurrency amount in the query datasource; CustTrans of the view.
I was not able to find references online
Hi Hossam,
I assume that you are referring to computed column in a view.
Refer to the standard view CustTransSettleHistView for understanding how to create computed column in a view and creating a method for computed column.
To get absolute value I found one method available in the class SysComputedColumn.
Method name is abs.
SysComputedColumn::abs("expression");
Try using that method and check.
Thanks,
Girish S.
André Arnaud de Cal...
292,074
Super User 2025 Season 1
Martin Dráb
230,900
Most Valuable Professional
nmaenpaa
101,156