5 Replies Latest reply: Jan 30, 2013 5:24 AM by 789069 RSS

    Unable to pick up current entity member

    789069
      Hi,

      I have the following script, where in, a UDA is checked and accordingly the code in IF block needs to be executed for the current entity member. If the UDA is manufacturing, the sales volume for current entity gets added to the entity "100".

      FIX(FY13,"Budget","Draft1","Local",@RELATIVE("TotalEntity",0))
           
      Cleardata Volume;
           "Volume"
           (
                IF(@ISUDA("Entity","Manufacturing"))                         
                     "Volume"->"100"="Volume"->"100"+"Sales";
                ENDIF
           )
      ENDFIX

      Since the entity is not specified for "sales" it should ideally pick up the current entity member, but somehow it is not doing so. It is picking up "Entity". I tried @CURRMBR("Entity"), but that does not work either.
      Please help.