Table of Contents

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): 

Events

OnAfterFindRecords(Record Document Entry, Text) :

Summary: Event raised after the records are found.

[IntegrationEvent(true, false)]
local procedure OnAfterFindRecords(var DocumentEntry: Record "Document Entry"; DocNoFilter: Text): 

Parameters:

  • DocumentEntry: The record of the Document Entry table.
  • DocNoFilter: The document process number filter.

Remarks: This event can be subscribed to in order to perform additional actions after the records are found.

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) :

Summary: Event raised after navigating and showing records.

[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"): 

Parameters:

  • TableID: The ID of the table.
  • DocNoFilter: The document process number filter.
  • TempDocumentEntry: The temporary record of the Document Entry table.
  • SalesInvoiceHeader: The record of the Sales Invoice Header table.
  • SalesCrMemoHeader: The record of the Sales Cr.Memo Header table.
  • PurchInvHeader: The record of the Purch. Inv. Header table.
  • PurchCrMemoHdr: The record of the Purch. Cr. Memo Hdr. table.
  • ServiceInvoiceHeader: The record of the Service Invoice Header table.
  • ServiceCrMemoHeader: The record of the Service Cr.Memo Header table.

Remarks: This event can be subscribed to in order to perform additional actions after navigating and showing records.

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) :

Summary: Event raised before navigating and showing records.

[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"): 

Parameters:

  • TableID: The ID of the table.
  • DocNoFilter: The document process number filter.
  • TempDocumentEntry: The temporary record of the Document Entry table.
  • IsHandled: Indicates whether the event is handled.
  • SalesInvoiceHeader: The record of the Sales Invoice Header table.
  • SalesCrMemoHeader: The record of the Sales Cr.Memo Header table.
  • PurchInvHeader: The record of the Purch. Inv. Header table.
  • PurchCrMemoHdr: The record of the Purch. Cr. Memo Hdr. table.
  • ServiceInvoiceHeader: The record of the Service Invoice Header table.
  • ServiceCrMemoHeader: The record of the Service Cr.Memo Header table.

Remarks: This event can be subscribed to in order to perform additional actions before navigating and showing records.

OnBeforeUpdateFormAfterFindRecords() :

Summary: Event raised before updating the page after finding records.

[IntegrationEvent(true, false)]
local procedure OnBeforeUpdateFormAfterFindRecords(): 

Remarks: This event can be subscribed to in order to perform additional actions before updating the page after finding records.

OnBeforeFindRecordsNew(Boolean) :

Summary: Event raised before finding records.

[IntegrationEvent(false, false)]
local procedure OnBeforeFindRecordsNew(var HideDialog: Boolean): 

Parameters:

  • HideDialog: Indicates whether to hide the dialog.

Remarks: This event can be subscribed to in order to perform additional actions before finding records.