Skip to content

Restore ObsoleteTag '28.0' on Activate Legacy Subcontracting action (suppress AS0072 via pragma) #9163

Description

@alexei-dobriansky

On the IT Manufacturing Setup page (page 99000768 "Manufacturing Setup"), the "Activate Legacy Subcontracting" action currently sets ObsoleteTag = '29.0'.

This value was bumped from '28.0' to '29.0' in #8966 solely to satisfy the AppSourceCop rule AS0072 (ObsoleteTag must match obsoleteTagVersion = 29.0). The action logically belongs to the same '28.0' obsoletion wave as the sibling "Disable Legacy Subcontracting" and "Pre Check Disable Legacy Subcontracting" actions and the parent LegacySubcontracting group, which all carry ObsoleteTag = '28.0'.

Proposed change

Restore ObsoleteTag = '28.0' on the "Activate Legacy Subcontracting" action and suppress AS0072 locally with a pragma, consistent with the existing pattern used elsewhere in the codebase (e.g. src/Layers/GB/BaseApp/Purchases/Vendor/VendorTempl.Table.al):

#pragma warning disable AS0072
                    ObsoleteTag = '28.0';
#pragma warning restore AS0072

File

  • src/Layers/IT/BaseApp/Manufacturing/Setup/ManufacturingSetup.Page.al

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM area

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions