Skip to content

KVSMTCPPBatchPrint#

Procedures#

Print(Integer, Variant) :#

Summary: Calls the report as a single print to archive the single documents to the dms, provided the report ID is entered in the print portal

procedure Print(ReportID: Integer; var RecordVariantToPrint: Variant): 

Parameters:

  • ReportID:
  • RecordVariantToPrint:

Events#

OnBeforePrintDocument(Integer, RecordRef, Enum KVSMTCOutputMode) :#

Summary: Provides for a Report the OutputMode before Printing Document.

[IntegrationEvent(false, false)]
local procedure OnBeforePrintDocument(reportID: Integer; recRef: RecordRef; outputMode: Enum "KVSMTCOutputMode"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPPBatchPrint", 'OnBeforePrintDocument', '', false, false)]
local procedure DoSomethingOnBeforePrintDocument(reportID: Integer; recRef: RecordRef; outputMode: Enum "KVSMTCOutputMode")
begin
end;

Parameters:

  • reportID:
  • recRef:
  • outputMode: