KVSMEDPrintPortalLib
Procedures
IsPPBatchPrintReport(Integer) : Boolean
Summary: Indicates whether the ReportId is set up as a PrintPortal report
procedure IsPPBatchPrintReport(ReportID: Integer): Boolean
Parameters:
ReportID: Report Id to Check
Returns: True if ReportId was found in the PrintPortalSetup
Events
OnIsPPReportOnCaseElse(Integer, Boolean, Boolean) :
Summary: Change the result of IsPPReport for a report ID
[IntegrationEvent(false, false)]
local procedure OnIsPPReportOnCaseElse(ReportID: Integer; var ReturnVal: Boolean; var IsHandled: Boolean):
Parameters:
ReportID: Report ID to check if is print portal reportReturnVal: True is PP report. False is not PP report. Return value is only used if parameter IsHanled is set to true.IsHandled: ReturnVal should be used if IsHanled set to true
OnAfterCombinePrintJobDocuments(Record KVSMEDPrint Job, Codeunit Temp Blob, Boolean, OutStream, Codeunit Temp Blob) :
[IntegrationEvent(false, false)]
local procedure OnAfterCombinePrintJobDocuments(PrintJob: Record "KVSMEDPrint Job"; var MainArchiveTempBlob: Codeunit "Temp Blob"; var LinkedDocumentsPresent: Boolean; var PrintOutStream: OutStream; var LinkedDocumentTempBlob: Codeunit "Temp Blob"):
OnBeforeCombinePrintJobDocuments(Record KVSMEDPrint Job) :
Summary: Event is raised before the documents attached to a print job are joined.
[IntegrationEvent(false, false)]
local procedure OnBeforeCombinePrintJobDocuments(PrintJob: Record "KVSMEDPrint Job"):
Parameters:
PrintJob: Print job record.
OnCollectingPostLinkedDocuments(Record KVSMEDPrint Job) :
Summary: Event is raised to collect documents to be printed after the main document. The documents must be inserted in the print job document table belonging to the print job
[IntegrationEvent(false, false)]
local procedure OnCollectingPostLinkedDocuments(PrintJob: Record "KVSMEDPrint Job"):
Parameters:
PrintJob: Print job record
OnCollectingPreLinkedDocuments(Record KVSMEDPrint Job) :
Summary: Event is raised to collect documents to be printed before the main document. The documents must be inserted in the print job document table belonging to the print job
[IntegrationEvent(false, false)]
local procedure OnCollectingPreLinkedDocuments(PrintJob: Record "KVSMEDPrint Job"):
Parameters:
PrintJob: Print job record
OnAfterArchiveDocument(Record KVSMEDPrint Job) :
Summary: Event is raised after the main document and the combined documents are archived.
[IntegrationEvent(false, false)]
local procedure OnAfterArchiveDocument(PrintJob: Record "KVSMEDPrint Job"):
Parameters:
PrintJob: Print job record
OnBeforeArchiveDocument(Record KVSMEDPrint Job, RecordRef, Codeunit Temp Blob, Boolean, Codeunit Temp Blob, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeArchiveDocument(var PrintJob: Record "KVSMEDPrint Job"; RecordRef: RecordRef; var MainDocumentTempBlob: Codeunit "Temp Blob"; var ArchiveLinkedDocument: Boolean; var CombindedDocTempBlob: Codeunit "Temp Blob"; var Handled: Boolean):
OnAfterCollectionLinkedDocuments(Record KVSMEDPrint Job) :
Summary: Event is raised after all pre and post linked documents are collected.
[IntegrationEvent(false, false)]
local procedure OnAfterCollectionLinkedDocuments(PrintJob: Record "KVSMEDPrint Job"):
Parameters:
PrintJob: Print job record
OnBeforeAddBusinessPaper(Integer) :
Summary: Event is raised before the business paper is added to the main document of the print job
[IntegrationEvent(false, false)]
local procedure OnBeforeAddBusinessPaper(PrintJobNo: Integer):
Parameters:
PrintJobNo: Print job number
OnBeforeAddWatermark(Integer) :
Summary: Event is raised before the watermark is added the the archived version of the main and linked documents of the print job
[IntegrationEvent(false, false)]
local procedure OnBeforeAddWatermark(PrintJobNo: Integer):
Parameters:
PrintJobNo: Print job number
OnBeforeCollectionLinkedDocuments(Record KVSMEDPrint Job) :
Summary: Event is raised before the pre and post linked documents are collected.
[IntegrationEvent(false, false)]
local procedure OnBeforeCollectionLinkedDocuments(PrintJob: Record "KVSMEDPrint Job"):
Parameters:
PrintJob: Print job record
OnBeforeJoinFiles(Integer) :
Summary: Event is raised before the print and archive version of the main and linked documents are joined
[IntegrationEvent(false, false)]
local procedure OnBeforeJoinFiles(PrintJobNo: Integer):
Parameters:
PrintJobNo: Print job number