Skip to content

KVSKBANavigateDocProc#

Procedures#

SetDocProcID(Code[20]) :#

Summary: Set Document Process ID from outside of the Page

procedure SetDocProcID(DocProcNo: Code[20]): 

Parameters:

  • DocProcNo: Document Process ID, which should be searched for

SetDocProcIDWithFilter(Text) :#

Summary: Set Document Process ID from outside of the Page as Filterstring

procedure SetDocProcIDWithFilter(DocProcNoFilterText: Text): 

Parameters:

  • DocProcNoFilterText: Filterstring, which should be searched for

KVSKBAInsertIntoDocumentEntry(Record Document Entry, Integer, Enum Document Entry Document Type, Text[1024], Integer) :#

procedure KVSKBAInsertIntoDocumentEntry(var TempDocumentEntry: Record "Document Entry" temporary; DocumentTableID: Integer; DocumentType: Enum "Document Entry Document Type"; DocumentTableName: Text[1024]; DocumentNoOfRecords: Integer): 

InsertIntoDocEntry(Record Document Entry, Integer, Enum Document Entry Document Type, Text[1024], Integer) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This event is no longer supported, please use KVSKBAInsertIntoDocumentEntry', '25.0')]
procedure InsertIntoDocEntry(var TempDocumentEntry: Record "Document Entry" temporary; DocTableID: Integer; DocType: Enum "Document Entry Document Type"; DocTableName: Text[1024]; DocNoOfRecords: Integer): 

Events#

OnAfterFindRecords(Record Document Entry, Text) :#

[IntegrationEvent(true, false)]
local procedure OnAfterFindRecords(var DocumentEntry: Record "Document Entry"; DocNoFilter: Text): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBANavigateDocProc", 'OnAfterFindRecords', '', false, false)]
local procedure DoSomethingOnAfterFindRecords(var DocumentEntry: Record "Document Entry"; DocNoFilter: Text)
begin
end;

OnAfterNavigateShowRecords(Integer, Text, Record Document Entry, Record Sales Invoice Header, Record Sales Cr.Memo Header, Record Purch. Inv. Header, Record Purch. Cr. Memo Hdr., Record Service Invoice Header, Record Service Cr.Memo Header) :#

[IntegrationEvent(false, false)]
local procedure OnAfterNavigateShowRecords(TableID: Integer; DocNoFilter: Text; var TempDocumentEntry: Record "Document Entry" temporary; SalesInvoiceHeader: Record "Sales Invoice Header"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; ServiceInvoiceHeader: Record "Service Invoice Header"; ServiceCrMemoHeader: Record "Service Cr.Memo Header"): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBANavigateDocProc", 'OnAfterNavigateShowRecords', '', false, false)]
local procedure DoSomethingOnAfterNavigateShowRecords(TableID: Integer; DocNoFilter: Text; var TempDocumentEntry: Record "Document Entry" temporary; SalesInvoiceHeader: Record "Sales Invoice Header"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; ServiceInvoiceHeader: Record "Service Invoice Header"; ServiceCrMemoHeader: Record "Service Cr.Memo Header")
begin
end;

OnBeforeNavigateShowRecords(Integer, Text, Record Document Entry, Boolean, Record Sales Invoice Header, Record Sales Cr.Memo Header, Record Purch. Inv. Header, Record Purch. Cr. Memo Hdr., Record Service Invoice Header, Record Service Cr.Memo Header) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeNavigateShowRecords(TableID: Integer; DocNoFilter: Text; var TempDocumentEntry: Record "Document Entry" temporary; var IsHandled: Boolean; SalesInvoiceHeader: Record "Sales Invoice Header"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; ServiceInvoiceHeader: Record "Service Invoice Header"; ServiceCrMemoHeader: Record "Service Cr.Memo Header"): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBANavigateDocProc", 'OnBeforeNavigateShowRecords', '', false, false)]
local procedure DoSomethingOnBeforeNavigateShowRecords(TableID: Integer; DocNoFilter: Text; var TempDocumentEntry: Record "Document Entry" temporary; var IsHandled: Boolean; SalesInvoiceHeader: Record "Sales Invoice Header"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; ServiceInvoiceHeader: Record "Service Invoice Header"; ServiceCrMemoHeader: Record "Service Cr.Memo Header")
begin
end;

OnBeforeUpdateFormAfterFindRecords() :#

[IntegrationEvent(true, false)]
local procedure OnBeforeUpdateFormAfterFindRecords(): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBANavigateDocProc", 'OnBeforeUpdateFormAfterFindRecords', '', false, false)]
local procedure DoSomethingOnBeforeUpdateFormAfterFindRecords()
begin
end;

OnBeforeFindRecordsNew(Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeFindRecordsNew(var HideDialog: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBANavigateDocProc", 'OnBeforeFindRecordsNew', '', false, false)]
local procedure DoSomethingOnBeforeFindRecordsNew(var HideDialog: Boolean)
begin
end;