#LocalMACRO .......#EndMacro....?

#DEFINE.CurrentVersion(1)
#LOCALMACRO.CurrentList
fromdate,
todate,
fromWarehouse,
toWarehouse
#ENDMACRO

kindly explain this code?

Hi Pratham,

#DEFINE.CurrentVersion(1) – It is a macro that contains the global variables to be kept until the next time the user executes this class.

And the variables which you have declared just below that, defines the variable that stores the value until the next time the user executes the report or class.