Frequently used C/AL functions
It's time to learn some more of the standard functions provided by C/SIDE. We will focus on some frequently used functions: MESSAGE
, ERROR
, CONFIRM
, and STRMENU
.
There is a group of functions in C/AL called
Dialog functions. The purpose of these functions is to allow for communications (that is, dialog) between the system and the user. In addition, the Dialog functions can be useful for quick and simple testing / debugging. In order to make it easier for us to proceed with our next level of C/AL development work, we're going to take time now to learn about those four dialog functions. None of these functions will operate if the C/AL code is running on the NAV Application Server as it has no GUI available. To handle such situation in previous versions of NAV, the Dialog function statements had to be conditioned with the GUIALLOWED
function to check whether or not the code is running in a GUI allowed environment. If the code was being used in...