Programming Microsoft Dynamics NAV - Fifth Edition
by Marije Brummel, David Studebaker, Christopher D. Studebaker
C/AL Locals
Local identifiers only exist defined within the range of a trigger. This is true whether the trigger is a developer-defined function, one of the default system triggers, or standard application-supplied functions. In NAV 2017, when a new function is defined, it is set as a local function by default. This means that if we want the new function to be accessible from other objects, we must set the Local property of the function to No.
Function local identifiers
Function local identifiers are defined on one or another of the tabs on the C/AL Locals form that we use to define a function.
Parameters and Return Value are defined on their respective tabs.
The Variables and Text Constants tabs for C/AL Locals are exactly similar in use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access