Exception Details
[SQL Server Native Client 11.0][SQL Server]The EXECUTE permission was denied on the object 'sp_WHSOnHand', database
Solution
This is caused by missing permissions on the actual SQL Server database.
Modify the permissions on SQL Server for the AOS account. Once you (or your hosting provider) make this change sign out of AX ( also sign out of citrix if you are using citrix) and reconnect to AX. Then test the form.