Multiple PO's from requisition worksheet when Vendor is same

Malcolm_ClarkeMalcolm_Clarke Member Posts: 6
Hi, I recently upgraded my client from 2.1 to 3.70B. They have been holding off for some time with this. Anyway, I have discovered since, then when they create a Sales Order for drop shipments, and then change the location on the SO from the default one on the Customer card, then run the requisition worksheet to create the PO, it will always create 2 PO's even if the Vendor is the same, the dates are the same, the locations are the same.

As soon as I change the location on the customer card and re-do the Order, then only one PO is created as it should.

Any idea as to why this would be the case, or any knowledge as to weather this is a bug when upgrading from such an old version to 3.70.



  • Options
    ara3nara3n Member Posts: 9,256
    Hello Malcolm
    This how CU 333 works. Here is the code
      IF NOT SpecialOrder THEN BEGIN
        IF "Ship-to Code" <> '' THEN
          PurchOrderHeader.VALIDATE("Ship-to Code","Ship-to Code")
          PurchOrderHeader.VALIDATE("Location Code",ReqLine2."Location Code");
        PurchOrderHeader.VALIDATE("Location Code",ReqLine2."Location Code");

    You can change the code so that it always gets the location from reqline.

    PurchOrderHeader.VALIDATE("Location Code",ReqLine2."Location Code");
    Ahmed Rashed Amini
    Independent Consultant/Developer

    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.