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:Integer

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:Text

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(Integer)

Set the format region for rendering in the current session.

Parameters

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

wgFncSetFormatRegion(Text)

Set the format region for rendering in the current session.

Parameters

Type Name Description
Integer pFormatRegionLocaleID The tag/name of the format region.