These days I came across a problem that I can not solve and I do not know much where it starts.
I have these 4 fields in my system, where, if the user infuses the percentage discount, the system automatically shows to the user, in the field Discount in R $, amount that I get in cash, and if the user reports in the field Discount in R $, it shows in the Discount% field, percentage value and vice versa, being something dynamic, and at the end of it all, show Total Liquid, but that's the least, I just want something dynamic, with the 2 fields Discount% and Discount R $, where in the field that the user informs it shows either the percentage or the cash discount.
If someone gives me a light where to start, to do it dynamically, I know that I will have to use script
but I do not know where it starts.
Thanks in advance!