Change Log Entries on BC19

Rodtmclean
Member Posts: 89
Hi,
Are there any known weaknesses with the change log?
I have a client that has indicated some fields are blank when they have completed them, these fields are set up to record in the change log. When I check the change log entries they fields have not been logged - apart from the correcting entries they keyed in later on.
The only way I can reproduce this is by terminating the web page after typing in the values (they sent a screen shot with the completed values) and then the change log doesn't record and the fields are blank.
I'm putting it down to user error for now, they are reporting it frequently so following uop.
Regards and Thanks
Roddy
Are there any known weaknesses with the change log?
I have a client that has indicated some fields are blank when they have completed them, these fields are set up to record in the change log. When I check the change log entries they fields have not been logged - apart from the correcting entries they keyed in later on.
The only way I can reproduce this is by terminating the web page after typing in the values (they sent a screen shot with the completed values) and then the change log doesn't record and the fields are blank.
I'm putting it down to user error for now, they are reporting it frequently so following uop.
Regards and Thanks
Roddy
0
Answers
-
What is the page they getting this issue with?
Is it random or one specific page?
Change log only logs change in fields where data is entered and saved. If data is not saved in the fields then it wont record anything.United Kingdom1 -
I don't understand what @Developer101 is saying.
Change log used to be triggered by the OnGlobal<Trigger> events (formerly procedures with pre-defined IDs in Codeunit 1. Those get triggered by user interactions in pages only. Modifications in code had to be logged by calling functions from within that code.
But after the OnDatabase<Trigger> events were introduced, any database operation which causes any record in the database to be changed triggers the logging.
Gotchas I am aware of:- inserts for records with autoincrement fields do not record the correct value for that field, because the event is called with data from before the database insert operation (Edit: actually, I believe, before the database insert actually occurred. I could not find any way to find the missing value from within OnGlobalInsert (Auto increment fields are typically used as primary key)). I assume the same will be true for Timestamp fields, but I have not checked this out.
- the first updating database operation on a table triggers the event GetDatabaseTableTriggerSetup. Changes to the Change Log setup after this point will get active only after you start a new session. Changing the fields to be logged is not affected by this restriction.
I do have no experience with change log for fields defined in table extensions.1 -
Thankyou all. I think it is a problem with middleware, network or web pages rather than BC0
-
@vaprog apologies if my response wasn't clear. I was simply trying to answer based on my understanding of the question.
Looks like it bas been sorted thanks for the feedback @RodtmcleanUnited Kingdom0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions