Zetadocs Server Send

<< Click to Display Table of Contents >>

Navigation:  Zetadocs SDK Guide > Zetadocs SDK API >

Zetadocs Server Send

Zetadocs Server Send codeunit

 

The Zetadocs Server Send codeunit exposes procedures that allow you to deliver emails of Business Central reports with all editions of Zetadocs. Zetadocs Delivery can be automated and scheduled with Zetadocs Delivery Plus.

 

Method name

Description

SendViaZetadocs(RecordRef, Integer, Text, Boolean)

Sends using the specified report.

SendViaZetadocs(Integer, Text, Boolean)

Sends using the specified report.

Intended for Delivery automation.

 

 

SendViaZetadocs

Sends using the specified report.

If the RequestPageParams filter is empty, the report request page will be prompted, with pre-populated values according to the RecordRef provided.

 

Syntax

Zetadocs Server Send.SendViaZetadocs(zdRecRef: RecordRef; reportID: Integer; requestPageParams: Text; showUI: Boolean)

 

Parameters

zdRecRef

Type: RecordRef

Reference on which the ReportRequestPage will be pre-populated.

 

reportID

Type: Integer

Identifier of the report to execute for delivery.

 

requestPageParams

Type: Text

Report parameter that contains the filter to apply on the records. If the RequestPageParams filter is empty, the report request page will be prompted.

 

showUI

Type: Boolean

Specify if the user interface displaying is permitted. In case of automation, set this parameter to false to disable the ReportPageRequest display.

 

 

SendViaZetadocs

Sends using the specified report.

It relies on the provided requestPageParams to filter the records to send.

 

Syntax

OnBeforeCaptureHandler. GetDocumentIds(var documentIds: List of [Text]);

 

Parameters

reportID

Type: Integer

Identifier of the report to execute for delivery.

 

requestPageParams

Type: Text

Report parameter that contains the filter to apply on the records. If the RequestPageParams filter is empty, the report request page will be prompted.

 

showUI

Type: Boolean

Specify if the user interface displaying is permitted. In case of automation, set this parameter to false to disable the ReportPageRequest display.