Compiler Error AL0288

Note

The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!

Parameter '{0}' is only allowed to be 'var' if the publisher parameter is 'var'.

Description

The parameter of an event subscriber is only allowed to be 'var' if the publisher parameter is 'var'.

Get Started with AL
Developing Extensions