Compiler Warning (Future Error) AL0804

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!

You cannot reference the {0} '{1}' because it is defined in the page customization '{2}'.

Important

This warning will become an error with Business Central 2024 release wave 2.

Description

You cannot reference an element defined in a page customization outside the page customization declaring it.

See Also

Getting Started with AL
Developing Extensions