Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.67 KB

navapp-getcallermoduleinfo-method.md

File metadata and controls

41 lines (34 loc) · 1.67 KB
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

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.

See Also

NavApp Data Type
Get Started with AL
Developing Extensions