RapidStart NAV 2016 and Automatic Cost Posting

  • RapidStart NAV 2016 and Automatic Cost Posting

    Posted by Jason Wilder on September 19, 2018 at 12:17 pm
    • Jason Wilder

      Member

      September 19, 2018 at 12:17 PM

      We just recently created a permission set for rapid start and assigned it to a few people.Ā  Upon first use the users needed permission to modify the Inventory Setup table.Ā  The Package they were using has nothing to do with the Inventory Setup table, not even close.

      Upon further investigation I found some odd code that runs when you hit the Apply Package button in the ribbon of the Config. Package Card page.Ā  The code is located in Codeunit 8611 Config. Package Management, Function ApplyPackage at the top.Ā  It basically changes the field “Automatic Cost Posing” to false in the Inventory Setup table!Ā  Then at the end of the function it sets it back to the original value.Ā  This is so weird.Ā Ā 

      Here’s the issue though.Ā  There is a commit in between this and if you get an error after that commit it never gets the chance to set the “Automatic Cost Posting” field back to its original (this happened to us in our test environment).Ā 

      I checked a NAV 2018 database and this code has been completely removed.Ā  I thought it worth mentioning to those NAV 2016 users (could be in other versions as well) that use rapid start as this could be quite undesirable to turn Automatic Cost Posting off unintentionally.Ā  To solve this simply comment out the first 8 lines and the last 13 lines of code in Codeunit 8611 ApplyPackage Function.

      ——————————
      Jason Wilder
      Senior Application Developer
      Stonewall Kitchen
      York ME
      ——————————

    Jason Wilder replied 7 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘RapidStart NAV 2016 and Automatic Cost Posting’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!