5 Replies Latest reply: Nov 22, 2016 1:57 AM by Subba Reddy RSS

    How to change the UI variable to Script variable?

      Hi Folks,


      I have variable called vCrAmt, it is declared in UI side i.e., Settings>Variable Overview.


      Now i am trying to call the same variable from Edit Script.


      SET vCrAmt=SUM({$<[Trxn. Date]={"$(=DATE(MAX[Trxn. Date]))"}>}CrAmt);


      Can anyone help me to put the same in Edit Script....


      I tried like this...

      SET vCrAmt='SUM({$<[Trxn. Date]={"$(=DATE(MAX[Trxn. Date]))"}>}CrAmt)';


      getting no value..


      Thanks in advance...