Options

Can't post transfer order with tracking

arcullarcull Member Posts: 191
edited 2012-07-18 in Navision Attain
Hi there,

Still working on one 3.60 db, which obviously has a bug in handling tracking. The case is this: I posted shipment part of transfer order, but now I can't post receipt. I get a message "Qty. to Handle (Base) must be 4,5 in Tracking Specification Entry No.='1'.", I did some code review and the problem seem to be when the shipment entry of the transfer order applies to multiple purchase entries.

I did check the nav 2009 code in CU 99000835 and 99000830, but here the tracking functions are completely rewritten comparing to 3.60, so I can't use them. Maybe someone knows where could I find a fix for this bug. Thanks very much for help.

Comments

  • Options
    ara3nara3n Member Posts: 9,255
    take a look at 3.7 instead. they fixed many bugs from 3.6.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    arcullarcull Member Posts: 191
    take a look at 3.7 instead. they fixed many bugs from 3.6.
    well obviously not this one, I simulated the example on clean 3.7 DB and no go. I checked the code from 4.0, and applied the code in CU 5705
          TransLine.VALIDATE(
            "Quantity Received",
            TransLine."Quantity Received" + TransLine."Qty. to Receive");
    
          TransLine.UpdateWithWarehouseShipReceive;
    
          //>FIX
          ReservMgt.SetItemJnlLine(ItemJnlLine);
          ReservMgt.SetItemTrackingHandling(1); // Allow deletion
          ReservMgt.DeleteReservEntries(TRUE,0);
          //<FIX
    
          TransLine.MODIFY;
        UNTIL TransLine.NEXT = 0;
      END;
    
    and it looks ok, still have to do some testing
  • Options
    davmac1davmac1 Member Posts: 1,283
    There are still bugs in 2009SP1, and sometimes I have to fix the data to get the tracking lines usable for the form.
Sign In or Register to comment.