## Using groovy expression (sample format)
1)When used to calculate many fields of an VO and show the sum in the same VO.
object.getRowSet().sum("Salary")
2)Sample format to use Groovy expression for transient object
CommissionPct==null? Salary:Salary+Salary*CommissionPct
(Condition) ? (When true) : (When false)
No comments:
Post a Comment