Callouts are not working as expected in Quick Entry windows.
1. Apply the attached [TestCalloutQuick.patch]
2. Open Business Partner window
3. Edit or create a new record
you'll see that Name2 will always have a value of 'Testing callout', no matter which field you interact with. Therefore, even when editing Name2, the value will be set again to 'Testing callout'.
4. Open sales order -> right click on BPartner Field -> new
Name 2 will have an initial value of 'Testing callout', however, when you modify its value and then interact with any other field, the value is not set again as expected (see
), even though the system is running the callout.
Save the record in the quick entry and zoom to the just created record.
You can see that the value set in Name2 is the one set by the callout (see
), this is just because of the callout running when opening the window, you see that the toolbar in the window appears as the record was modified and when you click undo, the record gets the value set in the quickEntry.