Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

Add dialog window to print button

Posted on by 85

I want to add a function prior to the print button.

The user shall have the option to start a process or decline it.

After that the print process shall start as usual.

Is it possible to add that function to every print button that is used to print a sales report?

Categories:
  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,640 on at
    RE: Add dialog window to print button

    I don't understand what you are referring, what dialog box and what options will it have? be clear.

  • Yupp90 Profile Picture
    Yupp90 85 on at
    RE: Add dialog window to print button

    The user shall have the option to store the reports in a document management tool. The dialog window I want to display shall pop up when the user either wants to print or send the report per mail. I have seen such a dialog window in nav (was implemented by a some other guy), but I couldn't figure out how to add the action to both buttons.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,640 on at
    RE: Add dialog window to print button

    You can add the action and store the value in a variable and pass it to the specific print button, there are a few print actions on that page, what are you planning to achieve?

  • Yupp90 Profile Picture
    Yupp90 85 on at
    RE: Add dialog window to print button

    I'm using that way (STRMENU Function, so the user can decide what he wants) for specific sales reports to display a different titles or informations.

    Here I would like to add a logic to all sales reports.

    In the Sales Order List Page I can see the Page Action (Development Environment -> Tools -> Object Designer -> Page -> Design -> View -> Page Action).

    Is it possible to create a page action that will open a dialog prior to the print action?

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,640 on at
    RE: Add dialog window to print button

    What you can do is add your logic to the report, that way it will trigger everywhere.

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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans