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.
Mada
0
Comments
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!
Lead Consultant
Theta
Try recompile all objects... there will be some problems....
8)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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
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.
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
Dean