web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Document sending profile - skip shipment document confirmation

(4) ShareShare
ReportReport
Posted on by 75
Hi all, I receive a requirement to skip this shipment confirmation message after "Post and Send" in sales order. 
Do you guys know where or which event subscriber that I can use? Thank you in advance.

I have the same question (0)
  • Suggested answer
    TAHER Mehdi Profile Picture
    403 on at

    That confirmation comes from the local procedure that uses the label:

    SendShipmentAlsoQst: Label 'You can take the same actions for the related Sales - Shipment document.\Do you want to do that now?';
     

    • Event: OnBeforeConfirmDownloadShipment
    • Publisher: Codeunit 80 "Sales-Post"
    • Pattern: Result (Boolean) + IsHandled (Boolean)
  • Verified answer
    TAHER Mehdi Profile Picture
    403 on at

    If your requirement is to skip the prompt and not repeat the action for the related shipment, this subscriber is sufficient:

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Sales-Post", 'OnBeforeConfirmDownloadShipment', '', true, true)]
    local procedure OnBeforeConfirmDownloadShipment_Skip(
        var SalesHeader: Record "Sales Header";
        var Result: Boolean;
        var IsHandled: Boolean)
    begin
        Result := false;
        IsHandled := true;
    end;
  • HelioBuenos Profile Picture
    75 on at
    Hi @TAHER Mehdi, thank you for your answer, it works!
    but I face another issue which is the invoice report is not downloaded. It is supposed to download the invoice before the shipment confirmation

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,798

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 812 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 717 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans