Customer.[Last Date Modified] has no hours and minutes

Customer.[Last Date Modified] column records don’t save hours, minutes and milliseconds . Example: “2010-12-12 00:00:00.000”.

How do we enable Last Date Modified in NAV to be stored, as full timestamp?

We need to

You can create new field with Datatype Datetime and write code in OnModify() trigger of table as

“Last Date Time Modified” := CURRENTDATETIME;

Hi Mohana,

Thanks for your reply, but we can not change client NAV dabatase structure at all.

We are connecting to NAV via web service, and need to retrieve Customer “Last Date Modified” as a full timestamp. How can we do that?

Regards,

Antanas

you can’t without chnaging the database field type as explained above.