ACF Management Codeunit
Using the codeunit ACF Management you have the ability to invoke the main control functions of the Anveo Client Suite and use in their code.
The web services utilized for communication with Microsoft Dynamics NAV 2016 do not permit any interaction with the user in the Anveo Mobile App due to technical reasons. As a result, the Microsoft Dynamics NAV 2016 functions MESSAGE, CONFIRM, STRMENU and DIALOG are not automatically identified and displayed in the client. On the other hand, these predefined constraints stipulated by the web services can be circumvented with little effort by transferring these invocations to the codeunit ACF Management. The codeunit makes the case differentiation between Microsoft Dynamics NAV 2016 Client and Anveo Client Suite automatically and processes the case accordingly.
Error messages caused by ERROR do not have to be adapted, the web service can handle these.
Returns the current session ID of the Anveo User.
Returns either the Anveo User code or the global variable USERID of Microsoft Dynamics NAV 2016 depending on the C/AL code was called by Anveo Client Suite or by Microsoft Dynamics NAV 2016.
Returns the Anveo User code, provided this is invoked within Anveo Client Suite. Otherwise a blank value is returned.
Returns whether the C/AL code is being invoked from the Anveo Client Framework so that different types of behavior can be enacted. Comparable to ISSERVICETIER or GUIALLOWED in Microsoft Dynamics NAV 2016.
Returns whether the C/AL code is being invoked from the Anveo Mobile App so that different types of behavior can be enacted. Comparable to ISSERVICETIER or GUIALLOWED in Microsoft Dynamics NAV 2016.
Writes a log entry for a given function along with an accompanying text. You can debug your C/AL code using the activated protocolling of all user inputs.
When opening Anveo Pages, the source table and relation code are handed over as the parameter instead of the destination table (as is the case in Microsoft Dynamics NAV 2016 Standard). Since the destination table is located in the specified relation and all filters (including the security filter) are set there, the Anveo Pages must be opened this way for reasons dealing with security.