Skip to content

KVSDMSReportArchivingMgt#

Events#

OnBeforeAutoArchiveReportByUserInteraction(Integer, JsonObject, InStream, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAutoArchiveReportByUserInteraction(reportId: Integer; var objectPayload: JsonObject; var documentStream: InStream; isDownload: Boolean; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSReportArchivingMgt", 'OnBeforeAutoArchiveReportByUserInteraction', '', false, false)]
local procedure DoSomethingOnBeforeAutoArchiveReportByUserInteraction(reportId: Integer; var objectPayload: JsonObject; var documentStream: InStream; isDownload: Boolean; var isHandled: Boolean)
begin
end;

OnBeforeUploadFileAutoArchiveReportByUserInteraction(Integer, JsonObject, InStream, Record KVSDMSAutoReportArchiving, Record KVSDMSStorageDefinition, Record KVSDMSDocumentDrive, Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeUploadFileAutoArchiveReportByUserInteraction(reportId: Integer; objectPayload: JsonObject; documentStream: InStream; autoReportArchiving: Record "KVSDMSAutoReportArchiving"; storageDefinition: Record "KVSDMSStorageDefinition"; var documentDrive: Record "KVSDMSDocumentDrive"; var directoryPath: Text; var fileName: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSReportArchivingMgt", 'OnBeforeUploadFileAutoArchiveReportByUserInteraction', '', false, false)]
local procedure DoSomethingOnBeforeUploadFileAutoArchiveReportByUserInteraction(reportId: Integer; objectPayload: JsonObject; documentStream: InStream; autoReportArchiving: Record "KVSDMSAutoReportArchiving"; storageDefinition: Record "KVSDMSStorageDefinition"; var documentDrive: Record "KVSDMSDocumentDrive"; var directoryPath: Text; var fileName: Text)
begin
end;

OnBeforeAutoArchiveReportByPosting(Variant, Enum Report Selection Usage, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAutoArchiveReportByPosting(recVariant: Variant; reportUsage: Enum "Report Selection Usage"; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSReportArchivingMgt", 'OnBeforeAutoArchiveReportByPosting', '', false, false)]
local procedure DoSomethingOnBeforeAutoArchiveReportByPosting(recVariant: Variant; reportUsage: Enum "Report Selection Usage"; var isHandled: Boolean)
begin
end;

OnEnqueueRunAndUploadAutoReportArchivingInJobQueue(Variant, Record KVSDMSAutoReportArchiving, Record Job Queue Entry) :#

[IntegrationEvent(false, false)]
local procedure OnEnqueueRunAndUploadAutoReportArchivingInJobQueue(recVariant: Variant; autoReportArchiving: Record "KVSDMSAutoReportArchiving"; var jobQueueEntry: Record "Job Queue Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSReportArchivingMgt", 'OnEnqueueRunAndUploadAutoReportArchivingInJobQueue', '', false, false)]
local procedure DoSomethingOnEnqueueRunAndUploadAutoReportArchivingInJobQueue(recVariant: Variant; autoReportArchiving: Record "KVSDMSAutoReportArchiving"; var jobQueueEntry: Record "Job Queue Entry")
begin
end;

OnBeforeGetRootTableIdFromReport(Integer, Integer, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetRootTableIdFromReport(reportId: Integer; var tableId: Integer; var result: Boolean; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSReportArchivingMgt", 'OnBeforeGetRootTableIdFromReport', '', false, false)]
local procedure DoSomethingOnBeforeGetRootTableIdFromReport(reportId: Integer; var tableId: Integer; var result: Boolean; var isHandled: Boolean)
begin
end;

OnBeforeGetSourceRecordFromPayloadData(JsonObject, Integer, RecordRef, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetSourceRecordFromPayloadData(objectPayload: JsonObject; tableID: Integer; var recRef: RecordRef; var result: Boolean; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSReportArchivingMgt", 'OnBeforeGetSourceRecordFromPayloadData', '', false, false)]
local procedure DoSomethingOnBeforeGetSourceRecordFromPayloadData(objectPayload: JsonObject; tableID: Integer; var recRef: RecordRef; var result: Boolean; var isHandled: Boolean)
begin
end;

OnAfterSetFilterIsAutoPrintInBackgroundEnabled(Integer, Record Report Selections) :#

[IntegrationEvent(false, false)]
local procedure OnAfterSetFilterIsAutoPrintInBackgroundEnabled(reportID: Integer; var reportSelection: Record "Report Selections"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSReportArchivingMgt", 'OnAfterSetFilterIsAutoPrintInBackgroundEnabled', '', false, false)]
local procedure DoSomethingOnAfterSetFilterIsAutoPrintInBackgroundEnabled(reportID: Integer; var reportSelection: Record "Report Selections")
begin
end;

OnBeforeUpdateIsAutoPrintInBackgroundEnabled(Record Report Selections, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateIsAutoPrintInBackgroundEnabled(var reportSelection: Record "Report Selections"; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSReportArchivingMgt", 'OnBeforeUpdateIsAutoPrintInBackgroundEnabled', '', false, false)]
local procedure DoSomethingOnBeforeUpdateIsAutoPrintInBackgroundEnabled(var reportSelection: Record "Report Selections"; var isHandled: Boolean)
begin
end;