ArcherPoint Dynamics NAV Developer Digest - vol 79
The ArcherPoint technical staff—made up of developers, project managers, and consultants – is constantly communicating internally, with the goal of sharing helpful information with one another.
As they run into issues and questions, find the answers, and make new discoveries, they post them companywide on Yammer for everyone’s 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 group—so we thought, wouldn’t it be great to share them with the rest of the Microsoft Dynamics NAV Community? So, the ArcherPoint Microsoft Dynamics NAV Developer Digest was born. Each week, we present a collection of thoughts and findings from the ArcherPoint staff. We hope these insights will benefit you, too.
Kyle Hardin shared a Dynamics NAV 2016 feature:
Dynamics NAV 2016 now has a FOREACH statement that can be used against .NET collections. Very, very cool.
Example:
FOREACH FoundXmlNode IN FoundXmlNodeList DO BEGIN TempValue := FoundXmlNode.Attributes.ItemOf('name').Value; IF FORMAT(TempValue) = FORMAT(OptionName) THEN EXIT(FoundXmlNode.InnerText); END;
Tim Muldoon shared a link on the application changes in Microsoft Dynamics NAV 2016:
This article outlines the application features in Dynamics NAV 2016 that have been added since Dynamics NAV 2015.
What’s New: Application Changes for Microsoft Dynamics NAV
For a feature comparison of all the Dynamics NAV products from version 4.0 through 2015, check out Microsoft’s Feature Comparison tool:
Microsoft Dynamics NAV Feature Comparison Tool
Saurav Dhyani shared a link on the PowerShell Runner Add-In:
This article from the Microsoft Developer Network discusses how to run Windows PowerShell scripts with Dynamics NAV. As the article points out, this can be accomplished with .NET libraries, but Dynamics NAV 2016 comes with an add-in called PowerShellRunner that allows you run PowerShell scripts from the Dynamics NAV client.
Coffee Break: Use the PowerShell Runner Add-In
Dara Daly shared a link to generating ideas for blog posts:
Stuck for a topic for your next blog? This list from GetResponse.com contains over 150 blog ideas to get you into writing mode. From trends in your industry to best practices to how to, this list pretty much covers it all.
Question on updating parent pages from subpages:
Question: I have a customer that wants to see the total amount of a sales order on the Sales Order page, and they want it to update as the user adds/changes/deletes Sales Lines. I figured out that I could add Outstanding Amount ($) to the fields on the Sales Order page, but that doesn’t update without a refresh, and I didn’t see a super-quick way in code to do a refresh when a line was changed.
Suresh Kulla: What NAV version they are running, if they are on NAV 2015 or above then there is a new property, check the link
Update Parent Page from Subpage
If they are on earlier version then you need to write a function which will execute F5 using Shell command.
If you are interested in NAV development, check out our collection of NAV Development Blogs.
For step-by-step instructions on how to perform specific tasks in Microsoft Dynamics NAV, see our collection of How-To blogs.
If you found this post useful, you might also be interested to read through our archive of the Dynamics NAV Developer Digest.