error when posting an invoice

madalina
Member Posts: 46
hi everyone...
i encountered the following problem :
when i try to post a sales invoice i get the following error message :
"Reference to member CheckCOGSDimValuePost of the variable could not be solved"
can anyone tell me where to look for the problem?
thanks a lot
Mada.
i encountered the following problem :
when i try to post a sales invoice i get the following error message :
"Reference to member CheckCOGSDimValuePost of the variable could not be solved"
can anyone tell me where to look for the problem?
thanks a lot
Mada.
Mada
0
Comments
-
Hello,
It sounds like you have a version control problem! Navision is trying to write to a field or a variable (Looking at the name, it is probably a variable) in another object, but it does not exist in that object.
This generally happens when people (users or consultants) get out of step with the modifications on the system, e.g. A & B both do development, they both take a copy of the database and make their changes, but one of the objects they change overlaps (e.g. They both change codeunit 80).
A loads their objects, and everything is fine, B loads their objects, which deletes A's changes to codeunit 80, but the other changes are still there...
As a result, A's changed objects try to use this variable, but cannot find it...
You need to speak to your development team or NSC.
Hope this is of help!Edward Bloomfield
Lead Consultant
Theta0 -
Try close navision and open.... (like windows restart... :-)
Try recompile all objects... there will be some problems....
8)0 -
Hi Mada,
As per Ed's post things to check :
1) The Navision Version
Help>> About MBS - Navision.
Look for the Version Number and also what is in the brackets and post it here. This will give an indication as to whether there maybe some version control issues.
2) Check the object version
Tools >> Object Designer. Click on Codeunits and scroll down until you find codeunit 80. Look right until you find the version number. Again post this here.
Next thing is to track the error. This should only really be done if you are used to looking at code
Click Tools>>Debugger>>Active
Make sure that Tools>>Debugger>>Breakpoint on Triggers has no tick against it otherwise the next step will be painfully slow.
Try to post the invoice again. As you have debugger turned on, this should show you which section of code the error is in.
Again post this here.
Sorry if this all seems a bit obvious, but as I cannot tell you expertise level from your profile, I choose not to assume!!
Hope this helps a little
DeanRemember: Keep it simple0 -
hi Dean,
thanks a lot, i will keep in mind the hints you gave me, for now though the problem is solved. it seems that a colleague of mine has managed to modify codeunit 408 and that's where the source of the problem was. i have managed to replace it with the original version and now it works just fine.
you were right to assume i was somehow unexperienced, i've only started working with Navision for 2 months, but i'm getting there, slowly an clumsily but i hope one day i will be able to give advice to people just like you are :P
thank you very much for your imput..
keep in touch..
Mada.
P.S.: and thank you, everyone who tried to help, i appreciate it.Mada0 -
Hi Mada,it seems that a colleague of mine has managed to modify codeunit 408 and that's where the source of the problem was.
No wonder I could not find this :shock:
I had looked in all attain version and even version 3.01 !!!
Glad you found it though.
Always glad to help
DeanRemember: Keep it simple0
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