Rediger

Del via


AppSourceCop Warning AS0120

The value of the MovedFrom property in the destination object does not match the source AppId.

Description

The destination symbol's MovedFrom property value does not match the source AppId.

Remarks

The value of the MovedFrom property in the destination object doesn't match the source AppId. This is important because the MovedFrom property is used to track the origin of a symbol when it's moved from one application to another. Ensuring that the MovedFrom property correctly matches the source AppId is crucial for maintaining accurate references and dependencies between applications.

How to fix this diagnostic?

Verify and correct the MovedFrom property value in the destination object to match the source AppId. Here are the steps to fix this diagnostic:

  1. Identify the destination object that's causing the AS0120 warning.
  2. Check the MovedFrom property value in the destination object.
  3. Verify the source AppId from which the symbol was moved.
  4. Update the MovedFrom property value in the destination object to match the source AppId.
  5. Ensure that all references and dependencies are correctly updated.

AppSourceCop Analyzer
Getting Started with AL
Developing Extensions