---
title: "Codeunit 10 Type Helper, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/10-type-helper/points/
object: https://jonas-paprotka.de/ref/codeunit/10-type-helper/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/
checked: 2026-11-20
changed: 2026-11-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 10 Type Helper, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/10-type-helper/points/

32 procedures and triggers with a step in src/Layers/W1/BaseApp/System/Utilities/TypeHelper.Codeunit.al, in source order, read from the text, not from a run.

## Evaluate

[Line 35](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L35).

- [43](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L43) calls `TryEvaluateDate`
- [45](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L45) calls `TryEvaluateDateTime`
- [47](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L47) calls `TryEvaluateDecimal`
- [49](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L49) calls `TryEvaluateInteger`

## TryEvaluateDate

[Line 55](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L55), local.

- [64](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L64) calls [Codeunit 3005 DotNet_XMLConvert](https://jonas-paprotka.de/ref/codeunit/3005-dotnet-xmlconvert/) `ToDateTimeOffset`
- [65](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L65) calls [Codeunit 3006 DotNet_DateTimeOffset](https://jonas-paprotka.de/ref/codeunit/3006-dotnet-datetimeoffset/) `DateTime`
- [67](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L67) calls [Codeunit 3002 DotNet_CultureInfo](https://jonas-paprotka.de/ref/codeunit/3002-dotnet-cultureinfo/) `GetCultureInfoByName`
- [68](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L68) calls [Codeunit 3004 DotNet_DateTimeStyles](https://jonas-paprotka.de/ref/codeunit/3004-dotnet-datetimestyles/) `None`
- [71](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L71) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `TryParse`
- [74](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L74) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `TryParseExact`
- [79](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L79) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `Day`
- [79](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L79) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `Month`
- [79](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L79) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `Year`

## TryEvaluateDateTime

[Line 83](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L83), local.

- [91](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L91) calls [Codeunit 3002 DotNet_CultureInfo](https://jonas-paprotka.de/ref/codeunit/3002-dotnet-cultureinfo/) `InvariantCulture`
- [93](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L93) calls [Codeunit 3002 DotNet_CultureInfo](https://jonas-paprotka.de/ref/codeunit/3002-dotnet-cultureinfo/) `GetCultureInfoByName`
- [94](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L94) calls [Codeunit 3004 DotNet_DateTimeStyles](https://jonas-paprotka.de/ref/codeunit/3004-dotnet-datetimestyles/) `None`
- [97](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L97) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `TryParse`
- [100](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L100) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `TryParseExact`
- [108](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L108) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `Hour`
- [109](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L109) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `Minute`
- [110](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L110) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `Second`
- [111](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L111) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `Millisecond`
- [116](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L116) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `Day`
- [116](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L116) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `Month`
- [116](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L116) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `Year`

## FormatDate

[Line 187](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L187).

- [193](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L193) calls [Codeunit 3002 DotNet_CultureInfo](https://jonas-paprotka.de/ref/codeunit/3002-dotnet-cultureinfo/) `GetCultureInfoById`
- [194](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L194) calls [Codeunit 3002 DotNet_CultureInfo](https://jonas-paprotka.de/ref/codeunit/3002-dotnet-cultureinfo/) `DateTimeFormat`
- [195](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L195) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `DateTime`
- [196](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L196) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `ToString`

## FormatDate

[Line 199](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L199).

- [206](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L206) calls [Codeunit 3002 DotNet_CultureInfo](https://jonas-paprotka.de/ref/codeunit/3002-dotnet-cultureinfo/) `InvariantCulture`
- [208](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L208) calls [Codeunit 3002 DotNet_CultureInfo](https://jonas-paprotka.de/ref/codeunit/3002-dotnet-cultureinfo/) `GetCultureInfoByName`
- [210](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L210) calls [Codeunit 3002 DotNet_CultureInfo](https://jonas-paprotka.de/ref/codeunit/3002-dotnet-cultureinfo/) `DateTimeFormat`
- [211](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L211) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `DateTime`
- [212](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L212) calls [Codeunit 3003 DotNet_DateTime](https://jonas-paprotka.de/ref/codeunit/3003-dotnet-datetime/) `ToString`

## FormatDateWithCurrentCulture

[Line 215](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L215).

- [219](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L219) calls `FormatDate`
- [219](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L219) calls [Codeunit 43 Language](https://jonas-paprotka.de/ref/codeunit/43-language/) `GetUserLanguageTag`

## GetOptionNo

[Line 243](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L243).

- [256](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L256) calls `GetNumberOfOptions`
- [259](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L259) calls `OptionsAreEqual`
- [266](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L266) calls `OptionsAreEqual`

## GetOptionNoFromTableField

[Line 272](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L272).

- [279](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L279) calls `GetOptionNo`

## GetField

[Line 299](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L299).

- [304](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L304) raises `OnBeforeGetField`, IsHandled

## GetFieldLength

[Line 311](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L311).

- [317](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L317) raises `OnBeforeGetFieldLength`, IsHandled
- [321](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L321) calls `GetField`

## IsPhoneNumber

[Line 333](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L333).

- [337](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L337) calls [Codeunit 3960 Regex](https://jonas-paprotka.de/ref/codeunit/3960-regex/) `IsMatch`

## GetUserTimezoneOffset

[Line 340](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L340).

- [355](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L355) calls `GetCurrUTCDateTime`

## GetUserClientTypeOffset

[Line 359](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L359).

- [364](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L364) calls [Codeunit 4030 Client Type Management](https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/) `GetCurrentClientType`
- [365](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L365) calls `GetUserTimezoneOffset`

## GetTimezoneOffset

[Line 368](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L368).

- [373](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L373) calls [Codeunit 3006 DotNet_DateTimeOffset](https://jonas-paprotka.de/ref/codeunit/3006-dotnet-datetimeoffset/) `GetOffset`

## EvaluateUnixTimestamp

[Line 380](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L380).

- [384](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L384) calls [Codeunit 8722 Unix Timestamp](https://jonas-paprotka.de/ref/codeunit/8722-unix-timestamp/) `EvaluateTimestamp`

## EvaluateUTCDateTime

[Line 387](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L387).

- [393](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L393) calls [Codeunit 10 Type Helper](https://jonas-paprotka.de/ref/codeunit/10-type-helper/) `Evaluate`

## GetCurrUTCDateTimeAsText

[Line 434](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L434).

- [436](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L436) calls `FormatDateTime`
- [436](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L436) calls `GetCurrUTCDateTime`

## GetKeyAsString

[Line 552](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L552).

- [562](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L562) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`

## TryReadAsTextWithSeparator

[Line 595](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L595).

- [597](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L597) calls `ReadAsTextWithSeparator`

## TryReadAsTextWithSepAndFieldErrMsg

[Line 600](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L600).

- [602](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L602) calls `TryReadAsTextWithSeparator`

## TextDistance

[Line 637](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L637).

- [672](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L672) calls `MinimumInt3`

## GetFormattedCurrentDateTimeInUserTimeZone

[Line 771](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L771).

- [776](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L776) calls `GetUserTimezoneOffset`

## GetCurrentDateTimeInUserTimeZone

[Line 783](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L783).

- [788](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L788) calls `GetUserTimezoneOffset`

## GetInputDateTimeInUserTimeZone

[Line 796](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L796).

- [802](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L802) calls [Codeunit 10 Type Helper](https://jonas-paprotka.de/ref/codeunit/10-type-helper/) `GetUserTimezoneOffset`

## ConvertDateTimeFromUTCToTimeZone

[Line 816](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L816).

- [824](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L824) calls `GetUserClientTypeOffset`

## ConvertDateTimeFromInputTimeZoneToClientTimezone

[Line 837](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L837).

- [845](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L845) calls `GetUserClientTypeOffset`

## TransferFieldsWithValidate

[Line 874](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L874).

- [881](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L881) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`

## GetAmountFormatLCYWithUserLocale

[Line 910](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L910).

- [916](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L916) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `GetCurrencySymbol`
- [918](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L918) calls `GetAmountFormatWithUserLocale`

## GetAmountFormatWithUserLocale

[Line 926](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L926).

- [931](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L931) calls `GetDefaultAmountFormat`
- [933](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L933) calls `GetAmountFormat`

## GetAmountFormat

[Line 936](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L936).

- [938](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L938) calls `GetAmountFormatDecimalPlaces`

## GetAmountFormat

[Line 941](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L941).

- [943](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L943) calls `GetAmountFormatDecimalPlaces`

## GetAmountFormatDecimalPlaces

[Line 946](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L946).

- [952](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L952) calls `GetDefaultAmountFormat`
- [954](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L954) calls `GetCurrencyStyle`
- [955](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L955) calls `GetDefaultAmountFormat`
- [959](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L959) calls `GetDefaultAmountFormat`
- [961](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L961) calls `GetDefaultAmountFormat`
- [963](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L963) calls `GetDefaultAmountFormat`
- [965](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L965) calls `GetDefaultAmountFormat`
- [967](https://jonas-paprotka.de/ref/codeunit/10-type-helper/source/#L967) calls `GetDefaultAmountFormat`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
