Session.GetModuleExecutionContext([Guid]) Method

Version: Available or changed with runtime version 1.0.

Gets the current session's execution context scoped to a specific module.

Syntax

ExecutionContext :=   Session.GetModuleExecutionContext([AppId: Guid])

Note

This method can be invoked without specifying the data type name.

Parameters

[Optional] AppId
 Type: Guid
The application ID.

Return Value

ExecutionContext
 Type: ExecutionContext
The current session's execution context scoped to a specific module.

Session Data Type
Get Started with AL
Developing Extensions