codeunitManufacturingofficial - Microsoftderived - from the source, no model text

Codeunit 5431 "Calc. Item Plan - Plan Wksh."

Base Application · Microsoft.Manufacturing.Planning

Across versions

  1. BC23-24present
  2. BC253 events added, 1 events removed
  3. BC26unchanged
  4. BC274 events added, 1 procedures added
  5. BC282 procedures added
  6. BC29unchanged
  7. BC301 procedures added, 1 events removed

Neighbourhood 5 connected objects and pages

Table 27 "Item" (relates to)ItemCodeunit 99000821 "Mfg. CalcItemPlanPlanWksh" (event subscribers, 2 links)Mfg. CalcItemPlanPlanWkshCodeunit 6450 "Serv. Integration Mgt." (event subscribers)Serv. Integration Mgt.Codeunit 99000854 "Inventory Profile Offsetting" (calls, 7 links)Inventory Profile OffsettingCodeunit 99000845 "Reservation Management" (calls, 2 links)Reservation Management

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Manufacturing.Planning · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
TableNo Item

Events published

  • OnBeforeCheckPreconditions(var Item: Record Item; MPS: Boolean; MRP: Boolean; FromDate: Date; ToDate: Date; var IsHandled: Boolean) (integration)
  • OnBeforeCalculateAndGetPlanningCompList(var Item: Record Item; CurrTemplateName: Code[10]; CurrWorksheetName: Code[10]; ToDate: Date; FromDate: Date; UseForecast: Code[10]; ExcludeForecastBefore: Date; MfgSetup: Record Microsoft.Manufacturing.Setup."Manufacturing Setup"; MRP: Boolean; RespectPlanningParm: Boolean; var TempPlanningCompList: Record "Planning Component" temporary; var IsHandled: Boolean; var InventoryProfileOffsetting: Codeunit "Inventory Profile Offsetting") + BC27 − BC27 − BC30 (integration, obsolete 27.0)
  • OnBeforeCalculateAndGetPlanningComponents(var Item: Record Item; CurrTemplateName: Code[10]; CurrWorksheetName: Code[10]; ToDate: Date; FromDate: Date; UseForecast: Code[10]; ExcludeForecastBefore: Date; MRP: Boolean; RespectPlanningParm: Boolean; var TempPlanningCompList: Record "Planning Component" temporary; var IsHandled: Boolean; var InventoryProfileOffsetting: Codeunit "Inventory Profile Offsetting") + BC27 (integration)
  • OnBeforePlanThisItem(Item: Record Item; var IsHandled: Boolean; MPS: Boolean; MRP: Boolean; NetChange: Boolean; var FromDate: Date; ToDate: Date; UseForecast: Code[10]; RespectPlanningParm: Boolean; var Result: Boolean) (integration)
  • OnCodeOnAfterGetPlanningComponents(Item: Record Item) (integration)
  • OnCodeOnAfterSetReqLineFilters(var ReqLineExtern: Record "Requisition Line"; CurrTemplateName: Code[10]; CurrWorksheetName: Code[10]; var FromDate: Date; var ToDate: Date) + BC25 − BC25 (integration)
  • OnCodeOnBeforeInvtProfileOffsettingSetParm(Item: Record Item) (integration)
  • OnCodeOnBeforeTempItemListInsert(TempItemList: Record Item temporary; var IsHandled: Boolean) (integration)
  • OnPlanThisItemOnBeforeCheckServJobPlanningLines(var Item: Record Item; var IsHandled: Boolean; MPS: Boolean; MRP: Boolean; NetChange: Boolean; var FromDate: Date; ToDate: Date; UseForecast: Code[10]; RespectPlanningParm: Boolean; var Result: Boolean; var DoExit: Boolean) (integration)
  • OnPlanThisItemOnBeforeExitMPS(var Item: Record Item; var LinesExist: Boolean) + BC25 (integration)
  • OnAfterCode(var TempItemList: Record Item temporary; var FromDate: Date; var ToDate: Date) + BC25 (integration)
  • OnAfterReqLineExternDelete(var Item: Record Item) + BC27 (integration)
  • OnProdOrderLineIsEmpty(var Item: Record Item; var Result: Boolean) + BC27 (integration)

Procedures

  • Initialize(NewFromDate: Date; NewToDate: Date; NewMPS: Boolean; NewMRP: Boolean; NewRespectPlanningParm: Boolean)
  • Finalize()
  • SetTemplAndWorksheet(TemplateName: Code[10]; WorksheetName: Code[10]; NetChange2: Boolean)
  • SetParm(Forecast: Code[10]; ExclBefore: Date; var Item2: Record Item)
  • SetResiliencyOn()
  • GetResiliencyError(var PlanningErrorLogEntry: Record "Planning Error Log"): Boolean
  • GetResiliencyErrors(var PlanningErrorLogEntry: Record "Planning Error Log"): Boolean + BC28: Gets the resiliency errors for the current item in planning and logs them in the “Planning Error Log” table.
  • GetPlanningSkippedForMissingSKUPolicy(): Boolean + BC28: Gets whether planning was skipped for the current item due to a missing SKU policy.
  • ClearInvtProfileOffsetting()

Plus 5 local procedures.

Triggers

OnRun

Relations

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Recent changes

Deprecations

  • procedure OnBeforeCalculateAndGetPlanningCompList: Pending 27.0 (#if not CLEAN27), “Replaced by event OnBeforeCalculateAndGetPlanningComponents()”

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). The call sections above are our own, per object, from the BC29 call graph. 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: "Calc. Item Plan - Plan Wksh."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources