So you have amended the posting routine to post the document number into a smaller field. Debug it or get your partner in to fix what they have created, assuming you have not done this in-house of course.
The art of teaching is clarity and the art of learning is to listen
I have checked in the form designer there is no such constants defined whose size is 10. Regarding the table with the field name "Document no" type code with length as 20 characters.
But I have checked in the form designer, table designer as well as Code unit designer too. But there is no field with the variable length of 10 or 11 characters.
Get your senior and have them explain how the debugger works. If you don't have a senior then get the C/SIDE Development training material for NAV 2009, it has a whole chapter about the debugger. If your employer won't give you the training material, you need to get another job.
By the way, debugging is not something that is unique to NAV, it is probably where every developer lives about half their time. If you don't know about debugging, then are you sure you should be working in development?
Comments
What have you modified to create the overflow message - have you extended the length of a field?
Sorry here am attaching the error report.
Regarding the overflow. I havent change any of the field. As we all know that document no takes 20 character.
Regards
Prashanti
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
You have either a variable or a field with size less than the value shown in your message.
For example your field is type -> Code , length -> 10 (Maybe).
BR/DEC/09-10/001 is more than 10 characters.
So What changes need to be done??
Maybe it's not 10 but 11 :-k
Also keep in mind that this does not have to be on the form. It could be a field on the record or a variable in a codeunit or..
Your debugger will stop at the error.
RIS Plus, LLC
But I have checked in the form designer, table designer as well as Code unit designer too. But there is no field with the variable length of 10 or 11 characters.
Regards
Prashanti
By the way, debugging is not something that is unique to NAV, it is probably where every developer lives about half their time. If you don't know about debugging, then are you sure you should be working in development?
RIS Plus, LLC
Neways this is my field of work.
Regards
Prashanti
RIS Plus, LLC
By the way, a few months ago you asked for study material for the development exams: viewtopic.php?f=29&t=37025&p=180808
It sounded like you were ready to take the exams. How's that going for you?
RIS Plus, LLC