Validation rule

I am working on a validation rule to check if the amount entered is less than or equal to the balance amount that is stored in local SOR. The following error occurs.

Property @baseclass.Amount is undefined. Please help me with this!

@ESAKKIMUTHU R Have you tried defining the D_CheckBalance.pxResults in Pages & Classes

Thank you so much sir @BhanuPrakash_G . It works. Thank you for your input!