{"title":"AppSourceCop Error AS0121","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0121/","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-as0121, 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-as0121","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 name of the moved symbol in the source and the destination application is different.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"AppSourceCop Error AS0121","slug":"appsourcecop-error-as0121","at":0,"chars":1392},{"level":2,"title":"Description","slug":"description","at":82,"chars":104},{"level":2,"title":"Remarks","slug":"remarks","at":186,"chars":422},{"level":2,"title":"How to fix this diagnostic?","slug":"how-to-fix-this-diagnostic","at":608,"chars":633},{"level":2,"title":"Related information","slug":"related-information","at":1241,"chars":151}],"text":"# AppSourceCop Error AS0121\nWhen a symbol is moved the name must remain the same.\n## Description\nThe name of the moved symbol in the source and the destination application is different.\n## Remarks\nThe name of a moved symbol in the source application is different from the name in the destination application. This is important because maintaining consistent naming for symbols when they are moved ensures that dependent extensions and applications can continue to function correctly. Changing the name of a symbol during a move can lead to broken references and functionality issues in dependent extensions.\n## How to fix this diagnostic?\nEnsure that the name of the symbol remains the same when it's moved from the source application to the destination application. Here are the steps to fix this diagnostic:\n1. Identify the symbol that has been moved and is causing the AS0121 error.\n2. Verify that the name of the symbol in the source application matches the name in the destination application.\n3. If the names are different, update the symbol in the destination application to match the name in the source application.\n4. Ensure that all references to the symbol in both the source and destination applications are updated accordingly.\n## Related information\nAppSourceCop Analyzer<appsourcecop>\nGetting Started with AL<../devenv-get-started>\nDeveloping Extensions<../devenv-dev-overview>"}