Skip to content

Codeunit wDCR_Publishers

Exposes additional event publishers next to the event publishers that are available from the public objects.

Properties

Name Value
Access Public

Methods

wgEvpReportExecutionParameters_OnAfterGetDevelopmentEnvironmentName

Allows to hook into getting the environment name that will be used for (default) file names of exported files.

Parameters

Type Name Description
Text vEnvironmentName The environment name.

wgEvpReportExecutionParameters_OnAfterGetFormattingCulture

Allows to change the formatting culture that should be used for specific scenarios.

Parameters

Type Name Description
Integer vFormattingLocaleID The locale ID of the formatting culture that should be used for rendering the report.

wgEvpReportExecutionParameters_OnBeforeGetDefaultOutputTypeFileName

Allows to hook into the moment right before the (default) file name of a document is determined. This concerns the fallback file name that is used if no file name was specified for the document by Business Central.

Parameters

Type Name Description
Integer pReportID The ID of the report.
Enum "wDCR_OutputFileType" pOutputFileType The output file type (e.g., PDF)
Text vDefaultOutputFileName The output default file name.
Boolean vIsHandled Set this parameter to true if your custom extension sets the file name.

wgEvpReportExecutionParameters_OnBeforeGetTenantDBIdentifyingName

Allows to hook into getting the identifying name that will be used for (default) file names of exported files.

Parameters

Type Name Description
Text vTenantIdentifyingName The identifying name.
Boolean vIsHandled Whether an extension handles the identifying name.