---
title: "Codeunit 5302 Outlook Synch. Type Conv, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/points/
object: https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/
checked: 2026-11-20
changed: 2026-10-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 5302 Outlook Synch. Type Conv, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/points/

19 procedures and triggers with a step in src/Layers/W1/BaseApp/CRM/Outlook/OutlookSynchTypeConv.Codeunit.al, in source order, read from the text, not from a run.

## GetSubStrByNo

[Line 45](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L45).

- [54](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L54) calls `GetOptionsQuantity`

## EvaluateTextToFieldRef

[Line 70](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L70).

- [102](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L102) calls `TextToOptionValue`
- [114](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L114) calls `TextToInteger`
- [124](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L124) calls `TextToDecimal`
- [134](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L134) calls `TextToDate`
- [144](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L144) calls `TextToTime`
- [154](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L154) calls `TextToDateTime`
- [164](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L164) calls `TextToBoolean`
- [174](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L174) calls `TextToDuration`
- [184](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L184) calls `TextToBigInteger`
- [194](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L194) calls `TextToGUID`
- [220](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L220) calls `TextToDateFormula`

## TextToOptionValue

[Line 236](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L236).

- [247](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L247) calls `GetOptionsQuantity`
- [251](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L251) calls `GetOptionsQuantity`
- [252](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L252) calls `GetSubStrByNo`

## TextToDecimal

[Line 279](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L279).

- [288](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L288) raises `OnBeforeTextToDecimal`, IsHandled
- [294](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L294) calls `TextToInteger`
- [300](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L300) calls `GetSubStrByNo`
- [301](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L301) calls `GetSubStrByNo`

## TextToDate

[Line 318](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L318), local.

- [327](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L327) raises `OnBeforeTextToDate`, IsHandled
- [335](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L335) calls `GetSubStrByNo`
- [340](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L340) calls `GetSubStrByNo`
- [350](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L350) calls `GetSubStrByNo`
- [354](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L354) calls `GetSubStrByNo`
- [368](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L368) calls `UTC2LocalDT`

## TextToTime

[Line 375](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L375), local.

- [381](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L381) raises `OnBeforeTextToTime`, IsHandled
- [389](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L389) calls `GetSubStrByNo`
- [395](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L395) calls `UTC2LocalDT`

## TextToDateTime

[Line 401](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L401).

- [406](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L406) calls `TextToDate`
- [410](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L410) calls `TextToTime`
- [415](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L415) calls `UTC2LocalDT`

## OptionValueToText

[Line 438](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L438).

- [440](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L440) calls `GetOptionsQuantity`

## FieldOptionValueToText

[Line 444](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L444).

- [448](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L448) calls `GetOptionCaption`
- [449](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L449) calls `GetOptionsQuantity`

## EvaluateOptionField

[Line 453](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L453).

- [457](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L457) calls `TextToOptionValue`

## EvaluateFilterOptionField

[Line 463](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L463).

- [476](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L476) calls `ParseFilterExpression`
- [489](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L489) calls `OptionValueToText`
- [492](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L492) calls `TextToOptionValue`
- [508](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L508) calls `RemoveSpaceChars`
- [515](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L515) calls `ReplaceText`
- [518](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L518) calls `RemoveSpaceChars`

## ParseFilterExpression

[Line 523](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L523), local.

- [534](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L534) calls `ReplaceText`
- [558](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L558) calls `GetSubStrByNo`

## RemoveSpaceChars

[Line 577](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L577), local.

- [584](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L584) calls `ReplaceText`

## SetDateTimeFormat

[Line 604](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L604).

- [607](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L607) calls `SetDateFormat`
- [607](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L607) calls `SetTimeFormat`
- [609](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L609) calls `SetDateFormat`
- [609](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L609) calls `SetTimeFormat`

## PrepareFieldValueForXML

[Line 631](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L631).

- [653](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L653) calls `LocalDT2UTC`
- [654](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L654) calls `SetDateFormat`
- [660](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L660) calls `LocalDT2UTC`
- [661](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L661) calls `SetTimeFormat`
- [666](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L666) calls `SetDateTimeFormat`
- [666](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L666) calls `LocalDT2UTC`
- [680](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L680) calls `SetDecimalFormat`
- [687](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L687) calls `SetBoolFormat`

## SetValueFormat

[Line 700](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L700).

- [718](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L718) calls `SetDateTimeFormat`
- [723](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L723) calls `SetDateTimeFormat`
- [728](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L728) calls `SetDateTimeFormat`
- [735](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L735) calls `SetDecimalFormat`
- [740](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L740) calls `SetBoolFormat`

## LocalDT2UTC

[Line 786](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L786).

- [789](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L789) calls `ParseUTCString`

## UTC2LocalDT

[Line 794](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L794).

- [799](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L799) calls `LocalDT2UTC`

## UTCString2LocalDT

[Line 805](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L805).

- [809](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L809) calls `ParseUTCString`
- [810](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/source/#L810) calls `UTC2LocalDT`

## Source

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

JOP-AL, 2026-11-20.
