Codeunit Data Type
Version: Available or changed with runtime version 1.0.
Is a container for AL code that you can use from other application objects.
Static methods
The following methods are available on the Codeunit data type.
Method name | Description |
---|---|
Run(Integer [, var Record]) | Loads and runs the unit of AL code you specify. To use this method, you can specify a table associated with the codeunit when you defined the codeunit properties. This allows you to pass a variable with the method. The transaction that the codeunit contains is always committed due to the Boolean return value. |
Instance methods
The following methods are available on instances of the Codeunit data type.
Method name | Description |
---|---|
Run(var Record) | Loads and executes the unit of AL code that you specify. |
See Also
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour