[progress Communities] [progress Openedge Abl] Forum Post: Re: Quick Question On Calculated...

  • Thread starter Thread starter Dr Ganesh Iyer
  • Start date Start date
Status
Not open for further replies.
D

Dr Ganesh Iyer

Guest
Yes. you are right. You have to do a formula field with JavaScript. An example as below: Create a formula field (Decimal) say "Invoice". and the code snippet to be used there is: var totalInvoice = 0; {!#LOOP_BEGIN.R241825084} totalInvoice += {!Percentage}; {!#LOOP_END.R241825084} return totalInvoice; In this example script, R241825084 is the "relationship Name" of the child and {1Percentage} is the field in child object which I want the sum to be rolled up. Hope this helps!

Continue reading...
 
Status
Not open for further replies.
Back
Top