Doubts about a user question on General Journal posting
imurphy
Member Posts: 308
Someone posed me a question regarding the use of General Journals which I don't know how to answer, so maybe someone can help.
When the user posts to a journal they have to type a unique transaction number and document number. If they are entering a number of invoices before registering them then they will increment the transaction number for each invoice.
Since they are working in a team there is no way of knowing the document number until they go to register the transactions.
The user then goes to register the transactions but starts with the first and filters the list by 'Transaction No.'=1. They Press F11 and all goes well. The transaction number is updated to max(registered-transaction-No)+1 and the transaction is written.
The problem comes with the second transaction. It has the same document number as the first. When you press F11 Navision will update the transaction number but does not touch not the document No. The register action then fails because the document No. already exists.
I am about to sit down and look at what I can do to make this simpler via code - but I'd like to know if there is something wrong with what they are doing.
It seems reasonable enough to want to enter dozens of invoices in one go and to then sort out the problems with Tax, payment forms and terms, etc. and then finally register everything.
Ian Murphy
When the user posts to a journal they have to type a unique transaction number and document number. If they are entering a number of invoices before registering them then they will increment the transaction number for each invoice.
Since they are working in a team there is no way of knowing the document number until they go to register the transactions.
The user then goes to register the transactions but starts with the first and filters the list by 'Transaction No.'=1. They Press F11 and all goes well. The transaction number is updated to max(registered-transaction-No)+1 and the transaction is written.
The problem comes with the second transaction. It has the same document number as the first. When you press F11 Navision will update the transaction number but does not touch not the document No. The register action then fails because the document No. already exists.
I am about to sit down and look at what I can do to make this simpler via code - but I'd like to know if there is something wrong with what they are doing.
It seems reasonable enough to want to enter dozens of invoices in one go and to then sort out the problems with Tax, payment forms and terms, etc. and then finally register everything.
Ian Murphy
0
Comments
-
The document number will only increment when the balance reaches 0. If you want a unique document number per balance, you'll need to set the Posting No. Series on the journal batch.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
- 75 General
- 75 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
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions