Don't want to Delete Sales Order
prasad.khorgade
Member Posts: 25
Hello All,
I dont want to delete the Sales Order (Sales Header & Sales Line Data) though it is completely
shipped & Invoiced & other information related to SAles Order (eg. comments, Document Dimension,
Line dimension, payment terms, Structure Details etc..)
In CU - 90- Purch-Post I saw the code
Code -
IF HASLINKS THEN DELETELINKS;
DELETE;
I think above code I need to comment & what code should I need to comment.
Kindly assist me the same.
I dont want to delete the Sales Order (Sales Header & Sales Line Data) though it is completely
shipped & Invoiced & other information related to SAles Order (eg. comments, Document Dimension,
Line dimension, payment terms, Structure Details etc..)
In CU - 90- Purch-Post I saw the code
Code -
IF HASLINKS THEN DELETELINKS;
DELETE;
I think above code I need to comment & what code should I need to comment.
Kindly assist me the same.
0
Comments
-
Why do you want to keep them. This is in my opinion bad practice. Have a look at how to archive an order.0
-
Wouldn't it be better to move all that info to the Archive and delete the sales document?
Why do you want to keep the document on Sales Header and Sales Line tables?0 -
I know if I make (true) Archive Sales Order & Qoute in sales setup then
during posting I am automatically getting the Archive version.
But I have different kind of requirement.
I need a report of Sales Order i.e. Before Posting the Sales Order & can take the print out in the future also.
So if I am going with the Standard Nav practice then I need to post the document & then neet to get the print out. (whcich is not required).0 -
If you book sales invoice from the Sales Invoice form using Get shipment Lines , system will not delete that sales order even Qty = Qty Shipped = Qty Invoiced.0
-
You need to rethink on this. The printout of sales order (without posting) can not be used as Posted Invoice because you always have the option to modify it. As far as Archiving is concerned you can create a custom report on Archived tables to show the sales order printout.nav_pk wrote:I know if I make (true) Archive Sales Order & Qoute in sales setup then
during posting I am automatically getting the Archive version.
But I have different kind of requirement.
I need a report of Sales Order i.e. Before Posting the Sales Order & can take the print out in the future also.
So if I am going with the Standard Nav practice then I need to post the document & then neet to get the print out. (whcich is not required).CA Sandeep Singla
http://ssdynamics.co.in0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions