Misleading error message in NAV 5

JohnP
Member Posts: 56
Just to confuse you, Microsoft have fouled up an error message in NAV 5.
If you try to post a sales document with a posting date outside your permitted range, it tells you that:
“Posting Date must be completely preinvoiced before you can ship or invoice.”
Which is a bit misleading to say the least. The posting date check that is issuing the error is described by Microsoft article 885602. It appears that someone has managed to overwrite the error message text with something completely different.
What you need to do is open codeunit 80 and change global text constant Text045 so that it says:
“is not within your allowed range of posting dates.”
(which is what it was in v4)
Or
“is not in the range of posting dates that are permitted.”
(which is what article 885602 says)
Or
“is not within your range of allowed posting /tax point dates.”
(which is what the corresponding check in codeunit 90 says)
Or whatever is appropriate for the location you occupy in the space/time continuum.
Before doing this, you’ll notice that global text constant Text049 says exactly the same thing as Text045 so it looks like someone had a brain failure at some point when they were adding the pre-payment stuff to v5. A search on Partnersource failed to return anything other than article 885602 so it doesn’t look like anyone has noticed yet.
Cheers
John
If you try to post a sales document with a posting date outside your permitted range, it tells you that:
“Posting Date must be completely preinvoiced before you can ship or invoice.”
Which is a bit misleading to say the least. The posting date check that is issuing the error is described by Microsoft article 885602. It appears that someone has managed to overwrite the error message text with something completely different.
What you need to do is open codeunit 80 and change global text constant Text045 so that it says:
“is not within your allowed range of posting dates.”
(which is what it was in v4)
Or
“is not in the range of posting dates that are permitted.”
(which is what article 885602 says)
Or
“is not within your range of allowed posting /tax point dates.”
(which is what the corresponding check in codeunit 90 says)
Or whatever is appropriate for the location you occupy in the space/time continuum.
Before doing this, you’ll notice that global text constant Text049 says exactly the same thing as Text045 so it looks like someone had a brain failure at some point when they were adding the pre-payment stuff to v5. A search on Partnersource failed to return anything other than article 885602 so it doesn’t look like anyone has noticed yet.
Cheers
John
0
Comments
-
Yeah I saw this last week at client on site.
I had to turn on the debugger to see why I was getting the error. :?0 -
Yup, noticed it to after upgrading our own database.
Good thing people report this stuff to MS. I do not have enough patience for this. :?0 -
Thanks John0
-
This misleading error message also appears when Invoicing a Service Order. The "...must be completely preinvoiced before you can ship, consume or invoice" message appears when in actual fact the error is a G/L out-of-date-range error. The global text constant may be found in Codeunit 5980 - Service-Post, Text Constant Text007 if you would like to modify the error text.AAM0
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