Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Version: Available or changed with runtime version 18.0.
Gets the ID of the codeunit that is providing the test data for the current test case.
Syntax
CodeunitId := DataSourceContext.CodeunitId()
Note
This method can be invoked using property access syntax.
Parameters
DataSourceContext
Type: DataSourceContext
An instance of the DataSourceContext data type.
Return Value
CodeunitId
Type: Integer
The codeunit ID of the data source.
Related information
DataSourceContext data type
Test codeunits and test methods in AL
Getting started with AL
Developing extensions