Change Log for NAS

RemcoRemco Member Posts: 81
Hello,

Does the change log functionality works for a NAS user?

Comments

  • SogSog Member Posts: 1,023
    After a quick scan of code for the change log functionality I don't see any checks if it is a NAS or not.
    So I think that it will work for a NAS user.
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • kinekine Member Posts: 12,562
    The problem is, that the triggers in CU1 are called only when user made the change on the form. It means, NAS=no forms, => no change log. But best is to test it yourself, it is not hard... ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ara3nara3n Member Posts: 9,256
    Nav 2009 R2 has new triggers that are called if any code is changed. so you can use those triggers.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    No, unfortunately the trigger in CU1 to start change log functionality isn't fired by NAS. But for your most important tables you could add some code in OnInsert, OnModify, OnDelete, OnRename (as you like) and call the Change Log funtions directly.
    IF NOT GUIALLOWED THEN
      ChangeLogMgt.LogModification(RecRef,xRecRef);
    
    "Money is likewise the greatest chance and the greatest scourge of mankind."
Sign In or Register to comment.