PO_Amend_Tolerance

Dear All,

I have an Purchase order where i want to give the amend tolerance of 5% of actual PO, if the PO amend is more than 5% i want a warning at “before cancel” like ’ you are not allowed to enter more than 5% ’

some one please help me how to do it… and i’m very new to scripting …

please help me out