{"title":"AppSourceCop Warning AS0122","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0122/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/analyzers/appsourcecop-as0122, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/analyzers/appsourcecop-as0122","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"The source symbol for this moved symbol cannot be found in the package with the given AppId.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"AppSourceCop Warning AS0122","slug":"appsourcecop-warning-as0122","at":0,"chars":1284},{"level":2,"title":"Description","slug":"description","at":118,"chars":108},{"level":2,"title":"Remarks","slug":"remarks","at":226,"chars":327},{"level":2,"title":"How to fix this diagnostic?","slug":"how-to-fix-this-diagnostic","at":553,"chars":580},{"level":2,"title":"Related information","slug":"related-information","at":1133,"chars":151}],"text":"# AppSourceCop Warning AS0122\nSource symbol for the moved symbol cannot be found in the package with the given AppId.\n## Description\nThe source symbol for this moved symbol cannot be found in the package with the given AppId.\n## Remarks\nThe 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.\n## How to fix this diagnostic?\nTo 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:\n1. Identify the symbol that is causing the AS0122 warning.\n2. Verify that the symbol exists in the package with the specified AppId.\n3. If the symbol has been moved or renamed, update your references to point to the correct symbol.\n4. Ensure that the package containing the symbol is correctly referenced in your extension.\n## Related information\nAppSourceCop Analyzer<appsourcecop>\nGetting Started with AL<../devenv-get-started>\nDeveloping Extensions<../devenv-dev-overview>"}