NavApp.GetCallerModuleInfo(var ModuleInfo) Method

Version: Available or changed with runtime version 6.0.

Gets information about the extension that contains the method that called the currently running method. For example, if method 1 (in extension A) calls method 2 (in extension B), which calls GetCallerModuleInfo, then GetCallerModuleInfo will return information about extension A.

Note

From runtime version 8.0 and onward, this method is supported in Business Central online.

Syntax

[Ok := ]  NavApp.GetCallerModuleInfo(var Info: ModuleInfo)

Parameters

Info
 Type: ModuleInfo
A value containing information about the calling application.

Return Value

[Optional] Ok
 Type: Boolean
true if the information could be retrieved, otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

NavApp Data Type
Get Started with AL
Developing Extensions