Tag: Pack Line Scanning

  • Dynamics NAV: Lanham Pack Line Scanning – Ship single item in multiple packages

    Occasionally when working with Lanham Pack Line Scanning for Dynamics NAV a single item needs to be shipped in two (or more) separate packages. In this blog post I’ll offer two solutions to this issue.

    Solution 1 – Empty Package

    This can be achieved using the create extra package command (//CEP) which will create an “empty” Package record. For example:

    1. Open order
    2. Scan item
    3. Close package
    4. Create empty package (//CEP)
    5. Close package
    6. Close order

    A drawback of solution 1 is that the empty package won’t have any package lines and won’t be associated with any items.

    Solution 2 – Part Quantities

    Another solution is to manipulate the item quantity on the package to only assign part of the item. For example packing a single NAV item in two packages could be done with a quantity of 0.5 in each package:

    1. Open order
    2. Scan item
    3. Open Package Card
    4. Change quantity to 0.5
    5. Close package
    6. Scan item again (This will display over pack warning)
    7. Open Package Card
    8. Change quantity to 0.5
    9. Close package
    10. Close order

    This solution has a few more steps, but will result in the package being associated with an item.

  • 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.