Decorate your AL code with "this"
“This” was introduced with Business Central 2024 wave 2.
If you want to self-reference your codeunit in an external function call, or make field assignments much clearer, then “this” is what you need.
Take a look at the video on “this” topic:
Need an AL extension built, or one fixed that does not work right? I write AL for companies and for other partners. AL development →