I am trying to log changes to a custom field in the Stock Keeping Unit Table. If in change log setup I specify the table and the field, if I change that field with a tabular form it logs the message. But if I fire code with a button (ON PUSH) that modifies the content of the field I am logging with a second instance of the table, Change Log records absolutely nothing of the change.
I tried lifting the stock keeping unit table and the field from the log list, while keeping change log active. I then formatted and did an insert of a Change Log Entry record in the ON MODIFY trigger of the stock keeping unit table. The debugger says I am executing the code, but no record appear when I run table 405...
Anyone have any info on this?
0
Comments
Basically, you need to use the datatype RecordRef for the change log to pick it up.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book