Editar

Partilhar via


AppSourceCop Error AS0001

Tables and table extensions that have been published must not be deleted.

Description

Tables and table extensions that have been published must not be deleted. This might break the upgrade of existing installations and dependent extensions.

Remarks

This rule validates tables independently of their Accessibility or ObsoleteState, because tables are always used when synchronizing the schema defined in the extension to the database.

This rule validates table extensions independently of the ObsoleteState of their target tables. Table extensions extending a table, which is marked with obsolete state Removed must be preserved, since they're still contributing to the database schema defined by the extension.

How to fix this diagnostic?

Revert the changes done by adding back the tables and table extensions that have been removed.

AppSourceCop Analyzer
Get Started with AL
Developing Extensions