Category: Dynamics NAV

  • Dynamics NAV: Lanham Pack Line Scanning posting sales order G/L Account shipping charges

    I recently had an issue where a customer was importing sales orders into Dynamics NAV 2015 from their website using a third-party interface module. Shipping charges were being created as G/L Account sales order lines. The orders were being processed using the Lanham WMS and E-Ship modules.

    The problem was that when the Lanham Pack Line Scanning close order command was given, the packed item lines were being shipped and invoiced correctly, but the the shipping charges were being ignored stopping the sales order from being completely shipped and invoiced.

    What I found was that Lanham have modified Codeunit 7324 Whse. Activity Post (function; InitSourceDocument) to set the Quantity To Ship to zero if the function AllowInWarehousePosting() of the Sales Line table returns false.

    The fix was to set the Shipping Charge field (field number 14000701) to true on Sales Line records for the shipping charge lines. Note; the Shipping Charge field is not available on the Sales Order Card so will require a customisation if the shipping charge lines are to be added manually.

  • Dynamics NAV: Export licensed objects – filter licensed Objects

    Filter Licensed Objects

    A handy tip for when you want to export all the NAV Objects you can in text format but you keep getting licence permission errors when hitting objects out of your licence range (third-party add-ins for instance).

    The Lock function in the NAV Development Environment allows you to lock an object to stop other developers modifying objects you’re currently working on. Why am I telling you this? Well, a nice little feature of Lock is it will only lock Objects in the current licence range… Thus, If you select all objects from the Object Designer and invoke the Lock function (File->Lock or Ctrl+Alt+L) you can now filter on all locked objects.

    Finding Unlicensed Objects

    Tip #2: You want to test a NAV licence against the Objects in a database. In the NAV Development Environment change the licence to the one you wish to test and attempt to lock all objects (as described above). Filtering on the Objects where locked = No will give you a list of all unlicensed Objects.

    Happy locking!

  • Dynamics NAV Error: You have not been granted permission to perform the current activity.

    A quick first post from me!

    You’re trying to synchronize the schema changes after importing a FOB containing one or more Table objects with the Dynamics NAV 2013 R2 (or above) Development Environment.

    You get the following error message: “You have not been granted permission to perform the current activity.”

    Solution: Check that your NAV User has the SUPER role without a company filter applied.