Skip to content

KVSKBAReleaseSalesDocument#

Events#

OnAfterOnManualReleaseOrSendForApproval(Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterOnManualReleaseOrSendForApproval(var SalesHeader: Record "Sales Header"; CalledOnSendingForApproval: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAReleaseSalesDocument", 'OnAfterOnManualReleaseOrSendForApproval', '', false, false)]
local procedure DoSomethingOnAfterOnManualReleaseOrSendForApproval(var SalesHeader: Record "Sales Header"; CalledOnSendingForApproval: Boolean)
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnBeforeOnManualReleaseOrSendForApproval(var SalesHeader: Record "Sales Header"; CalledOnSendingForApproval: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAReleaseSalesDocument", 'OnBeforeOnManualReleaseOrSendForApproval', '', false, false)]
local procedure DoSomethingOnBeforeOnManualReleaseOrSendForApproval(var SalesHeader: Record "Sales Header"; CalledOnSendingForApproval: Boolean; var IsHandled: Boolean)
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnManualReleaseOrSendForApprovalOnBeforeUpdateSalesDocLinesUnitPrice(var SalesHeader: Record "Sales Header"; var MustCalcInvoiceDiscount: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAReleaseSalesDocument", 'OnManualReleaseOrSendForApprovalOnBeforeUpdateSalesDocLinesUnitPrice', '', false, false)]
local procedure DoSomethingOnManualReleaseOrSendForApprovalOnBeforeUpdateSalesDocLinesUnitPrice(var SalesHeader: Record "Sales Header"; var MustCalcInvoiceDiscount: Boolean; var IsHandled: Boolean)
begin
end;