Got Error When Get Return Receipt Lines in Sales Credit Memo
bestianhow
Member Posts: 120
Hi Experts,
I have encountered an error when i try to Get Receipt Lines in Sales Credit Memo.
I'm using Version NAV 2009 SP1.
Step as below:
Sales Return Order
==============
1. Create a Sales Return Order, fill in Sell-to Customer No.
2. Function -> Get Posted Doc&ument Lines to Reverse.
3. Post Receive.
Sales Credit Memo
==============
1. Create a Sales Return Order, fill in Sell-to Customer No.
2. Function -> Get Return Receipt Lines
3. Select Return Receipt Lines and press OK button.
4. Received Error message. Please refer to attachment file.
Thanks.
I have encountered an error when i try to Get Receipt Lines in Sales Credit Memo.
I'm using Version NAV 2009 SP1.
Step as below:
Sales Return Order
==============
1. Create a Sales Return Order, fill in Sell-to Customer No.
2. Function -> Get Posted Doc&ument Lines to Reverse.
3. Post Receive.
Sales Credit Memo
==============
1. Create a Sales Return Order, fill in Sell-to Customer No.
2. Function -> Get Return Receipt Lines
3. Select Return Receipt Lines and press OK button.
4. Received Error message. Please refer to attachment file.
Thanks.
0
Answers
-
Is it bug?
In version 5.00 SP1 not this problem
0 -
I found the coding got different between Version 5.00 SP1 and Version NAV2009 SP1.
I replace the NAV500SP1's coding to NAV2009SP1, then will solved the error.
The coding will change in Table 6661's InsertInvLineFromRetRcptLine() function//6.01-NAV001 Start //SalesLine."Return Qty. Received" := 0; //SalesLine."Return Qty. Received (Base)" := 0; SalesLine."Return Qty. Received" := Quantity - "Quantity Invoiced"; SalesLine."Return Qty. Received (Base)" := "Quantity (Base)" - "Qty. Invoiced (Base)"; //6.01-NAV001 End
Thanks.0 -
Hello All,
I also got the same problem while doing Get Return Receipt Lines in Sales Credit Memo.
I refer above solutions also.
I found on OnValidate trigger in Quantity field in "Sales Line" table in NAV 5.00 and 6.00 SP1.
there is one line of codeCheckApplFromItemLedgEntry(ItemLedgEntry);
which might be a reason of an error.
So, I did some change in code as below,IF "Document Type" <> "Document Type"::"Credit Memo" THEN //New Line Added CheckApplFromItemLedgEntry(ItemLedgEntry);
My Problem also solved by above change.
Just want to make confirm, whther it's a Feasible change or not?
Please, suggest.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions