Tips & Tricks – Single Parameter Function Shortcut & Gotcha

Recently I discovered (quite by accident) this neat little feature in Dynamics NAV (not sure which version this became available in to be honest).

The basic overview is this. If you have a function that takes a single parameter, you can assign the value to the function as if it is a property, rather than using the normal function call syntax. Here is a rather silly example scenario*:

Bron : …I digress
Lees meer…