Get in Sales/Purchase line crashes client (NAV2017 CU19)

NAVFuchsNAVFuchs Member Posts: 76
Hi,

every time a G/L Account/ Fixed asset / Text does not exist, the client crashes at the Code line where a GET command is used.

When the GET is used with "IF not GL.get then Error(blabla)" an error is thrown as expected.

This appears only in the lines, in the Header everything works fine.

Answers

  • Torben_R.Torben_R. Member Posts: 99
    NAVFuchs wrote: »
    "IF not GL.get then Error(blabla)"

    You forgot to tell what to get.
    IF NOT GL.GET("No.") THEN ERROR('blabla');
    
  • NAVFuchsNAVFuchs Member Posts: 76
    Yes, you are right, but nav crashes on every get regardless of the table or Parameter.
    Gl.get("No.") crashes as well as item.get("No.") if the "No." does not exist and therefore raises an error->crash
  • KishormKishorm Member Posts: 921
    Could be a problem with the fin.stx file for the language you are using. Try changing language to ENU and see if you still get the error. If that works then the reason it's crashing is because it can't find the text for the error message in the fin.stx for the language you are using.
Sign In or Register to comment.