Skip to content

KVSMEDCalculatePlanReqWksh#

Events#

OnAfterOnOpenPage(Date, Date) :#

[IntegrationEvent(false, false)]
local procedure OnAfterOnOpenPage(var FromDate: Date; var ToDate: Date): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCalculatePlanReqWksh", 'OnAfterOnOpenPage', '', false, false)]
local procedure DoSomethingOnAfterOnOpenPage(var FromDate: Date; var ToDate: Date)
begin
end;

OnAfterItemOnPreDataItem(Record Item) :#

[IntegrationEvent(false, false)]
local procedure OnAfterItemOnPreDataItem(var Item: Record "Item"): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCalculatePlanReqWksh", 'OnAfterItemOnPreDataItem', '', false, false)]
local procedure DoSomethingOnAfterItemOnPreDataItem(var Item: Record "Item")
begin
end;

OnAfterItemOnPostDataItem(Record Item) :#

[IntegrationEvent(false, false)]
local procedure OnAfterItemOnPostDataItem(var Item: Record "Item"): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCalculatePlanReqWksh", 'OnAfterItemOnPostDataItem', '', false, false)]
local procedure DoSomethingOnAfterItemOnPostDataItem(var Item: Record "Item")
begin
end;

OnAfterSkipPlanningForItemOnReqWksh(Record Item, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterSkipPlanningForItemOnReqWksh(Item: Record "Item"; var SkipPlanning: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCalculatePlanReqWksh", 'OnAfterSkipPlanningForItemOnReqWksh', '', false, false)]
local procedure DoSomethingOnAfterSkipPlanningForItemOnReqWksh(Item: Record "Item"; var SkipPlanning: Boolean)
begin
end;

OnBeforeSkipPlanningForItemOnReqWksh(Record Item, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSkipPlanningForItemOnReqWksh(Item: Record "Item"; var SkipPlanning: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCalculatePlanReqWksh", 'OnBeforeSkipPlanningForItemOnReqWksh', '', false, false)]
local procedure DoSomethingOnBeforeSkipPlanningForItemOnReqWksh(Item: Record "Item"; var SkipPlanning: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeDeleteReqLines(Record Item, Record Requisition Line, Record Requisition Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeDeleteReqLines(Item: Record "Item"; var PurchReqLine: Record "Requisition Line"; var ReqLineExtern: Record "Requisition Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCalculatePlanReqWksh", 'OnBeforeDeleteReqLines', '', false, false)]
local procedure DoSomethingOnBeforeDeleteReqLines(Item: Record "Item"; var PurchReqLine: Record "Requisition Line"; var ReqLineExtern: Record "Requisition Line"; var IsHandled: Boolean)
begin
end;

OnBeforeShowMessageWithTotal(Record Planning Error Log, Integer, Boolean) :#

Summary: This event is fired before showing message in InventoryProfileOffsetting, run in OnPostReport triggrt

[IntegrationEvent(false, false)]
local procedure OnBeforeShowMessageWithTotal(var PlanningErrorLog: Record "Planning Error Log"; var CounterNotOK: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCalculatePlanReqWksh", 'OnBeforeShowMessageWithTotal', '', false, false)]
local procedure DoSomethingOnBeforeShowMessageWithTotal(var PlanningErrorLog: Record "Planning Error Log"; var CounterNotOK: Integer; var IsHandled: Boolean)
begin
end;

Parameters:

  • Planning Error LogErrorLog:
  • G_CounterNotOK:
  • IsHandled: Ensures that the calling procedure is skipped if IsHandled is true

Protected Variables#

G_CurrTemplateName#

Type: Code[10]

G_CurrWorksheetName#

Type: Code[10]