Monday, November 14, 2016

How to use DATE2DWY Function in Navision?.


CASE are similar to all other languages in Navision. 


The only difference is in Syntax but the basic concept remains same.


Here I am going to convert a Date to a number using DATE2DWY and that number is used in CASES to define a Weekday in Navision. 

So these variables I had defined:





The Code is very simple just notice the syntax for CASE in Navision.







Here is the result.




No comments:

Post a Comment