Deletion of Posted Entries

souravb
Member Posts: 135
Hi,
Is it possible to delete Posted Documents(Purchase,Sales and Journal Entries) and all their cascading entries programmatically or in any other way in Navision. The client wants to have the feature to delete all posted entries. Plz help, very urgent.
0
Comments
-
I think yes, but you should make your custom code to do that, modifying all the tables affected by the posting.
Also: in some tables you'll need to give the permissions to modify and delete and last you should probably get the last number of entry used in some tables in order to modify the counter not to let a missing number.
I think it's a very complex job to do, but in theory it could be done.
I'm not an expert, may be there is another solution.
Bye0 -
You can already delete posted sales, purchase invoices, shipments, etc.
I don't think it's legal in most places to be able to delete Ledger Entries.
What is the main reason behind this request from your customer?
1)To Save Space
2)To Erase Wrong Entries
3)Other0 -
You can delete posted documents as long as you have printed the document at least once to paper.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
If you're deleting posted entries ... make sure that:
- you delete all ledger entries (navigate can help you with that)
- you delete all attached dimensions (document dimensen and leger entry dimension)
- you delete all attached documents
- you set the No-serie back to avoid missing document numbers.
- it's legal.0 -
Alex Chow wrote:You can delete posted documents as long as you have printed the document at least once to paper.
Or pause the printer & delete the job from the Queue0 -
Deleting journals and/or G/L and VAT entries is illegal, but you can date compress ledger entries. The item ledger compression can cause problems in some versions, but G/L, Customer, Vendor and VAT ledger entries are usually safe to compress if the compression job is properly set up.
The NAV SIFT ( SumIndexFieldTechnology) needs all entries, no matter how old, to calculate the correct balance (for the present day as well as last week , last month etc.)Kai Kowalewski0
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
- 320 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