Overflow Error

prashantiprashanti Member Posts: 96
Hi Expert!!

Please find attached the screenshot for your reference.

When I try to post the payment receipt in Bank Receipt Voucher I am getting these error for the document no.

Regards,
Prashanti

Comments

  • AdamRoueAdamRoue Member Posts: 1,283
    No attachment :D

    What have you modified to create the overflow message - have you extended the length of a field?
    The art of teaching is clarity and the art of learning is to listen
  • prashantiprashanti Member Posts: 96
    Hi !!!

    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
  • AdamRoueAdamRoue Member Posts: 1,283
    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
  • prashantiprashanti Member Posts: 96
    Sorry I dint get u. Could u please explain the same again.
  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • kapamaroukapamarou Member Posts: 1,152
    Debug your process (if this is something you built and not a change someone else implemented).

    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.
  • prashantiprashanti Member Posts: 96
    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.

    So What changes need to be done??
  • kapamaroukapamarou Member Posts: 1,152
    Have you tried enabling your debugger?

    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.
  • DenSterDenSter Member Posts: 8,304
    AdamRoue wrote:
    Debug it or get your partner in to fix what they have created
    kapamarou wrote:
    Debug your process
    kapamarou wrote:
    Have you tried enabling your debugger?
    Your debugger will stop at the error.
    Did you even try these suggestions? Do you know how to debug?
  • prashantiprashanti Member Posts: 96
    sorry I am new to NAV dont know how to debug.

    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
  • DenSterDenSter Member Posts: 8,304
    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?
  • prashantiprashanti Member Posts: 96
    Thanks for your suggestion. Neways I figured it out how debugger in Navision works. Got the think cleared it works fine now. thanks for the same.

    Neways this is my field of work. :D

    Regards
    Prashanti
  • DenSterDenSter Member Posts: 8,304
    Suit yourself. What does 'neways' mean?
  • prashantiprashanti Member Posts: 96
    Neways means Anyways
  • DenSterDenSter Member Posts: 8,304
    So why not just type 'anyways'?

    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?
Sign In or Register to comment.