{"title":"AppSourceCop Warning AS0087","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0087/","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-as0087, 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-as0087","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":"Translations of enum value captions must not contain commas.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"AppSourceCop Warning AS0087","slug":"appsourcecop-warning-as0087","at":0,"chars":1177},{"level":2,"title":"Description","slug":"description","at":90,"chars":237},{"level":2,"title":"Remarks","slug":"remarks","at":327,"chars":470},{"level":2,"title":"How to fix this diagnostic?","slug":"how-to-fix-this-diagnostic","at":797,"chars":233},{"level":2,"title":"Related information","slug":"related-information","at":1030,"chars":147}],"text":"# AppSourceCop Warning AS0087\nTranslations of enum value captions must not contain commas\n## Description\nTranslations of enum value captions must not contain commas. Commas in captions will result in values with wrong captions both in the UI and potential unexpected results in connection with formatting and evaluating enums.\n## Remarks\nThis warning ensures that translations of enum value captions don't include commas, which can cause issues in the user interface and during the processing of enums. Commas can interfere with the correct display and handling of enum values, leading to misleading or incorrect information being shown to users. Additionally, commas can cause problems when enums are formatted or evaluated programmatically, potentially leading to unexpected behavior or errors.\n## How to fix this diagnostic?\nTo resolve this warning, follow these steps:\n1. Locate the enum value captions in your code that contain commas in their translations.\n2. Modify the translations to remove any commas from the captions.\n## Related information\nAppSourceCop Analyzer<appsourcecop>\nGet Started with AL<../devenv-get-started>\nDeveloping Extensions<../devenv-dev-overview>"}