Sales/Purchase Document Postings To G/L

Jonathan2708
Member Posts: 552
Hi,
Out of the box NAV posts sales/purchase documents to the G/L by consolidating any G/L lines on the document that have the same G/L code and dimensions. This means that you lose the line detail in the G/L entries and are left with just one entry per G/L account and dimension, with a description of the invoice number. This makes analysing the account tiresome as you have to navigate to the sales/purchase document each time in order to see the details.
In all versions of NAV prior to 2009SP1 I have implemented mods to the following objects to change this behaviour so that the G/L postings represent the detail lines entered on the documents :
Table 49 : Invoice Post. Buffer
Codeunit 80 : Sales-Post
Codeunit 90 : Purch.-Post
However in 2009SP1 the G/L posting code in codeunits 80 and 90 has changed quite a lot and I now can't see where to make the changes to split the G/L postings. Has anybody else achieved this?
Any help appreciated,
Jonathan
Out of the box NAV posts sales/purchase documents to the G/L by consolidating any G/L lines on the document that have the same G/L code and dimensions. This means that you lose the line detail in the G/L entries and are left with just one entry per G/L account and dimension, with a description of the invoice number. This makes analysing the account tiresome as you have to navigate to the sales/purchase document each time in order to see the details.
In all versions of NAV prior to 2009SP1 I have implemented mods to the following objects to change this behaviour so that the G/L postings represent the detail lines entered on the documents :
Table 49 : Invoice Post. Buffer
Codeunit 80 : Sales-Post
Codeunit 90 : Purch.-Post
However in 2009SP1 the G/L posting code in codeunits 80 and 90 has changed quite a lot and I now can't see where to make the changes to split the G/L postings. Has anybody else achieved this?
Any help appreciated,
Jonathan
0
Comments
-
I was wondering if you ever got an answer to your question. This is something we would like to do as well. Thank you.0
-
Hi,
yes, done this. It is in the same objects (you need to add CU5986..5988 for service on the list), different distribution of the changes. More of a problem is that the standard primary key is already pretty long... but there is also a solution for this.
with best regards
Jens0 -
thank you Jens. I am a little confused.. your response doesn't seem to address the question of how to post Purchase Documents to the GL with the Purchase Invoice line descriptions. We do not use the service modules.. Do you have an example of the code that will update the GL description with the Purchase Invoice line description and not the header invoice number? Thanks again.0
-
Hi,AngelaMills wrote:Do you have an example of the code that will update the GL description with the Purchase Invoice line description and not the header invoice number?
I won't give source code, sorry. A solution for multiple fields (free choice) is part of an AddOn we're selling.
It's a common requirement and easy to solve, I'm sure it has been discussed on mibuso/dynamicsuser.net before.
with best regards
Jens0 -
Do you have a link to the addon?0
-
Hi Angela,
I've sent you a PM.
with best regards
Jens0
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