Rediger

Del via


AppSourceCop Warning AS0122

Source symbol for the moved symbol cannot be found in the package with the given AppId.

Description

The source symbol for this moved symbol cannot be found in the package with the given AppId.

Remarks

The symbol you are trying to reference or move doesn't exist in the specified package. This can lead to broken references and functionality issues in your extension. Ensuring that all symbols are correctly referenced and available in the specified package is crucial for maintaining the integrity of your extension.

How to fix this diagnostic?

To address the AS0122 warning, verify that the source symbol exists in the package with the given AppId. If the symbol has been moved or renamed, update your references accordingly. Here are the steps to fix this diagnostic:

  1. Identify the symbol that is causing the AS0122 warning.
  2. Verify that the symbol exists in the package with the specified AppId.
  3. If the symbol has been moved or renamed, update your references to point to the correct symbol.
  4. Ensure that the package containing the symbol is correctly referenced in your extension.

AppSourceCop Analyzer
Getting Started with AL
Developing Extensions