Skip to content

KVSMTCPrintPortalLib#

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

[IntegrationEvent(false, false)]
local procedure OnIsPPReportOnCaseElse(ReportID: Integer; var ReturnVal: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnIsPPReportOnCaseElse', '', false, false)]
local procedure DoSomethingOnIsPPReportOnCaseElse(ReportID: Integer; var ReturnVal: Boolean; var IsHandled: Boolean)
begin
end;

OnAfterCombinePrintJobDocuments(Record KVSMTCPrint Job, Codeunit Temp Blob, Boolean, OutStream, Codeunit Temp Blob) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCombinePrintJobDocuments(PrintJob: Record "KVSMTCPrint Job"; var MainArchiveTempBlob: Codeunit "Temp Blob"; var LinkedDocumentsPresent: Boolean; var PrintOutStream: OutStream; var LinkedDocumentTempBlob: Codeunit "Temp Blob"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnAfterCombinePrintJobDocuments', '', false, false)]
local procedure DoSomethingOnAfterCombinePrintJobDocuments(PrintJob: Record "KVSMTCPrint Job"; var MainArchiveTempBlob: Codeunit "Temp Blob"; var LinkedDocumentsPresent: Boolean; var PrintOutStream: OutStream; var LinkedDocumentTempBlob: Codeunit "Temp Blob")
begin
end;

OnBeforeCombinePrintJobDocuments(Record KVSMTCPrint Job) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCombinePrintJobDocuments(PrintJob: Record "KVSMTCPrint Job"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnBeforeCombinePrintJobDocuments', '', false, false)]
local procedure DoSomethingOnBeforeCombinePrintJobDocuments(PrintJob: Record "KVSMTCPrint Job")
begin
end;

OnCollectingPostLinkedDocuments(Record KVSMTCPrint Job) :#

[IntegrationEvent(false, false)]
local procedure OnCollectingPostLinkedDocuments(PrintJob: Record "KVSMTCPrint Job"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnCollectingPostLinkedDocuments', '', false, false)]
local procedure DoSomethingOnCollectingPostLinkedDocuments(PrintJob: Record "KVSMTCPrint Job")
begin
end;

OnCollectingPreLinkedDocuments(Record KVSMTCPrint Job) :#

[IntegrationEvent(false, false)]
local procedure OnCollectingPreLinkedDocuments(PrintJob: Record "KVSMTCPrint Job"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnCollectingPreLinkedDocuments', '', false, false)]
local procedure DoSomethingOnCollectingPreLinkedDocuments(PrintJob: Record "KVSMTCPrint Job")
begin
end;

OnAfterArchiveDocument(Record KVSMTCPrint Job) :#

[IntegrationEvent(false, false)]
local procedure OnAfterArchiveDocument(PrintJob: Record "KVSMTCPrint Job"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnAfterArchiveDocument', '', false, false)]
local procedure DoSomethingOnAfterArchiveDocument(PrintJob: Record "KVSMTCPrint Job")
begin
end;

OnBeforeArchiveDocument(Record KVSMTCPrint Job, RecordRef, Codeunit Temp Blob, Boolean, Codeunit Temp Blob, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeArchiveDocument(var PrintJob: Record "KVSMTCPrint Job"; RecRef: RecordRef; var MainDocumentTempBlob: Codeunit "Temp Blob"; var ArchiveLinkedDocument: Boolean; var CombindedDocTempBlob: Codeunit "Temp Blob"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnBeforeArchiveDocument', '', false, false)]
local procedure DoSomethingOnBeforeArchiveDocument(var PrintJob: Record "KVSMTCPrint Job"; RecRef: RecordRef; var MainDocumentTempBlob: Codeunit "Temp Blob"; var ArchiveLinkedDocument: Boolean; var CombindedDocTempBlob: Codeunit "Temp Blob"; var Handled: Boolean)
begin
end;

OnAfterCollectionLinkedDocuments(Record KVSMTCPrint Job) :#

Summary: This event is fired on after Collect Linked Documents

[IntegrationEvent(false, false)]
local procedure OnAfterCollectionLinkedDocuments(PrintJob: Record "KVSMTCPrint Job"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnAfterCollectionLinkedDocuments', '', false, false)]
local procedure DoSomethingOnAfterCollectionLinkedDocuments(PrintJob: Record "KVSMTCPrint Job")
begin
end;

Parameters:

  • PrintJob:

OnBeforeAddBusinessPaper(Integer) :#

Summary: This Event is used on Before Add Business Paper

[IntegrationEvent(false, false)]
local procedure OnBeforeAddBusinessPaper(PrintJobNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnBeforeAddBusinessPaper', '', false, false)]
local procedure DoSomethingOnBeforeAddBusinessPaper(PrintJobNo: Integer)
begin
end;

Parameters:

  • PrintJobNo:

OnBeforeAddWatermark(Integer) :#

Summary: This Event is used on Before Add Watermark

[IntegrationEvent(false, false)]
local procedure OnBeforeAddWatermark(PrintJobNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnBeforeAddWatermark', '', false, false)]
local procedure DoSomethingOnBeforeAddWatermark(PrintJobNo: Integer)
begin
end;

Parameters:

  • PrintJobNo:

OnBeforeCollectionLinkedDocuments(Record KVSMTCPrint Job) :#

Summary: This event is fired on Before Collect Linked Documents

[IntegrationEvent(false, false)]
local procedure OnBeforeCollectionLinkedDocuments(PrintJob: Record "KVSMTCPrint Job"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnBeforeCollectionLinkedDocuments', '', false, false)]
local procedure DoSomethingOnBeforeCollectionLinkedDocuments(PrintJob: Record "KVSMTCPrint Job")
begin
end;

Parameters:

  • PrintJob:

OnBeforeJoinFiles(Integer) :#

Summary:

[IntegrationEvent(false, false)]
local procedure OnBeforeJoinFiles(PrintJobNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCPrintPortalLib", 'OnBeforeJoinFiles', '', false, false)]
local procedure DoSomethingOnBeforeJoinFiles(PrintJobNo: Integer)
begin
end;

Parameters:

  • PrintJobNo: