Codeunit 99008501 "Legacy Subc. Feature Handler" (IT)
IT country layer · Microsoft.Manufacturing.Setup
Across versionsobsolete pending since 28.0
- BC23-28not present
- BC29-30present
IT country layer · Microsoft.Manufacturing.Setup · BC29-30 · source at ea08af5e · facts from BC29
An object of the IT localization, not part of W1.
Properties
| Property | Value |
|---|---|
| ObsoleteState | Pending |
| ObsoleteTag | 28.0 |
| ObsoleteReason | Legacy Subcontracting will be discontinued, environments should move to the Subcontracting App. |
Events published
OnCheckIsITMigrationAppInstalled(var Result: Boolean)(internal)OnCheckIsSubcontractingAppInstalled(var Result: Boolean)(internal)OnMigrationSubcontractingData()(integration)
Procedures
IsLegacySubcontractingEnabled(): Boolean(internal): Returns whether Legacy Subcontracting is enabled in Manufacturing Setup.CheckCanDisableLegacySubcontracting(): Checks whether Legacy Subcontracting can be disabled and raises an error if the preconditions are not met. When a required app is missing, it offers to install it inline.CanDisableLegacySubcontracting(): Boolean(internal): Checks whether Legacy Subcontracting can be disabled and raises an error if the preconditions are not met. When a required app is missing, it offers to install it inline and returns false so the caller does not disable Legacy Subcontracting - after the install completes and the session reloads, the …CheckCanEnableLegacySubcontracting(): Checks whether Legacy Subcontracting can be enabled and raises an error if the preconditions are not met.DatabaseHasLegacySubcontractingData(): Boolean(internal): Returns whether the database contains Legacy Subcontracting data based on the presence of subcontracting purchase orders, subcontracting transfer orders, WIP Item related data, capacity ledger entries, or subcontracting prices.MigrateData()(internal)SetLegacySubcontracting(var ManufacturingSetup: Record "Manufacturing Setup"; Enabled: Boolean)(internal)RestartSession()(internal)
Plus 12 local procedures.
Recent changes
- 2026-09-30 #12080 Bug 649448: [Subcontracting] [IT] Fully received WIP purchase orders block Disable Legacy Subcontracting (main, BC30, fix)
- 2026-09-01 #10483 [Subcontracting] Bug 647210 & 647791: Enable IT migration in production and keep Legacy Subcontracting on when app install is declined (main, BC30, fix)
- 2026-08-13 #10208 [Subcontracting] Detect subcontracting purchase/transfer orders in legacy data check (main, BC30, fix)
- 2026-07-28 #9747 [Subcontracting] Bug 641607: Fix misleading error message when disabling Legacy Subcontracting with open WIP purchase orders (main, BC30, fix)
- 2026-07-08 #9191 Bug 641232: [Subcontracting] Offer to install missing apps instead of hard error when disabling Legacy Subcontracting (main, BC30, fix)
Deprecations
- procedure SubcontractingPricesExist: guarded (#if not CLEAN28)
- procedure WIPItemCapacityLedgerEntriesExist: guarded (#if not CLEAN28)
- object: Pending 28.0 (#if not CLEAN28), “Legacy Subcontracting will be discontinued, environments should move to the Subcontracting App.”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Legacy Subc. Feature Handler"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.
A IT country object, not part of W1: the default corpus does not have it; bcatlas_list_countries shows which countries the atlas has.