Sales Line table contains lines from Posted documents
aadams
Member Posts: 19
Hello,
We've developed a Jet report that uses the Sales Line table (NAV 2015) to build a picking list for our shipping depot. Our users reported that old orders are reappearing on this list, which upon inspection turned out to be caused by the Sales Lines table including lines for documents that have been fully posted. It was my understanding that once a Sales Order was posted (entirely shipped/invoiced) the lines would be moved from the Sales Line table into the Sales Invoice Line table. Is this not the case? It appears to keep lines from random orders (only a few out of hundreds so far).
Any ideas? Could this be a NAV bug?
We've developed a Jet report that uses the Sales Line table (NAV 2015) to build a picking list for our shipping depot. Our users reported that old orders are reappearing on this list, which upon inspection turned out to be caused by the Sales Lines table including lines for documents that have been fully posted. It was my understanding that once a Sales Order was posted (entirely shipped/invoiced) the lines would be moved from the Sales Line table into the Sales Invoice Line table. Is this not the case? It appears to keep lines from random orders (only a few out of hundreds so far).
Any ideas? Could this be a NAV bug?
0
Answers
-
Hello,
this is not necessarily a bug, this may be a nomal behavior.
Sales Lines are only automaticaly deleted when their Sales Order Header is completely shipped and completely invoiced and the Invoice is posted from the Sales Order. If you use Compine Shipments or post the invoice by a Sales Invoice with importing the posted shipments there, then you have to use the report "Delete Invoiced Sales Orders" to delete the completed orders.
So in this case you should filter the Sales Lines on the field "Outstanding Quantity" <>0. This should only show not completely shipped order lines.
In some NAV implementations automatical deletion is disabled, because their users need the old Sales Lines for statistics.
regards
Fiddi0 -
Hi Fiddi,
Thank you for your response. It makes a bit more sense now with your explanations.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
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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