Hello,
I am working on NAV 2013.
I am facing situation when some users accidentally close NAV. Is there any possibility to show user confirmation dialog if they wont to close NAV.
I`ve checked CU1 but there is only CompanyClose() trigger, and this trigger is not fired when i am closing NAV.
There is aloso no possibility to write any code in OnCloce trigger in Role Center Page.
Any ideas?
Regards,
0
Comments
You could try to use the trigger of pages that you use in the role center pages.
This works. I tried it on an activities-page. Would be a nice feature to ask users if they want to close NAV. I noticed users are more likely to close NAV 2013 accidently than they do with NAV classic client.
Tino Ruijs
Microsoft Dynamics NAV specialist
You solution works, but randomly NAV show confirmation dialog twice.
I put this code in P9060 SO Porcessor Activities:
Maybe if you use a global ConfirmShowed, you can prevent the CONFIRM is executed twice?
Disadvantage of this solution is, you have to modify multiple pages to make it work for every user.
Tino Ruijs
Microsoft Dynamics NAV specialist
I am courios about why this trigger is run twice during RC Page closing?
The trigger is also fired when choosing other menu options beneath Role Center.
Tino Ruijs
Microsoft Dynamics NAV specialist