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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Sales Order opens by itself

(0) ShareShare
ReportReport
Posted on by 555

Hi,

When I in NAV 2017 in Sales Order List (page 9305) press the "New" button, it opens the Sales Order page (page 42). I then make the new sales order and invoice it using F9.

This makes the new Sales Order dissappear and one of the other Sales Orders from the Sales Order List opens up in the Sales Order page in edit mode.

Why does it open an old Sales Order and how do I make sure that it does not do that?

Hope you can help me :-)

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Gulshan Shubham Profile Picture
    2,210 on at

    Ideally, the page should close as per the event defined by you. But, as it's not happening do check if the CLOSE function is being called or not. May be you had some customisation because of this the change occurred. Please check the respective code unit for the CLOSE function being called.

  • Morten Steengaard Profile Picture
    555 on at

    Thank you for helping me.

    I found out that when you create a new sales order and invoice it, then NAV does not close the page. But when you open an existing sales order and invoice it, then NAV closes the page. I have changed that now, so that if I cannot GET the record after invoicing it, then I call CurrPage.CLOSE.

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

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans