{"title":"AppSourceCop Error AS0120","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0120/","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-as0120, 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-as0120","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 destination symbol's MovedFrom property value does not match the source AppId.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"AppSourceCop Error AS0120","slug":"appsourcecop-error-as0120","at":0,"chars":1305},{"level":2,"title":"Description","slug":"description","at":123,"chars":98},{"level":2,"title":"Remarks","slug":"remarks","at":221,"chars":401},{"level":2,"title":"How to fix this diagnostic?","slug":"how-to-fix-this-diagnostic","at":622,"chars":532},{"level":2,"title":"Related information","slug":"related-information","at":1154,"chars":151}],"text":"# AppSourceCop Error AS0120\nThe value of the MovedFrom property in the destination object does not match the source AppId.\n## Description\nThe destination symbol's MovedFrom property value does not match the source AppId.\n## Remarks\nThe 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.\n## How to fix this diagnostic?\nVerify and correct the MovedFrom property value in the destination object to match the source AppId. Here are the steps to fix this diagnostic:\n1. Identify the destination object that's causing the AS0120 warning.\n2. Check the MovedFrom property value in the destination object.\n3. Verify the source AppId from which the symbol was moved.\n4. Update the MovedFrom property value in the destination object to match the source AppId.\n5. Ensure that all references and dependencies are correctly updated.\n## Related information\nAppSourceCop Analyzer<appsourcecop>\nGetting Started with AL<../devenv-get-started>\nDeveloping Extensions<../devenv-dev-overview>"}