Skip to content

KVSKBASalesHeader#

Events#

OnBeforeSetAssignedUserID(Record Sales Header, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetAssignedUserID(var SalesHeader: Record "Sales Header"; OnInsertMode: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesHeader", 'OnBeforeSetAssignedUserID', '', false, false)]
local procedure DoSomethingOnBeforeSetAssignedUserID(var SalesHeader: Record "Sales Header"; OnInsertMode: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeSetDefaultSalespersonOnSalesHeader(Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetDefaultSalespersonOnSalesHeader(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesHeader", 'OnBeforeSetDefaultSalespersonOnSalesHeader', '', false, false)]
local procedure DoSomethingOnBeforeSetDefaultSalespersonOnSalesHeader(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeSetDefaultSalespersonOnSalesHeaderOnCaseElseTransfSalespfromCust(Record Sales Header, Record Sales & Receivables Setup, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetDefaultSalespersonOnSalesHeaderOnCaseElseTransfSalespfromCust(var SalesHeader: Record "Sales Header"; SalesReceivablesSetup: Record "Sales & Receivables Setup"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesHeader", 'OnBeforeSetDefaultSalespersonOnSalesHeaderOnCaseElseTransfSalespfromCust', '', false, false)]
local procedure DoSomethingOnBeforeSetDefaultSalespersonOnSalesHeaderOnCaseElseTransfSalespfromCust(var SalesHeader: Record "Sales Header"; SalesReceivablesSetup: Record "Sales & Receivables Setup"; var IsHandled: Boolean)
begin
end;