KVSKBADispatchHandlingPost#
Procedures#
OnRun#
procedure OnRun(Rec: Record "KVSKBADispatchHandlingHeader")
Events#
OnBeforeRunPosting(Record KVSKBADispatchHandlingHeader, Boolean, Boolean) :#
Summary: Integration event triggered before running the dispatch handling posting process.
[IntegrationEvent(false, false)]
local procedure OnBeforeRunPosting(DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"; var Invoice: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchHandlingPost", 'OnBeforeRunPosting', '', false, false)]
local procedure DoSomethingOnBeforeRunPosting(DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"; var Invoice: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
DispatchHandlingHeader: The dispatch handling header being posted.Invoice: Flag indicating whether invoicing should be performed during posting.IsHandled: Set to true if the event is handled by a subscriber and default processing should be skipped.
Remarks: Allows subscribers to customize the posting process or perform additional validation before posting begins.
OnAfterRunPosting(Record KVSKBADispatchHandlingHeader) :#
Summary: Integration event triggered after the dispatch handling posting process has completed.
[IntegrationEvent(false, false)]
local procedure OnAfterRunPosting(DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchHandlingPost", 'OnAfterRunPosting', '', false, false)]
local procedure DoSomethingOnAfterRunPosting(DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader")
begin
end;
Parameters:
DispatchHandlingHeader: The dispatch handling header that was posted.
Remarks: Allows subscribers to perform additional processing after the posting operation has completed successfully.