NAV Developer's Corner Blog

Where NAV developers can learn about NAV features, customizations, troubleshooting, and bug fixing.
Mail Management - Bug Fix
by Tony Phan, October 2018

Starting with NAV 2015, a new table (9500 Email Item) and Codeunit (9520 Mail Management) was introduced as a method for sending emails, which can include attachments. However, up until NAV 2017, we can only include 1 attachment in each email. Beginning with NAV 2018, we can include up to 5 attachments but this is where I found a bug. This bug occurs only if we check the box "Edit in Outlook", where the email will be opened in Outlook for us to review before sending the email.


Email Dialog - Show Additional Attachments
by Tony Phan, October 2018

Beginning with NAV 2015 and up until NAV 2017, we can only include 1 attachment in each email, therefore, this was never an issue. However, beginning with NAV 2018, we can include up to 5 attachments. Unfortunately, the Email Dialog was not updated, thus we continue to see only 1. The bad part about this is that we can potentially send up to 4 more additional attachments without realizing it, if we opted to send it immediately without checking the "Edit in Outlook" option.


Basic Dropdown - Javascript Control Add-in
by Tony Phan, January 2021

This is a step-by-step tutorial on how to create a simple dropdown, Javascript Control Add-in for Dynamics NAV, utilizing Javascript and C#.  This version was written and tested in NAV 2018 but, I believe, it should be backward compatible as far as NAV 2013 R2.


NAV client crashes on cursor over taskbar item
by Tony Phan, April 2021

Fix an annoying crash when your cursor is over the Windows taskbar item.