codeunitManufacturingofficial - Microsoftderived - from the source, no model textobsolete - pending

Codeunit 99008501 "Legacy Subc. Feature Handler" (IT)

IT country layer · Microsoft.Manufacturing.Setup

Across versionsobsolete pending since 28.0

  1. BC23-28not present
  2. 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

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.

Evidence 1 sources