KVSMEDPrintPortalLib#
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnIsPPReportOnCaseElse', '', false, false)]
local procedure DoSomethingOnIsPPReportOnCaseElse(ReportID: Integer; var ReturnVal: Boolean; var IsHandled: Boolean)
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnAfterCombinePrintJobDocuments', '', false, false)]
local procedure DoSomethingOnAfterCombinePrintJobDocuments(PrintJob: Record "KVSMEDPrint Job"; var MainArchiveTempBlob: Codeunit "Temp Blob"; var LinkedDocumentsPresent: Boolean; var PrintOutStream: OutStream; var LinkedDocumentTempBlob: Codeunit "Temp Blob")
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnBeforeCombinePrintJobDocuments', '', false, false)]
local procedure DoSomethingOnBeforeCombinePrintJobDocuments(PrintJob: Record "KVSMEDPrint Job")
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnCollectingPostLinkedDocuments', '', false, false)]
local procedure DoSomethingOnCollectingPostLinkedDocuments(PrintJob: Record "KVSMEDPrint Job")
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnCollectingPreLinkedDocuments', '', false, false)]
local procedure DoSomethingOnCollectingPreLinkedDocuments(PrintJob: Record "KVSMEDPrint Job")
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnAfterArchiveDocument', '', false, false)]
local procedure DoSomethingOnAfterArchiveDocument(PrintJob: Record "KVSMEDPrint Job")
begin
end;
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnBeforeArchiveDocument', '', false, false)]
local procedure DoSomethingOnBeforeArchiveDocument(var PrintJob: Record "KVSMEDPrint Job"; RecordRef: RecordRef; var MainDocumentTempBlob: Codeunit "Temp Blob"; var ArchiveLinkedDocument: Boolean; var CombindedDocTempBlob: Codeunit "Temp Blob"; var Handled: Boolean)
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnAfterCollectionLinkedDocuments', '', false, false)]
local procedure DoSomethingOnAfterCollectionLinkedDocuments(PrintJob: Record "KVSMEDPrint Job")
begin
end;
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnBeforeAddBusinessPaper', '', false, false)]
local procedure DoSomethingOnBeforeAddBusinessPaper(PrintJobNo: Integer)
begin
end;
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnBeforeAddWatermark', '', false, false)]
local procedure DoSomethingOnBeforeAddWatermark(PrintJobNo: Integer)
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnBeforeCollectionLinkedDocuments', '', false, false)]
local procedure DoSomethingOnBeforeCollectionLinkedDocuments(PrintJob: Record "KVSMEDPrint Job")
begin
end;
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDPrintPortalLib", 'OnBeforeJoinFiles', '', false, false)]
local procedure DoSomethingOnBeforeJoinFiles(PrintJobNo: Integer)
begin
end;
Parameters:
PrintJobNo
: Print job number