Hi,
In Dynamics NAV, is there a way to add optional parameters to a function.
Ex: func1(param1, param2, param3)
In here how to make param3 as optional.
Thanks.
*This post is locked for comments
Hi,
There is no way to set optional parameters to a function in NAV.
You can check the following discussion.
https://forum.mibuso.com/discussion/3703/optional-parameters-in-functions
I think it is not possible to make parameter as optional but you can pass the value and based on that you can execute the program.
André Arnaud de Cal...
291,971
Super User 2025 Season 1
Martin Dráb
230,846
Most Valuable Professional
nmaenpaa
101,156