ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Leaving a Document message

Open j-wilder opened this issue 7 years ago • 2 comments

Starting in NAV 2018 and changed a little in BC there is a message stemming from the OnQueryClosePage trigger. It asks "The Document No. has not been posted...". I have no control in AL to get rid of this functionality. When we leave a document we do not want a message popping up ever no matter what the state (Open/Released) the order is in. We go in and out of open documents all the time so I would like this code disabled.

Either can a publisher be added so I can exit before that code is called or can you make this based on a Setup option. In C/AL easy enough to comment it out, in AL not possible (yet). Examples are Page 42, 43, 50, 51 and a bunch more.

j-wilder avatar May 14 '19 19:05 j-wilder

We were able to turn this off in My Notifications. The tweak is described here: https://www.solsyst.com/post/2017/10/11/changing-the-document-has-not-been-posted-notification-in-dynamics-nav

From: Jason Wilder [email protected] Sent: Tuesday, May 14, 2019 12:55 PM To: microsoft/ALAppExtensions [email protected] Cc: Subscribed [email protected] Subject: [microsoft/ALAppExtensions] Leaving a Document message (#2443)

Starting in NAV 2018 and changed a little in BC there is a message stemming from the OnQueryClosePage trigger. It asks "The Document No. has not been posted...". I have no control in AL to get rid of this functionality. When we leave a document we do not want a message popping up ever no matter what the state (Open/Released) the order is in. We go in and out of open documents all the time so I would like this code disabled.

Either can a publisher be added so I can exit before that code is called or can you make this based on a Setup option. In C/AL easy enough to comment it out, in AL not possible (yet). Examples are Page 42, 43, 50, 51 and a bunch more.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/ALAppExtensions/issues/2443?email_source=notifications&email_token=AHFK7D7UM2UEMRWCZ5J5MXDPVMKHZA5CNFSM4HM5EY3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GTYLW4A, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHFK7D56PTSWQ55SP5IRZODPVMKHZANCNFSM4HM5EY3A.

'“As part of the merger of Odyssey Foods LLC and Orca Bay Foods LLC, our name will be Orca Bay Foods LLC beginning on April 1, 2019 – and the domain for our email addresses will be changing to @orcabayfoods.com. Although your emails to me at an @ody.bz domain will get to me, please make a note of my new email address as listed above in this email. Thank you!”'. If the disclaimer can't be applied, take no action.

louiskody avatar May 15 '19 00:05 louiskody

Perfect! I totally missed that when tracing through how it worked. It oddly doesn't use the My Notifications table but another table called User Preference which gets populated from disabling something in the My Notifications table. This is solved, thanks a lot!

j-wilder avatar May 15 '19 13:05 j-wilder