Subcontracting Posting Error while receiving Items

santoshmkcetsantoshmkcet Member Posts: 229
Navision 4.0 SP3 database with following Hotfix Versions are imported in the database.

1. IN CDCR PSID 21632.fob
2. IN 4.0SP3 Feature Pack 1(HF2).fob
3. IN CDCR PSID 24250.fob
4. IN CDCR PSID 24793_Objects.fob
5. IN CDCR PSID 24328.fob
6. IN 4.0SP3 Feature Pack 2(HF5).fob
7. IN 4.0SP3 Feature Pack 3(HF6).fob

Aim:
Posted Purchase Receipt to be created showing Item received based on the lines in Subcontracting Order

Issue:
In a Subcontracting Order, there is more than one line with items.
For e.g. In a subcontracting order with Item A with 500 Nos. in Line No. 10000 & Item B with 600 Nos. in Line No. 20000.

Selecting the second line (Line No. 20000) in Subcontracting Order, go to Line Order Subcon. Details to receive the Item B for 300 Nos. in Receipt Details tab.

While clicking Receive button in Receipt Details tab in Order Subcontracting Details of selected line other than first line (Line No. 10000) in Subcontracting Order, Posted Purchase Receipts are created always taking the first line details only.

For e.g. when clicking Receive button in Receipt Details tab in Order Subcontracting Details while selecting Line No. 20000 for receiving 200 Nos. of Item B, what was expected was Posted Purchase Receipt with Item B with 200 Nos., but Posted Purchase Receipts are created with Item A with 0 Nos. received.

Requirement:
Posted Purchase Receipt to be created showing Items received based on the lines in Subcontracting Order, i.e. if the Item in Line No. 20000 of Subcontracting Order is received the receipt should be created for that Item in Line No. 20000.
Thanks & Regards
Santosh
Where Stones can be transformed to Gold

Comments

  • santoshmkcetsantoshmkcet Member Posts: 229
    Is it a bug? :-k
    Thanks & Regards
    Santosh
    Where Stones can be transformed to Gold
  • jubeljoyjubeljoy Member Posts: 154
    Any body got the answer of this? We too face the same issue..
  • santoshmkcetsantoshmkcet Member Posts: 229
    It si a bug.

    Microsoft has released a patch for this
    Thanks & Regards
    Santosh
    Where Stones can be transformed to Gold
  • lallylally Member Posts: 323
    Hi santosh,

    can you throw that patch Link.
    lally
  • jubeljoyjubeljoy Member Posts: 154
    Anybody know about this Subcontracting Patch?
  • santoshmkcetsantoshmkcet Member Posts: 229
    Sure!!!

    Sorry for the delay as I did not see this post.

    Here is the patch

    OBJECT Codeunit 90 Purch.-Post |

    Before (OLD)
    Codeunit 90
    Properties

    PurchLine.RESET;
    PurchLine.SETRANGE("Document Type","Document Type");
    PurchLine.SETRANGE("Document No.","No.");
    LineCount := 0;
    AmountAddedtoVendor := 0;
    SrcCurrAmountAddedtoVendor := 0;

    After (NEW)

    PurchLine.RESET;
    PurchLine.SETRANGE("Document Type","Document Type");
    PurchLine.SETRANGE("Document No.","No.");

    IF Subcontracting THEN // add line
    PurchLine.SETRANGE("Line No.",SubConPostLine); // addline
    LineCount := 0;
    AmountAddedtoVendor := 0;
    SrcCurrAmountAddedtoVendor := 0;
    Thanks & Regards
    Santosh
    Where Stones can be transformed to Gold
  • jubeljoyjubeljoy Member Posts: 154
    Thank you very much dear Santhosh!! =D>
  • AnoopbaluAnoopbalu Member Posts: 4
    jubeljoy wrote:
    Thank you very much dear Santhosh!! =D>
    good work =D>
Sign In or Register to comment.