Deposit-Post Codeunit Question

Savatage
Member Posts: 7,142
What's so bad about partially applying a credit to an invoice?
Say and inv is $100 and they pay me $90. They have a $20 credit.
Why can't I apply the $20 along with the $90 and pay off the $100 inv. Then leave $10 open on the credit to be applied somewhere else?
Codeunit 14017060 Deposit-Post.
Anybody see problems commenting this out?
This is a long method- & i'm getting old
http://www.mibuso.com/forum/viewtopic.php?t=5319
Say and inv is $100 and they pay me $90. They have a $20 credit.
Why can't I apply the $20 along with the $90 and pay off the $100 inv. Then leave $10 open on the credit to be applied somewhere else?
Codeunit 14017060 Deposit-Post.
CheckDepAppLine(TransDepAppLine) WITH TransDepAppLine DO BEGIN IF ("Document Type" = "Document Type"::"Credit Memo") AND ("Remaining Amount" <> 0) AND ("Account Type" = "Account Type"::Customer) THEN ERROR( 'Credit Memo No. %1 in Deposit Line No. %2 is not completely applied.', "Document No.", TransDepAppLine."Deposit Line No.");
Anybody see problems commenting this out?
This is a long method- & i'm getting old
http://www.mibuso.com/forum/viewtopic.php?t=5319
0
Comments
-
Ok, that codeunit is from an early add-on called fast cash - I believe most of it's improvments were added into standard nav in 3.6 or 3.7.
I commented out the code an all seems fine.
Just curious now on any reason they would want to force you to use a complete amount of the credit while you can partially pay an inv without problem. any ideas?
3 days till Jamaica \:D/0
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