Hi All,
I want to Shipment date should not be automatically filled when creating a new sales order. currently It is filled Automatically, and it is today date. I have tried the below code but that is not work for me. Can anyone give me a solution? What was the problem?
//Code
Thank you so much, it is work.
hello
subscribe to this event:
OnInitRecordOnBeforeAssignmentShipmentDate(Rec, IsHandled);
like this:
[EventSubscriber(ObjectType::Table, 36, 'OnInitRecordOnBeforeAssignShipmentDate', '', false, false)]
local procedure MyProcedure(var SalesHeader: Record "Sales Header";var IsHandled: Boolean)
begin
IsHandled:=true;
end;
check my answer if it was helpful, thanks
DAniele
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156