Log Entries

toshitapori
Member Posts: 52
Hi All,
I am stuck with a problem where i dont want to store the changes in the log entries which are created automatically if the change log is activated instead i want that if a user changes a particluar field for ex on salesheader if the user changes deafult Bill to customer No which gets defaulted in the system when we make a sales order then that entry shud be logged .How can it be done .I looked all the posting on Log entries but still cant figure it out .
Thanks in advance
Best Regards,
Toshitapori
I am stuck with a problem where i dont want to store the changes in the log entries which are created automatically if the change log is activated instead i want that if a user changes a particluar field for ex on salesheader if the user changes deafult Bill to customer No which gets defaulted in the system when we make a sales order then that entry shud be logged .How can it be done .I looked all the posting on Log entries but still cant figure it out .
Thanks in advance
Best Regards,
Toshitapori
0
Comments
-
ChangeLog is logging only changes made by user... if you set loging modification for the needed field, it will be logged when user change it...
:?:0 -
Hi Kine,
I agree with u that it will do that .I will explain with an example .Assume there is a field x on the sales header now when we created a sales order the log entries will log the change and after that if the user changes the x field it will log that entry too .Now i dont want 2 entries i want only one entry where user made a change after the salesheader was inserted on the field x which is the second one .
I hope i explained my point ..
Regards,
Toshitapori0 -
I thought that the first one will be not logged, because it is not user who change the record, but if you tried it and it is logged, then you need to not call the OnModify trigger (use MODIFY(False) instead MODIFY(true) or INSERT(False) instead INSERT(True)) - but do not forgot that you may need the C/AL code which is in the OnModify (OnInsert) trigger for example for assigning no. from No. serie...0
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