Skip to content

Codeunit wDCR_FormatRegion

Allows to change the format region that should be used by Document Creator for rendering reports in the current session.

Properties

Name Value
Access Public
SingleInstance True

Methods

wgFncGetFormatRegionLocaleID

Get the locale ID of the currently set Format Region. Returns 0 if no format region was set.

Returns

Type Description
Integer The locale ID of the format region that is currently set.

wgFncGetFormatRegionTag

Gets the tag/name of the currently set Format Region. Returns an empty string if no format region was set.

Returns

Type Description
Text The tag/name of the format region that is currently set.

wgFncSetFormatRegion

Set the format region for rendering in the current session.

Parameters

Type Name Description
Integer pFormatRegionLocaleID The locale ID of the format region.

wgFncSetFormatRegion

Set the format region for rendering in the current session.

Parameters

Type Name Description
Text pFormatRegionTag The tag of the format region.