# NAV Programming help

**URL:** <https://www.dynamicsuser.net/t/nav-programming-help/45283>\
**Category:** Technical Forum\
**Created:** [April 13, 2013, 1:55pm UTC](https://www.dynamicsuser.net/t/nav-programming-help/45283 "2013-04-13T13:55:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arone](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@Arone](https://www.dynamicsuser.net/u/Arone)\
**Post date:** [April 13, 2013, 1:55pm UTC](https://www.dynamicsuser.net/t/nav-programming-help/45283/1 "2013-04-13T13:55:20Z")

</div>

The **last modified date field** in the item header is making a little confusion to the users in such a way that for any modification you made in the item header the last modification date is changed and this make a change in the item status every time you made a change and you need to write a comment for ever simple changes made for reporting.

How to customize the last modified date field on a specific fields only . I am new to C/AL programming so i need your help

Thank you

---

<div class="post-metadata">

**Author:** ![mohana\_cse06](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mohana\_cse06](https://www.dynamicsuser.net/u/mohana_cse06)\
**Post date:** [April 13, 2013, 4:48pm UTC](https://www.dynamicsuser.net/t/nav-programming-help/45283/2 "2013-04-13T16:48:41Z")

</div>

Code to Update Last Modified Date is written in OnModify trigger of table 27

Rather than changing the existing functionality, you can create new field in Item table and write code in each field Onvalidate trigger (specific fields)

---

<div class="post-metadata">

**Author:** ![tburger](https://avatars.discourse-cdn.com/v4/letter/t/49beb7/32.png) [@tburger](https://www.dynamicsuser.net/u/tburger)\
**Post date:** [April 13, 2013, 5:02pm UTC](https://www.dynamicsuser.net/t/nav-programming-help/45283/3 "2013-04-13T17:02:06Z")

</div>

You also may be able to use the Change log functionality to help and possibly wire into that. It really depends how many fields and areas you need this functionality.

---

<div class="post-metadata">

**Author:** ![Arone](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@Arone](https://www.dynamicsuser.net/u/Arone)\
**Post date:** [April 15, 2013, 6:15am UTC](https://www.dynamicsuser.net/t/nav-programming-help/45283/4 "2013-04-15T06:15:48Z")

</div>

Thanks Mohana …I hope this will work for me .

---

<div class="post-metadata">

**Author:** ![Arone](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@Arone](https://www.dynamicsuser.net/u/Arone)\
**Post date:** [April 15, 2013, 6:21am UTC](https://www.dynamicsuser.net/t/nav-programming-help/45283/5 "2013-04-15T06:21:40Z")

</div>

Hi Teresa

Can you please make it more clear for me. I need the steps if you don’t mind ?

Whats use of Change log functionality ?

Thanks

---

<div class="post-metadata">

**Author:** ![manisharma31](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@manisharma31](https://www.dynamicsuser.net/u/manisharma31)\
**Post date:** [April 15, 2013, 12:47pm UTC](https://www.dynamicsuser.net/t/nav-programming-help/45283/6 "2013-04-15T12:47:35Z")

</div>

You need to setup Change Log Functionality for required table & its field.

Who ever changes the related data in the field it is captured in a separate table which you can view it from the report.
