[Event Request] Table 36 "Sales Header" - OnValidateShipmentMethodCodeOnBeforeTestStatusOpen
We are migrating our code from NAV 2018 to BC16.4. In the Table 36 "Sales Header", in the field 27 "Shipment Method Code", in the trigger OnValidate, we need to add a condition to the use of TestStatusOpen. To do so, we need a IsHandled flag and an event publisher, like this :

With this integration event :

Do you think it could be possible ?
Thank you for your work.
Hi @Magicrevette . There will be new a function that returns StatusCheckSuspended, don't miss it.
Ok thank you. But we'll need to add a condition before TestStatusOpen. I don't think it's possible with another function.
Hi @Magicrevette . There is a function SuspendStatusCheck you can use. I suppose the code in subscriber will be looking like below or something similar. OnBeforeValidateShipmentCodeHandler(var SalesHeader; var IsHandled) begin if not GetSomeStatus then SuspendStatusCheck(true); end;
In that case it will fit our purpose. Thank you for your time.
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.