KVSKBAUpdOrderFlowAnalysView
Procedures
OnRun
procedure OnRun(Rec: Record "KVSKBAOrderFlowAnalysisView")
UpdateAll(Option, Boolean) :
Summary: Updates the order flow analysis view based on the specified parameters.
procedure UpdateAll(Which: Option; DirectlyFromPosting: Boolean):
Parameters:
Which: Specifies which entries to update: Ledger Entries, Budget Entries, or Both.DirectlyFromPosting: Indicates whether the update is triggered directly from posting.
Remarks: This procedure updates the order flow analysis view by processing ledger entries and/or budget entries based on the specified parameters. It initializes necessary variables, locks relevant tables, and iterates through the entries to update the analysis view accordingly. The procedure also handles progress display and ensures that the last entry numbers are updated after processing.
Update(Record KVSKBAOrderFlowAnalysisView, Option, Boolean) :
Summary: Updates the order flow analysis view for a specific record.
procedure Update(var NewOrderFlowAnalysisView: Record "KVSKBAOrderFlowAnalysisView"; Which: Option; ShowWindow: Boolean):
Parameters:
NewOrderFlowAnalysisView: The record of the order flow analysis view to update.Which: Specifies which entries to update: Ledger Entries, Budget Entries, or Both.ShowWindow: Indicates whether to show the progress window during the update.
Remarks: This procedure updates the order flow analysis view for a specific record by processing ledger entries and/or budget entries based on the specified parameters. It initializes necessary variables, locks relevant tables, and iterates through the entries to update the analysis view accordingly. The procedure also handles progress display and ensures that the last entry numbers are updated after processing.
Events
OnBeforeUpdateAll(Option, Boolean, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAll(Which: Option; DirectlyFromPosting: Boolean; var Handled: Boolean):