Skip to content

KVSTRDCopyDocumentLib#

Events#

KVSTRDOnBeforeCopyFieldsServiceHeaderPostedCreditMemo(Record Service Header, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeCopyFieldsServiceHeaderPostedCreditMemo(ServiceHeader: Record "Service Header"; var CopyHeader: Boolean; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCopyDocumentLib", 'KVSTRDOnBeforeCopyFieldsServiceHeaderPostedCreditMemo', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeCopyFieldsServiceHeaderPostedCreditMemo(ServiceHeader: Record "Service Header"; var CopyHeader: Boolean; var isHandled: Boolean)
begin
end;

KVSTRDOnBeforeCopyFieldsServiceHeaderPostedInvoice(Record Service Header, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeCopyFieldsServiceHeaderPostedInvoice(ServiceHeader: Record "Service Header"; var CopyHeader: Boolean; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCopyDocumentLib", 'KVSTRDOnBeforeCopyFieldsServiceHeaderPostedInvoice', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeCopyFieldsServiceHeaderPostedInvoice(ServiceHeader: Record "Service Header"; var CopyHeader: Boolean; var isHandled: Boolean)
begin
end;

KVSTRDOnCheckServiceLineOnBeforeModify(Record Service Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnCheckServiceLineOnBeforeModify(var ServiceLine: Record "Service Line"; RecalculateLines: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCopyDocumentLib", 'KVSTRDOnCheckServiceLineOnBeforeModify', '', false, false)]
local procedure DoSomethingKVSTRDOnCheckServiceLineOnBeforeModify(var ServiceLine: Record "Service Line"; RecalculateLines: Boolean)
begin
end;