How to get Current date time and work date in Microsoft Dynamics Navision.

For getting current date time in NAV create new code unit as show (here) and then write following code in code unit under ‘On Run’ trigger and then run it.



MESSAGE('Current Date : %1 \ Current Time : %2 \ Work DAte :%3',TODAY,TIME,WORKDATE);



OUTPUT:




Comments

Popular posts from this blog

How to get column value from the selected row in data grid in wpf c#.net

How to make and use web service in Microsoft Dynamics Navision.

How to use Format function in Microsoft Dynamics Navision.