Apply Ledger customer with a payment

Truiti
Member Posts: 3
Hi,
It is possible with code to apply a Payment against different customer Ledger entries?
For exemple:
Invoice Customer N°1 = 500$
Invoice Customer N°2 = 1000$
I receipt a payment by other customer, he's a third party payer.
Payment Customer N°3 = 1500$
When I enter the payment, i use customer N°3 because i have modifed the code for Apply ID between invoice to the Customers N°1 et Customer N°2.
When I validate, a specific code genere entries automatically on customers. The balance is good.
So, my problem is the customer Ledger entries be "Open" or this entries must be close because the payment is OK.
Thanks for your help
It is possible with code to apply a Payment against different customer Ledger entries?
For exemple:
Invoice Customer N°1 = 500$
Invoice Customer N°2 = 1000$
I receipt a payment by other customer, he's a third party payer.
Payment Customer N°3 = 1500$
When I enter the payment, i use customer N°3 because i have modifed the code for Apply ID between invoice to the Customers N°1 et Customer N°2.
When I validate, a specific code genere entries automatically on customers. The balance is good.
So, my problem is the customer Ledger entries be "Open" or this entries must be close because the payment is OK.
Thanks for your help
0
Comments
-
-
Hello,
I can't use Field "bill to customer" beacause invoices must be really pass to "sell to customer".0 -
Truiti wrote:i have modifed the code for Apply ID between invoice to the Customers N°1 et Customer N°2.
So the responsibility is with you only.0 -
This kind of modification is not recommended and should always be avoided because it will create inconsistency in the database and you might face problems in posting of reversal voucher and unapplying application entries. Foreign currency application might also create problems.
Can you spell the exact nature of requirement? I think the real problem lies there and modification to NAV the way you have done should be avoided.CA Sandeep Singla
http://ssdynamics.co.in0 -
Edit0
-
vijay_g wrote:So the responsibility is with you only.
i know the guy doing that system does not recommended to do.
try not to become a man of success rather become a man of value.
You have made a code change that you should not have made, so who else would the responsibility be with?
The correct way to do this is to journal the amounts between customers.David Singleton0
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