Skip to main content

Dynamics NAV Developer Digest

Dynamics NAV Developer Digest 

The NAV community, including the ArcherPoint technical staff—is made up of developers, project managers, and consultants who are constantly communicating, with the common goal of sharing helpful information with one another to help customers be more successful.
As they run into issues and questions, find the answers, and make new discoveries, they post them on blogs, forums, social media...so everyone can benefit. We in Marketing watch these interactions and never cease to be amazed by the creativity, dedication, and brainpower we’re so fortunate to have in this community—so we thought, wouldn’t it be great to share this great information with everyone who might not have the time to check out the multitude of resources out there? So, the ArcherPoint Microsoft Dynamics NAV Developer Digest was born. Each week, we present a collection of thoughts and findings from NAV experts and devotees around the world. We hope these insights will benefit you, too.

Dynamics NAV 2017: Troubleshooting Error “Object of type Query with ID 1850 could not be found”

Many are getting into NAV 2017 and learning the ins and outs of this latest release from Microsoft. And, with all new releases, one may encounter an error message or two. Michael Heydasch came across this particular error and shares his insight after investigating the source of said error:
This post includes some troubleshooting steps when diagnosing an interesting error message that ended up having to do with extensions. Matt Traxinger said there are four extensions that ship out-of-the-box with NAV 2017, and if an object is referenced that is not visible or not accessible, your first look should be at extensions.
When validating the Buy-from Vendor on a new Purchase Invoice:
Error "Object of type Query with ID 1850 could not be found."
Stopped in Codeunit 1854 Item Sales Forecast Notifier
Codeunits visible in Object Designer stopped with 1817 (?) ... next available was 1900.
Codeunit 1854 visible in Page AllObj.
Table 2000000038 AllObj not available in SQL.
At a point shortly before the debugger stopped:
Function InitializeSalesForecastQuery had an IF statement:
IF NOT SalesInventoryForecastSetup.GET THEN
EXIT(FALSE);
SalesInventoryForecastSetup pointed to Table 1853. Again, not available.
Could not use Table 1853 as the SourceTable for a new page object, as the TableData was not available.
Could not write code to delete the record, as a variable could not use Table 1853, it was not available.
Could not write code using RecordRef, because TableData 1853 was not available.
Could not disable the Event Subscription, as the Event Subscription table is read-only, even in code.
After some research, I discovered an extension was in play.
Did not find a PowerShell command to list the NAV Apps installed.
Designed new Page object 50098 "NAV Apps" with SourceTable 2000000160 "NAV App"
Ran the page, found "Sales and Inventory Forecast"
PowerShell commands to remove the App/Extension:
PS C:\Windows\system32> Uninstall-NAVApp -Name "Sales and Inventory Forecast" -ServerInstance nav2017test
PS C:\Windows\system32> Unpublish-NAVApp -Name "Sales and Inventory Forecast" -ServerInstance nav2017test
After this everything was okay, we were able to validate the vendor on the purchase invoice. 
Saurav shares his two (I mean, three) cents:
  1. You can check a list of objects which are part of an extension using table "2000000150 - NAV App Object Metadata"
  2. I think if we don't want to use an extension we should uninstall it, not just unpublish it.
  3. For Install / Un-install we can do it from NAV Client (2017 onwards), using Page Extension Management (2500) - Departments/Administration/IT Administration/Extensions.

NAV 2017: Pop-up Notification when Exiting Unposted Orders

Gwen Britt asks, “Has anyone else noticed this cool new feature when exiting an order that hasn't been posted? You get a pop-up that questions, ‘This document has not been posted. Are you sure you want to exit?’ Anyone know how to make it stop doing that? It's driving me nuts. Thank you.”
Suresh Kulla informs, “You can disable those on Application Setup - Role Tailored Client - My Notifications.”

Microsoft Dynamics NAV 2015 Videos

Taking a step back a few versions, Microsoft has a plethora of videos on how to do things in Dynamics NAV 2015. Very cool!

Microsoft Knowledgebase Site Updates

Crystal Tollison shares, “For anyone who has tried to access the MS KB site, here is good news (I hope). I am sharing a reply from their helpdesk:
Just a follow-up on the KB dilemma. You should be able to download 'most' of the cumulative updates now by using the following link and adding the KB number on the end: https://support.microsoft.com/help/ 
So as an example, the KB number for Cumulative Update 13 for NAV 2016 is 3202891. The link would look like this: https://support.microsoft.com/help/3202891
If you need to find out the KB numbers, just go out to the NAV Team blog and search on the Cumulative Update: https://blogs.msdn.microsoft.com/nav/
Downloading was necessary because the KB site was down for a time.”

Leadership Lines

A thought worth pondering…
We have always done it that way
Figure 1 - The Seven Most Expensive Words in Business: "We have always done it that way"
Stay abreast of what is new in the Microsoft Dynamics NAV community and at ArcherPoint by subscribing to our monthly newsletter, Better Business, by completing the form in our Resource Center.
And, if you are interested in NAV development, be sure to see our collection of NAV Development Blogs

Comments

Popular posts from this blog

Quick Fix Visual Studio displaying NAV Report Layout as XML

I got this issue with Visual Studio 2015 Enterprise Edition.  Every time I open a Dynamics NAV report layout in Visual Studio, RDLC is rendered as XML file instead of visual layout with all the fields and tool boxes.  How the report layout looks:  FIX : In order to fix the issue you need to install  "Microsoft SQL Server Data Tools" .  To install "Microsoft SQL Server Data Tools" you need to go to  Control Panel   ->  Programs and Features  - >  Microsoft Visual Studio <Edition>  -> Change Or you can re run the installation setup.  From the features list, enable "Microsoft SQL Server Data Tools" option and proceed.  Once the installation is completed you are good to go. This time report layout will open in correct design layout.  Hope this helps you to resolve the issue. happy designing.  Please provide your feedback with a comment.  Thank you and Regards, +256775120005 Kairo Okello Dan ERP Solutions Consultant

The Difference Between Microsoft Dynamics NAV and AX

The Difference Between Microsoft Dynamics NAV and AX Microsoft Dynamics offers a variety of ERP solutions. You might say there is a solution for every purpose and every industry. Two of the offerings,  Dynamics NAV  and  Dynamics AX (now part of  Dynamics 365 ) share some of the same features so you might wonder: ‘what are the differences and which is right for my organization?’ Both ERP solutions are highly customizable, available in and adaptable to many languages and currencies used around the world. The two solutions can also be employed in a central location or across diverse satellite locations and are designed to grow as a business grows. Their industry-specific functionality can assure compliance with local and regional requirements. In short, both solutions could rightly be described as comprehensive and well equipped to manage complex requirements of supply chain and inventory. So, what is the difference? Is one better than the other for your particular organiz

How to install a Microsoft Dynamics NAV cumulative update

How to install a Microsoft Dynamics NAV 2018 cumulative update Introduction This article describes how to install a cumulative update for Microsoft Dynamics NAV 2018. You have to recompile all objects after you install a cumulative update. A cumulative update is a cumulative set of files that includes all hotfixes and regulatory features that have been released for Microsoft Dynamics NAV 2018. A cumulative update includes files that are separated into the following folders: APPLICATION DVD See  Upgrading the Data to Microsoft Dynamics NAV 2018  for details. How to install the cumulative update files APPLICATION The APPLICATION folder includes the following files: AccumulatedChangeLog.<Locale>.<Build No.>.txt Changelog.<Locale>.<Build No.>.txt CUObjects.<Locale>.<Build No.>.fob Objects.<Locale>.Objects.<Locale>.<Build No.>.txt To install the application files, follow these