Friday, May 29, 2015

Dynamics NAV - Warehouse Shipment Lines do not post - Number of Source documents posted: 0 out of a total of 1. Some ship lines remain.

Cause
You do not have sufficient stock of one of the line items in your shipping bin to allow this shipment to post.
OR
The total amount of inventory in the location you are trying to ship from is negative due to unposted Transfer Shipments waiting to be posted

  • Check each line 
  • Go to Line>Bin Contents List and confirm there is stock available in the "Available Qty to Take" column
  • Adjust or transfer in any stock as required
  • Post Shipment
ALSO
  • Post all older shipments prior to this shipment to consume stock in the shipping bin

To enable a proper error message when this occurs:
  • Modify Table 32 Item Ledger Entry CAL Code
  • Function VerifyOnInventory()
  • Look for

CASE "Entry Type" OF
  "Entry Type"::Consumption,"Entry Type"::"Assembly Consumption","Entry Type"::Transfer:
    ERROR(IsNotOnInventoryErr,"Item No.");

  • Replace with

CASE "Entry Type" OF
  "Entry Type"::Consumption,"Entry Type"::"Assembly Consumption","Entry Type"::Transfer:
    //MOD
    BEGIN
        Message('Insufficient Stock Of Item: ' + "Item No." + ' Qty: ' + format(Quantity,15,0) ) ;
    //MOD
    ERROR(IsNotOnInventoryErr,"Item No.");
    //MOD
    END
    //MOD

No comments:

Post a Comment