Skip to content

KVSFCYCalcAvailabilityOverview#

Procedures#

OnRun#

procedure OnRun(Rec: Record "#437dbf0e84ff417a965ded2bb9650972#Availability Calc. Overview")

CalculateItem(Record Availability Calc. Overview) :#

procedure CalculateItem(var AvailabilityCalcOverview: Record "Availability Calc. Overview"): 

CalculateDate(Record Availability Calc. Overview) :#

procedure CalculateDate(var AvailabilityCalcOverview: Record "Availability Calc. Overview"): 

EntriesExist(Record Availability Calc. Overview) : Boolean#

procedure EntriesExist(var AvailabilityCalcOverview: Record "Availability Calc. Overview"): Boolean

SetParam(Option, Code[20]) :#

procedure SetParam(NewDemandType: Option; NewDemandNo: Code[20]): 

Events#

OnAfterCalcRunningTotals(Record Item, Decimal, Decimal, Decimal, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalcRunningTotals(var Item: Record "Item"; var RunningTotal: Decimal; var InventoryRunningTotal: Decimal; var SupplyRunningTotal: Decimal; var DemandRunningTotal: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalcAvailabilityOverview", 'OnAfterCalcRunningTotals', '', false, false)]
local procedure DoSomethingOnAfterCalcRunningTotals(var Item: Record "Item"; var RunningTotal: Decimal; var InventoryRunningTotal: Decimal; var SupplyRunningTotal: Decimal; var DemandRunningTotal: Decimal)
begin
end;

OnInsertEntryOnBeforeInsert(Record Availability Calc. Overview) :#

[IntegrationEvent(false, false)]
local procedure OnInsertEntryOnBeforeInsert(var AvailabilityCalcOverview: Record "Availability Calc. Overview"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalcAvailabilityOverview", 'OnInsertEntryOnBeforeInsert', '', false, false)]
local procedure DoSomethingOnInsertEntryOnBeforeInsert(var AvailabilityCalcOverview: Record "Availability Calc. Overview")
begin
end;

OnUpdateRunningTotalsOnBeforeModify(Record Availability Calc. Overview) :#

[IntegrationEvent(false, false)]
local procedure OnUpdateRunningTotalsOnBeforeModify(var AvailabilityCalcOverview: Record "Availability Calc. Overview"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalcAvailabilityOverview", 'OnUpdateRunningTotalsOnBeforeModify', '', false, false)]
local procedure DoSomethingOnUpdateRunningTotalsOnBeforeModify(var AvailabilityCalcOverview: Record "Availability Calc. Overview")
begin
end;