I have created logic_hooks to perform various calculations on this form to give me a final selling price on a particular product when we save the record.
I would like to know whether it would be possible to create a button next to the Selling Price field e.g Calculate that will execute the logic_hooks. At this stage as mentioned you have to first save the record before the system calculates all the respective fields.
We would like the user to be able edit the Product, make changes to values in certain fields in EditView, click on calculate, the logic_hooks are executed and the new calculated values is displayed in the Selling Price field. Once they are happy with the Selling Price result they can just save the Product record.
Unfortunately my development skills are fairly limited so if possible code examples or even references to other examples will be much appreciated