Reversing NSF Cheque

headley27
Member Posts: 188
Good Day,
We are trying to reverse a transaction in NAV 5.0.
First we are Navigating to the Customer Ledger Entry (Payment) in question and then we are selecting Functions > Reverse Transaction.
On Form 179 (Reverse Entries) we then choose Reversing > Reverse and Print, accepting the confirmation message.
We are then presented with the error message 'You cannot reverse Cust. Ledger Entry No. xxxxxxx because the entry is either applied to an entry or has been changed by a batch job.'.
This error occurs in this function Table 179 (Reversal Entry):
There are 3 Detailed Customer Entries, one is the Initial Entry and 2 are Application Entries. The error is presented during the second loop since the Detailed Customer Ledger Entry Type is Application and not Initial Entry.
So how do I reverse the NSF Payment?
Can anyone suggest what we may be doing wrong?
Thank you very much.
We are trying to reverse a transaction in NAV 5.0.
First we are Navigating to the Customer Ledger Entry (Payment) in question and then we are selecting Functions > Reverse Transaction.
On Form 179 (Reverse Entries) we then choose Reversing > Reverse and Print, accepting the confirmation message.
We are then presented with the error message 'You cannot reverse Cust. Ledger Entry No. xxxxxxx because the entry is either applied to an entry or has been changed by a batch job.'.
This error occurs in this function Table 179 (Reversal Entry):
CheckDtldCustLedgEntry(CustLedgEntry) DtldCustLedgEntry.SETCURRENTKEY("Cust. Ledger Entry No."); DtldCustLedgEntry.SETRANGE("Cust. Ledger Entry No.",CustLedgEntry."Entry No."); IF DtldCustLedgEntry.FIND('-') THEN REPEAT IF (DtldCustLedgEntry."Entry Type" <> DtldCustLedgEntry."Entry Type"::"Initial Entry") AND (NOT DtldCustLedgEntry.Unapplied) THEN ERROR( Text000,CustLedgEntry.TABLECAPTION,CustLedgEntry."Entry No."); //< ERROR OCCURS HERE UNTIL DtldCustLedgEntry.NEXT = 0;
There are 3 Detailed Customer Entries, one is the Initial Entry and 2 are Application Entries. The error is presented during the second loop since the Detailed Customer Ledger Entry Type is Application and not Initial Entry.
So how do I reverse the NSF Payment?
Can anyone suggest what we may be doing wrong?
Thank you very much.
0
Comments
-
You have to unappy the entry first before reversing it.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 -
Thanks Alex.
I looked at the code line (NOT DtldCustLedgEntry.Unapplied) and thought that might be the case.
Unapplying created 2 more Detailed Customer Ledger Entries and now the message I get is 'You cannot reverse Bank Account Ledger Entry No. xxxxxx because the entry is closed'.
It took awhile for us to get the NSF cheque back from the bank. Our accounting department reconciles the bank account weekly and I assume that this is what closes the entry.
Can anything be done?
This is all in a test database. We want to get it right before trying this in our production database.
Thanks again.0 -
You're getting that error because the check has already been reconciled in the Bank Reconciliation.
If it's cleared by the bank, how can you reverse it?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 -
The problem here is that the cheque went into 'bank limbo'.
Typically we are notified in 2 to 3 days, this took 2 to 3 weeks.
We have a workaround for this, a little painful, but it will work.
Thank you Alex for helping us answer a number of our questions.0 -
Sure, no problem.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
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