Skip to content

KVSKBADispatchEditLib#

Events#

OnBeforeModifyEditedPostDispHandlHeader(Record KVSKBAPostedDispatchHandHeader, Record KVSKBAPostedDispatchHandHeader) :#

Summary: Integration event triggered before modifying a posted dispatch handling header during edit operations.

[IntegrationEvent(false, false)]
local procedure OnBeforeModifyEditedPostDispHandlHeader(var KVSKBAPostedDispatchHandHeader: Record "KVSKBAPostedDispatchHandHeader"; FromKVSKBAPostedDispatchHandHeader: Record "KVSKBAPostedDispatchHandHeader"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchEditLib", 'OnBeforeModifyEditedPostDispHandlHeader', '', false, false)]
local procedure DoSomethingOnBeforeModifyEditedPostDispHandlHeader(var KVSKBAPostedDispatchHandHeader: Record "KVSKBAPostedDispatchHandHeader"; FromKVSKBAPostedDispatchHandHeader: Record "KVSKBAPostedDispatchHandHeader")
begin
end;

Parameters:

  • KVSKBAPostedDispatchHandHeader: The posted dispatch handling header that will be modified.
  • FromKVSKBAPostedDispatchHandHeader: The source posted dispatch handling header containing the new values.

Remarks: Allows subscribers to perform additional field updates or validation before the header record is modified.

OnBeforeModifyEditedPostDispHandlLine(Record KVSKBAPostedDispatchHandlLine, Record KVSKBAPostedDispatchHandlLine) :#

Summary: Integration event triggered before modifying a posted dispatch handling line during edit operations.

[IntegrationEvent(false, false)]
local procedure OnBeforeModifyEditedPostDispHandlLine(var KVSKBAPostedDispatchHandlLine: Record "KVSKBAPostedDispatchHandlLine"; FromKVSKBAPostedDispatchHandlLine: Record "KVSKBAPostedDispatchHandlLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchEditLib", 'OnBeforeModifyEditedPostDispHandlLine', '', false, false)]
local procedure DoSomethingOnBeforeModifyEditedPostDispHandlLine(var KVSKBAPostedDispatchHandlLine: Record "KVSKBAPostedDispatchHandlLine"; FromKVSKBAPostedDispatchHandlLine: Record "KVSKBAPostedDispatchHandlLine")
begin
end;

Parameters:

  • KVSKBAPostedDispatchHandlLine: The posted dispatch handling line that will be modified.
  • FromKVSKBAPostedDispatchHandlLine: The source posted dispatch handling line containing the new values.

Remarks: Allows subscribers to perform additional field updates or validation before the line record is modified.