Hi,
I'm new to Nav. I need to fill datetime automatically representing the time when a new record is created in table "trans. Sales entry". I have added to this table a new filled "replicationTime". I know i have to use the on insert trigger. But i need the coding for that. Can anyone help !
Thank you,
*This post is locked for comments
You need to add on InitRecord() part of code, depends what you want:
1) Date and Time -> "ReplicationTime" := CURRENTDATETIME;
2) Only Time -> "ReplicationTime" := TIME;
3) Only Date -> "ReplicationTime" := TODAY;
Sohail Ahmed
2
mmv
2
Amol Salvi
2