title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
NavApp.GetCallerModuleInfo(var ModuleInfo) Method |
Gets information about the extension that contains the method that called the currently running method. |
solsen |
05/14/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
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.
[Ok := ] NavApp.GetCallerModuleInfo(var Info: ModuleInfo)
Info
Type: ModuleInfo
A value containing information about the calling application.
[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.