ArcherPoint Dynamics NAV Developer Digest - vol 191
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.
RapidStart Renamed in Dynamics 365 Business Central
This question was posted in the Microsoft partners Yammer group: “Am I missing something or is RapidStart not yet available in Business Central?” Several partners replied noting that “it has been renamed to the Configuration Worksheet” and “make sure to use Essential at a minimum for User Experience. Otherwise configuration packages may not show up.”
Tool That Determines Unused Variables in Dynamics NAV
Kyle asks, “Does anyone have a tool that can go through a NAV object and tell you about unused variables?”
Matt T. responds, “Object Manager Advanced will do it. It does take several hours to process the objects, though. Additionally it has a Check Guidelines feature that will clean up your code for you and show you any potential issues, like mismatched variable lengths or variables with the same name.”
Developer Tip of the Day
Kyle shares, “If you are writing a CMD (batch) file to create a new NAV Service Tier but the command line is too long to fit on one line, the ^ character means a line continuation.”
Saurav suggests, “Use PowerShell ISE. It’s easy to use and GUI-based. Cmdlet – New – Service.”
Kyle responds, “I end up using the SC command when I have mixed build numbers. I have four separate builds of 2016, and the admin shell will only create services for the base (originally installed) build number.”
Bill asks, “Can Docker help here?”
Kyle replies, “An interesting thought. Since docker images are layered… I still have it on my skunkworks list to build a docker image that has no SQL server in it at all. It can just be an NST. But even if I just use Feddy’s images, I’d really only have the space taken up by SQL once (unless he used different versions of SQL for different builds).
The one thing I have not been successful at is finding all of the installation scripts. Freddy publishes the NAV ones, but not the SQL, dotnet, or OS scripts.”
Bill adds, “I don’t believe each instance of the container would take up more space. In docker the “file system” is the last or one of the last layers. This is where the container would write to and use the common “SQL” layer for each one.
And this is one of those things where buying more hard drive is the appropriate trade off if you have space issues.”
Dynamics NAV Cumulative Updates
It has been a while since we shared the list and links of the latest Dynamics NAV cumulative updates:
- Dynamics NAV 2018 released cumulative updates
- Dynamics NAV 2017 released cumulative updates
- Dynamics NAV 2016 released cumulative updates
- Dynamics NAV 2015 released cumulative updates
Permissions for Users to Set the Work Date in Dynamics NAV 2009 R2
Alan reaches out for help stating, “I am working with a client that is on NAV 2009 R2 classic client. They have a need to control which users have the ability to change the Work Date in the system. If you have done this, or are even willing to brainstorm on how this can be achieved, please reply to this message.”
Matt T. responds, “There used to be a permission for everything on the Tools menu. It was just setup through normal user permissions.”
Jon suggests, “You might create a Process Only Report that sets the Allow Posting dates on those users to TODAY. It would need to run every night before the users log in.”
Kyle also replies, “In 2009R2, there is no role permission for changing the Work Date, at least not that I could find. I looked all through the System:: ones.”
Matt offers, “If there isn’t a permission for it, it is an option that is built into the executables, meaning not really modifiable. What is the problem the client is trying to solve?”
If you are interested in NAV development, be sure to see our collection of NAV Development Blogs.
Read the “How To” blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV.