Codeunit 20569 Subc. Feature Flag Handler

Subcontracting, Microsoft.Manufacturing.Subcontracting

Source AL, 28 lines

src/Apps/W1/Subcontracting/App/src/General/SubcFeatureFlagHandler.Codeunit.allines 10 to 25 of 28, Copyright (c) Microsoft Corporation. MIT

codeunit 20569 "Subc. Feature Flag Handler"{    ObsoleteState = Pending;    ObsoleteTag = '28.0';    ObsoleteReason = 'Legacy Subcontracting will be discontinued, environments should move to the Subcontracting App so this codeunit will be removed in a future release.';    [Obsolete('Legacy Subcontracting will be discontinued, environments should move to the Subcontracting App so this codeunit will be removed in a future release.', '28.0')]    procedure IsSubcontractingEnabled(): Boolean    var        ManufacturingSetup: Record "Manufacturing Setup";    begin        ManufacturingSetup.SetLoadFields("Legacy Subcontracting");        if not ManufacturingSetup.Get() then            exit(false);        exit(not ManufacturingSetup."Legacy Subcontracting");    end;

All 28 lines

Public procedures 1 in 29

IsSubcontractingEnabled(): Booleannew in 28
Pending, tag 28.0, obsolete since 28: Legacy Subcontracting will be discontinued, environments should move to the Subcontracting App so this codeunit will be removed in a future release.