How to count the times that a field change

Leroy
Member Posts: 199
Hello to all, I'd like to know how can I do the following thing.
In the lines of the purchase orders I have the field Confirmation Date where we put the date considered of material reception; sometimes this date changes. It would want to know if there is some way to be able to visualize or to enter the times that have changed this date, a species of registry. I have checked it from "Change log" but it does not finish working well, does not reflect all the changes to me that I do, also I need somethig easy for the users. Does somebody knows if there is some other way?.
Thank you very much and a greeting.
In the lines of the purchase orders I have the field Confirmation Date where we put the date considered of material reception; sometimes this date changes. It would want to know if there is some way to be able to visualize or to enter the times that have changed this date, a species of registry. I have checked it from "Change log" but it does not finish working well, does not reflect all the changes to me that I do, also I need somethig easy for the users. Does somebody knows if there is some other way?.
Thank you very much and a greeting.
0
Comments
-
What about the Change Log ?
Every time a user change a field in a record or the record itself, Navision can keep a trace of the change. It's a standard and very usefull function.My candle burns by both ends, it will not last the night,
But oh my foes and oh my friends, it gives a lovely light0 -
Thanks for reply, as I say on my last post I've already try it, but it seems don't work well.
On configuring Change log I put the table and the field, and mark "log insertion" and "log modification". When I insert the date on first time the log record it and puts the date, but that's all, if I change the date it doesn't appears reflected on change log, though I've market it as I said. May be I do something wrong?.
Thanks.0 -
Leroy wrote:Thanks for reply, as I say on my last post I've already try it, but it seems don't work well.
On configuring Change log I put the table and the field, and mark "log insertion" and "log modification". When I insert the date on first time the log record it and puts the date, but that's all, if I change the date it doesn't appears reflected on change log, though I've market it as I said. May be I do something wrong?.
Thanks.
Well I guess this is a custom field, and maybe it is updated based on expected receipt date or something like that. Maybe you are triggering it incorrectly.David Singleton0 -
Thanks both. I'll try with another field or table.
Thanks for help.0 -
I was thinking a new field myself -
onValidate of date field
"Times Changed" := "Times Changed" +1;0 -
i would add it to onmodify trigger. and compare xrec to rec0
-
If you decide to use trigger you'll have to think of cases where the value is modified by another validation / action and weather the modification called the OnModify Trigger... It will require a lot of work to be sure you'll get it right.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