Error LOG Maintain problem

vikram7_dabas
vikram7_dabas Member Posts: 611
Dear Concern
I m using NAV 4.0 SP3 I want whenever I face any error in Navision then all these errors should be saved somewhere?How can I achieve this functionaltiy?If there is any customization what is this?
Vikram Dabas
Navision Technical Consultant

Comments

  • matttrax
    matttrax Member Posts: 2,309
    Wouldn't that be nice without a massive customization? You'll have to modify every object for that I'm afraid. Unless you write your own NAV Text File parser (which isn't that bad actually) you'll be at it for a while.
  • vikram7_dabas
    vikram7_dabas Member Posts: 611
    Dear Concern
    I didnt understand what r u saying?
    Vikram Dabas
    Navision Technical Consultant
  • kapamarou
    kapamarou Member Posts: 1,152
    What he is saying is that you'll need to modify all the objects where an error message is displayed in order to implement that functionality.
  • matttrax
    matttrax Member Posts: 2,309
    And if you don't want to manually search through the code of every object, you'll need to write a parser that examines C/AL code and changes the built in error message to your own error function that logs it.
  • vikram7_dabas
    vikram7_dabas Member Posts: 611
    If I have to modify all objects then where I have to write code in objects just before error message and before testfield function.Am I Right?
    Vikram Dabas
    Navision Technical Consultant
  • matttrax
    matttrax Member Posts: 2,309
    That is correct.