How to find the balanceaccount
hawkeye
Member Posts: 51
I have a long list of customers that have been invoiced or "credit memoed" by mistake, so my taks is to sure that the balance of the customers on the list will be 0.
It seems like all Invoices has only ressourcelines.
I have made an dataport, that reads in the customerlist form CSV. Fore each customer I make a loop in cust. Ledger Entries with a filter on open and my idea is to make the opposite line in af gen. journal.
My problem is to find out the balanceaccount. I cant seem to find wich prod. posting group (or ressource, then I will have it) there has been used.
My escape solution is to loop the ressource Ledger Entry table with a filter on the Invoice No. and then make as many lines in gen. journal lines as I find Ressource ledger entries.
But then what if in one invoice there will be an G/L line.
I think the solution should be simpel and hope that is only my head that is not running fast to day
edit:
I can offcource use invoice Lines to find it, but what if a invoice has been created using the gen journal
It seems like all Invoices has only ressourcelines.
I have made an dataport, that reads in the customerlist form CSV. Fore each customer I make a loop in cust. Ledger Entries with a filter on open and my idea is to make the opposite line in af gen. journal.
My problem is to find out the balanceaccount. I cant seem to find wich prod. posting group (or ressource, then I will have it) there has been used.
My escape solution is to loop the ressource Ledger Entry table with a filter on the Invoice No. and then make as many lines in gen. journal lines as I find Ressource ledger entries.
But then what if in one invoice there will be an G/L line.
I think the solution should be simpel and hope that is only my head that is not running fast to day
edit:
I can offcource use invoice Lines to find it, but what if a invoice has been created using the gen journal
0
Comments
-
This is setup under posting groups for each combination of Product / Business posting group under posting setup
So you could have more then one balance account
The CLE should have the balance field filled in if it was on the orginal invoice or credit note.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 333 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