Skip to content

KVSFCYCopySalesDocument#

Events#

OnAfterOpenPage() :#

[IntegrationEvent(false, false)]
local procedure OnAfterOpenPage(): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnAfterOpenPage', '', false, false)]
local procedure DoSomethingOnAfterOpenPage()
begin
end;

OnAfterValidateIncludeHeader(Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterValidateIncludeHeader(var IncludeHeader: Boolean; var RecalculateLines: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnAfterValidateIncludeHeader', '', false, false)]
local procedure DoSomethingOnAfterValidateIncludeHeader(var IncludeHeader: Boolean; var RecalculateLines: Boolean)
begin
end;

OnBeforeLookupDocNo(Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeLookupDocNo(var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnBeforeLookupDocNo', '', false, false)]
local procedure DoSomethingOnBeforeLookupDocNo(var SalesHeader: Record "Sales Header")
begin
end;

OnBeforeLookupSalesDoc(Record Sales Header, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeLookupSalesDoc(var FromSalesHeader: Record "Sales Header"; var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnBeforeLookupSalesDoc', '', false, false)]
local procedure DoSomethingOnBeforeLookupSalesDoc(var FromSalesHeader: Record "Sales Header"; var SalesHeader: Record "Sales Header")
begin
end;

OnBeforeLookupPostedCrMemo(Record Sales Cr.Memo Header, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeLookupPostedCrMemo(var FromSalesCrMemoHeader: Record "Sales Cr.Memo Header"; var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnBeforeLookupPostedCrMemo', '', false, false)]
local procedure DoSomethingOnBeforeLookupPostedCrMemo(var FromSalesCrMemoHeader: Record "Sales Cr.Memo Header"; var SalesHeader: Record "Sales Header")
begin
end;

OnBeforeLookupPostedInvoice(Record Sales Invoice Header, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeLookupPostedInvoice(var FromSalesInvHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnBeforeLookupPostedInvoice', '', false, false)]
local procedure DoSomethingOnBeforeLookupPostedInvoice(var FromSalesInvHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header")
begin
end;

OnBeforeLookupPostedShipment(Record Sales Shipment Header, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeLookupPostedShipment(var FromSalesShptHeader: Record "Sales Shipment Header"; var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnBeforeLookupPostedShipment', '', false, false)]
local procedure DoSomethingOnBeforeLookupPostedShipment(var FromSalesShptHeader: Record "Sales Shipment Header"; var SalesHeader: Record "Sales Header")
begin
end;

OnBeforeLookupPostedReturn(Record Return Receipt Header, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeLookupPostedReturn(var FromReturnRcptHeader: Record "Return Receipt Header"; var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnBeforeLookupPostedReturn', '', false, false)]
local procedure DoSomethingOnBeforeLookupPostedReturn(var FromReturnRcptHeader: Record "Return Receipt Header"; var SalesHeader: Record "Sales Header")
begin
end;

OnBeforePreReport() :#

[IntegrationEvent(false, false)]
local procedure OnBeforePreReport(): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnBeforePreReport', '', false, false)]
local procedure DoSomethingOnBeforePreReport()
begin
end;

OnBeforeValidateIncludeHeader(Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeValidateIncludeHeader(var DoIncludeHeader: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnBeforeValidateIncludeHeader', '', false, false)]
local procedure DoSomethingOnBeforeValidateIncludeHeader(var DoIncludeHeader: Boolean)
begin
end;

OnLookupSalesArchiveOnBeforeSetFilters(Record Sales Header Archive, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnLookupSalesArchiveOnBeforeSetFilters(var FromSalesHeaderArchive: Record "Sales Header Archive"; var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnLookupSalesArchiveOnBeforeSetFilters', '', false, false)]
local procedure DoSomethingOnLookupSalesArchiveOnBeforeSetFilters(var FromSalesHeaderArchive: Record "Sales Header Archive"; var SalesHeader: Record "Sales Header")
begin
end;

OnPreReportOnBeforeCopySalesDoc(Codeunit Copy Document Mgt., Integer, Code[20], Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnPreReportOnBeforeCopySalesDoc(var CopyDocumentMgt: Codeunit "Copy Document Mgt."; DocType: Integer; DocNo: Code[20]; SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCopySalesDocument", 'OnPreReportOnBeforeCopySalesDoc', '', false, false)]
local procedure DoSomethingOnPreReportOnBeforeCopySalesDoc(var CopyDocumentMgt: Codeunit "Copy Document Mgt."; DocType: Integer; DocNo: Code[20]; SalesHeader: Record "Sales Header")
begin
end;