Redigera

Dela via


AppSourceCop Error AS0039

Removing properties that cause destructive changes is not allowed

Description

Destructive table properties that have been published must not be removed.

Remarks

This error occurs when an attempt is made to remove table properties that have already been published and are considered destructive. Destructive changes can lead to data loss, corruption, or other issues that can break the upgrade process for existing installations and dependent extensions.

How to fix this diagnostic?

To resolve this error, you need to avoid removing published table properties that are considered destructive. Here are the steps:

  1. Locate the table property in your code that is being removed.
  2. Restore the property to its original state.

AppSourceCop Analyzer
Get Started with AL
Developing Extensions