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
0
Comments
Santosh
Where Stones can be transformed to Gold
Microsoft has released a patch for this
Santosh
Where Stones can be transformed to Gold
can you throw that patch Link.
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;
Santosh
Where Stones can be transformed to Gold