Hello,
I'm encountering an issue need some advice.
Here's the situation:
- In an older version of our extension published on AppSource, we added a new field to a table.
- In the subsequent version, we marked this field as
ObsoleteState = Pending
since it was no longer needed, and that version was published to AppSource.
- In the following version, we changed the field's
ObsoleteState
from Pending
to Removed
and published this version to AppSource as well.
Now, in the current version, I want to completely remove this field from the code. However, every time I attempt to remove it, the AL Validation fails with the following error:
error AS0002: The field with name {FieldName} and ID {FieldID} was found in the previous version, but is missing in the current extension. This might break the upgrade of existing installations.
I can't understand why I'm getting this error, since the field was already marked as "Removed" in the last version. Where could the problem be, and how can I properly remove this field without causing upgrade issues?
Thank you!