Skip to content

Codeunit wDCR_SupportFileAnalysis

Provides functions to run reports from a Document Creator Support File.

Properties

Name Value
Access Public

Methods

wgFncRunSupportFileOnServer

Runs the report contained in a support file and saves the resulting file to a location specified through a file dialog.

Parameters

Type Name Description
Text pSupportFileName The file name of the support file.
InStream pInStreamSupport The InStream containing the support file contents.
Enum "wDCR_OutputFileType" pOutputFileType The output format of the report.
Code[10] pExportProfileCode The export profile to use for the report.

wgFncRunSupportFileOnServer

Runs the report contained in a support file and saves the resulting file to a location specified through a file dialog.

Parameters

Type Name Description
Text pSupportFileName The file name of the support file.
InStream pInStreamSupport The InStream containing the support file contents.
Enum "wDCR_OutputFileType" pOutputFileType The output format of the report.
Code[10] pExportProfileCode The export profile to use for the report.
Integer pDataLocaleID The ID that identifies the locale of the dataset.

wgFncRunSupportFileOnServer

Runs the report contained in a support file and saves the resulting file to a stream.

Parameters

Type Name Description
InStream pInStreamSupport The InStream containing the support file contents.
Enum "wDCR_OutputFileType" pOutputFileType The output format of the report.
Code[10] pExportProfileCode The export profile to use for the report.
OutStream vOutStreamOutputDoc The OutStream to which the file is saved.

wgFncRunSupportFileOnServer

Runs the report contained in a support file and saves the resulting file to a stream.

Parameters

Type Name Description
InStream pInStreamSupport The InStream containing the support file contents.
Enum "wDCR_OutputFileType" pOutputFileType The output format of the report.
Code[10] pExportProfileCode The export profile to use for the report.
Integer pDataLocaleID The locale ID of the dataset.
OutStream vOutStreamOutputDoc The OutStream to which the file is saved.

wgFncViewHTMLAsEmailBodyInEditor

Opens the standard Business Central email editor with the HTML email body content produced by a layout. The email subject will be set to 'Preview email body for "Layout Name"'

Parameters

Type Name Description
Text pLayoutName The name of the layout that produced the HTML content.
Codeunit "Temp Blob" pCduTempBlobHtml The email body HTML content.

wgFncViewHTMLWithSubjectAsEmailBodyInEditor

Opens the standard Business Central email editor with specified e-mail subject and HTML email body content.

Parameters

Type Name Description
Text pSubject The email subject.
Codeunit "Temp Blob" pCduTempBlobHtml The email body HTML content.