{"title":"AppSourceCop Warning AS0139","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0139/","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-as0139, 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-as0139","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":"New table fields must use the AllowInCustomizations property and its value must be different from ToBeClassified and Always.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"AppSourceCop Warning AS0139","slug":"appsourcecop-warning-as0139","at":0,"chars":863},{"level":2,"title":"Description","slug":"description","at":91,"chars":271},{"level":2,"title":"Remarks","slug":"remarks","at":362,"chars":350},{"level":2,"title":"Related information","slug":"related-information","at":712,"chars":151}],"text":"# AppSourceCop Warning AS0139\nNew table fields must use the AllowInCustomizations property\n## Description\nNew table fields must use the AllowInCustomizations property and its value must be different from ToBeClassified and Always. From runtime 16.0, you can specify on the application object level the AllowInCustomizations to use as default for all its fields.\n## Remarks\nThis rule analyzes only fields that are newly added in the current version, that is, fields that don't exist in the baseline. It helps you prioritize classification of new fields and tables without requiring you to classify all existing fields.\nLearn more about how to fix this diagnostic in AppSourceCop Rule AS0138<appsourcecop-as0138>.\n## Related information\nAppSourceCop analyzer<appsourcecop>\nGetting started with AL<../devenv-get-started>\nDeveloping extensions<../devenv-dev-overview>"}