Codeunit 70491931 EOS086 Calc. Item Plan Wksh.

Codeunit 70491931 EOS086 Calc. Item Plan Wksh.

Methods

Initialize

procedure Initialize(NewFromDate: Date; NewToDate: Date; NewMPS: Boolean; NewMRP: Boolean; NewRespectPlanningParm: Boolean)

Parameters / Return Value

  • NewFromDate Date

  • NewToDate Date

  • NewMPS Boolean

  • NewMRP Boolean

  • NewRespectPlanningParm Boolean


Finalize

procedure Finalize()

SetTemplAndWorksheet

procedure SetTemplAndWorksheet(TemplateName: Code[10]; WorksheetName: Code[10]; NetChange2: Boolean)

Parameters / Return Value

  • TemplateName Code[10]

  • WorksheetName Code[10]

  • NetChange2 Boolean


SetParm

procedure SetParm(Forecast: Code[10]; ExclBefore: Date; var Item2: Record Item)

Parameters / Return Value

  • Forecast Code[10]

  • ExclBefore Date

  • Item2 Record "Item"


SetResiliencyOn

procedure SetResiliencyOn()

GetResiliencyError

procedure GetResiliencyError(var PlanningErrorLogEntry: Record "Planning Error Log"): Boolean

Parameters / Return Value

  • PlanningErrorLogEntry Record "Planning Error Log"

  • Returns Boolean


ClearInvtProfileOffsetting

procedure ClearInvtProfileOffsetting()

Events

OnBeforeCheckPreconditions

local procedure OnBeforeCheckPreconditions(var Item: Record Item; MPS: Boolean; MRP: Boolean; FromDate: Date; ToDate: Date; var IsHandled: Boolean)

Parameters / Return Value

  • Item Record "Item"

  • MPS Boolean

  • MRP Boolean

  • FromDate Date

  • ToDate Date

  • IsHandled Boolean


OnBeforePlanThisItem

local procedure OnBeforePlanThisItem(Item: Record Item; var IsHandled: Boolean)

Parameters / Return Value

  • Item Record "Item"

  • IsHandled Boolean



EOS Labs -