Dear MS experts,
During our development, we found there could be an inconsistency of Shipment Date field OnValidate trigger between the Sales Header table and Warehouse Shipment Header table.
In Sales Header table, the Shipment Date OnValidate trigger has GuiAllowed check to avoid odata v4 page reports exception of CallbackNotAllowed when HTTP PATCH to modify the Shipment Date.
But in Warehouse Shipment Header, the Shipment Date OnValidate trigger does not have any GuiAllowed check, so our HTTP PATCH via odata v4 page to modify the Shipment Date always results in the CallbackNotAllowed exception.
For such inconsistency, we were wondering if it was by design, and if so, we were also wondering if the only way is to write our own event subscriber to skip the original OnValidate trigger logics, so that our odata v4 page can allow HTTP PATCH to modify the Shipment Date?
Thanks!

Report
All responses (
Answers (