codeunitAL Developmentofficial - Microsoftderived - from the source, no model text

Codeunit 10 "Type Helper"

Base Application · System.Reflection

Across versions

  1. BC23present
  2. BC242 procedures added, 1 procedures removed
  3. BC255 procedures added
  4. BC265 procedures added, 2 procedures changed
  5. BC27-28unchanged
  6. BC292 procedures removed
  7. BC30unchanged

Neighbourhood 130 connected objects and pages

Codeunit 3003 "DotNet_DateTime" (calls, 16 links)DotNet_DateTimeCodeunit 20132 "Script Data Type Mgmt." (calls, 13 links)Script Data Type Mgmt.Codeunit 1890 "Reminder Communication" (calls, 7 links)Table 444 "IC API Log" (calls, 6 links)IC API LogCodeunit 3002 "DotNet_CultureInfo" (calls, 5 links)Codeunit 5458 "Graph Collection Mgt - Contact" (calls, 4 links)Graph Collection Mgt - ContactCodeunit 5477 "Sales Invoice Aggregator" (calls, 4 links)Codeunit 8611 "Config. Package Management" (calls, 4 links)Config. Package ManagementCodeunit 8617 "Config. Validate Management" (calls, 4 links)Table 1235 "XML Buffer" (calls, 4 links)XML BufferTable 1236 "JSON Buffer" (calls, 4 links)JSON BufferTable 1834 "Consolidation Log Entry" (calls, 4 links)Consolidation Log EntryTable 6906 "Expense Report Header" (calls, 4 links)Expense Report HeaderCodeunit 20105 "AMC Banking Mgt." (calls, 3 links)Codeunit 20365 "Use Case Archival Mgmt." (calls, 3 links)Use Case Archival Mgmt.Codeunit 5261 "Audit File Export Mgt." (calls, 3 links)Audit File Export Mgt.Codeunit 5496 "Graph Mgt - Sales Order Buffer" (calls, 3 links)Graph Mgt - Sales Order BufferCodeunit 5497 "Graph Mgt - Purch Order Buffer" (calls, 3 links)Codeunit 5503 "Graph Mgt - Attachment Buffer" (calls, 3 links)Graph Mgt - Attachment BufferCodeunit 5506 "Graph Mgt - Sales Quote Buffer" (calls, 3 links)Codeunit 5508 "Graph Mgt - Sal. Cr. Memo Buf." (calls, 3 links)Graph Mgt - Sal. Cr. Memo Buf.Codeunit 5511 "Graph Mgt - Purch. Cr. Memo" (calls, 3 links)Codeunit 7233 "Master Data Management" (calls, 3 links)Codeunit 8610 "Questionnaire Management" (calls, 3 links)Codeunit 1180 "Data Privacy Mgmt" (calls, 2 links)Codeunit 1297 "Http Web Request Mgt." (calls, 2 links)Codeunit 1917 "MigrationQB Helper Functions" (calls, 2 links)Codeunit 2114 "O365 HTML Templ. Mgt." (calls, 2 links)Codeunit 3004 "DotNet_DateTimeStyles" (calls, 2 links)Codeunit 3006 "DotNet_DateTimeOffset" (calls, 2 links)Codeunit 491 "Memory Mapped File" (calls, 2 links)Codeunit 5520 "Get Unplanned Demand" (calls, 2 links)Codeunit 701 "Data Type Management" (calls, 2 links)Codeunit 7314 "Warehouse Availability Mgt." (calls, 2 links)Codeunit 8400 "Record Set Management" (calls, 2 links)Codeunit 8614 "Config. XML Exchange" (calls, 2 links)Table 110 "Sales Shipment Header" (calls, 2 links)Table 112 "Sales Invoice Header" (calls, 2 links)Table 114 "Sales Cr.Memo Header" (calls, 2 links)Table 1170 "User Task" (calls, 2 links)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · System.Reflection · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions tabledata “Field” = r

Events published

  • OnBeforeGetFieldLength(var Field: Record "Field"; var FieldLength: Integer; var IsHandled: Boolean) (integration)
  • OnBeforeGetField(TableNo: Integer; FieldNo: Integer; var Field: Record "Field"; var Result: Boolean; var IsHandled: Boolean) (integration)

Procedures

  • Evaluate(var Variable: Variant; String: Text; Format: Text; CultureName: Text): Boolean
  • GetLocalizedMonthToInt(Month: Text): Integer
  • CompareDateTime(DateTimeA: DateTime; DateTimeB: DateTime): Integer
  • FormatDate(DateToFormat: Date; LanguageId: Integer): Text
  • FormatDate(DateToFormat: Date; Format: Text; CultureName: Text): Text
  • FormatDateWithCurrentCulture(DateToFormat: Date): Text
  • GetHMSFromTime(var Hour: Integer; var Minute: Integer; var Second: Integer; TimeSource: Time)
  • IsLeapYear(Date: Date): Boolean
  • GetOptionNo(Value: Text; OptionString: Text): Integer
  • GetOptionNoFromTableField(Value: Text; TableNo: Integer; FieldNo: Integer): Integer
  • GetNumberOfOptions(OptionString: Text): Integer
  • OptionsAreEqual(Value: Text; CurrentOption: Text): Boolean
  • IsNumeric(Text: Text): Boolean
  • GetField(TableNo: Integer; FieldNo: Integer; var Field: Record "Field"): Boolean
  • GetFieldLength(TableNo: Integer; FieldNo: Integer): Integer
  • TestFieldIsNotObsolete(Field: Record "Field")
  • IsPhoneNumber(Input: Text): Boolean
  • GetUserTimezoneOffset(var Duration: Duration): Boolean
  • GetUserClientTypeOffset(var Duration: Duration)
  • GetTimezoneOffset(var Duration: Duration; TimeZoneID: Text)
  • EvaluateUnixTimestamp(Timestamp: BigInteger): DateTime
  • EvaluateUTCDateTime(DateTimeText: Text): DateTime
  • FormatDateTime(FormattingDateTime: DateTime; Format: Text; CultureName: Text): Text
  • FormatUtcDateTime(DateTime: DateTime; DataFormat: Text; DataFormattingCulture: Text): Text
  • GetCurrUTCDateTime(): DateTime
  • GetCurrUTCDateTimeAsText(): Text
  • GetCurrUTCDateTimeISO8601(): Text
  • AddHoursToDateTime(SourceDateTime: DateTime; NoOfHours: Integer): DateTime
  • FormatDecimal(Decimal: Decimal; DataFormat: Text; DataFormattingCulture: Text): Text
  • UrlEncode(var Value: Text): Text + BC26
  • UrlEncode(var Value: SecretText): SecretText + BC26
  • UrlEncodeSecret(var Value: Text): Text + BC26 (obsolete 27.0: Use UrlEncode with secret text.)
  • UrlDecode(var Value: Text): Text
  • HtmlEncode(var Value: Text): Text
  • HtmlDecode(var Value: Text): Text
  • JavaScriptStringEncode(Value: Text): Text + BC26 + BC26
  • JavaScriptStringEncode(Value: Text; AddDoubleQuotes: Boolean): Text + BC26 + BC26
  • UriEscapeDataString(Value: Text): Text
  • UriGetAuthority(Value: Text): Text
  • GetKeyAsString(RecordVariant: Variant; KeyIndex: Integer): Text
  • ReadAsTextWithSeparator(InStream: InStream; LineSeparator: Text): Text
  • TryReadAsTextWithSeparator(InStream: InStream; LineSeparator: Text; var Content: Text)
  • TryReadAsTextWithSepAndFieldErrMsg(InStream: InStream; LineSeparator: Text; FieldCaption: Text): Text
  • CRLFSeparator(): Text[2]
  • LFSeparator(): Text[1]
  • SortRecordRef(var RecRef: RecordRef; CommaSeparatedFieldsToSort: Text; Ascending: Boolean)
  • TextDistance(Text1: Text; Text2: Text): Integer
  • NewLine(): Text
  • GetMaxNumberOfParametersInSQLQuery(): Integer
  • BitwiseAnd(A: Integer; B: Integer): Integer
  • BitwiseOr(A: Integer; B: Integer): Integer
  • BitwiseXor(A: Integer; B: Integer): Integer
  • GetFormattedCurrentDateTimeInUserTimeZone(StringFormat: Text): Text
  • GetCurrentDateTimeInUserTimeZone(): DateTime
  • GetInputDateTimeInUserTimeZone(InputDateTime: DateTime): DateTime + BC24
  • ConvertDateTimeFromUTCToTimeZone(InputDateTime: DateTime; TimeZoneTxt: Text): DateTime: NOTE: The procedure’s name is incorrect. This procedure converts the time from current client timezone to target timezone, instead of converting from utc to target time zone.
  • ConvertDateTimeFromInputTimeZoneToClientTimezone(InputDateTime: DateTime; TimeZoneTxt: Text): DateTime + BC24: Convert the datetime from the specified timezone to current client’s timezone.
  • IntToHex(IntValue: Integer): Text
  • Maximum(Value1: Decimal; Value2: Decimal): Decimal
  • Minimum(Value1: Decimal; Value2: Decimal): Decimal
  • TransferFieldsWithValidate(var TempFieldBuffer: Record "Field Buffer" temporary; RecordVariant: Variant; var TargetTableRecRef: RecordRef)
  • CalculateLog(Number: Decimal): Decimal
  • GetAmountFormatLCYWithUserLocale(): Text + BC25
  • GetAmountFormatLCYWithUserLocale(DecimalPlaces: Integer): Text + BC25
  • GetAmountFormatWithUserLocale(CurrencySymbol: Text[10]): Text + BC25
  • GetAmountFormatWithUserLocale(CurrencySymbol: Text[10]; DecimalPlaces: Integer): Text + BC25
  • GetAmountFormat(LocaleId: Integer; CurrencySymbol: Text[10]): Text + BC25
  • GetAmountFormat(LocaleId: Integer; CurrencySymbol: Text[10]; DecimalPlaces: Integer): Text + BC25
  • GetAmountFormatDecimalPlaces(LocaleId: Integer; CurrencySymbol: Text[10]; DecimalPlaces: Integer): Text + BC25
  • GetDefaultAmountFormat(): Text + BC25 (internal)
  • GetDefaultAmountFormat(DecimalPlaces: Integer): Text + BC25 (internal)
  • GetXMLAmountFormatWithTwoDecimalPlaces(): Text
  • GetXMLDateFormat(): Text
  • CopyRecVariantToRecRef(RecordVariant: Variant; var RecRef: RecordRef)
  • IsLatinLetter(ch: Char): Boolean + BC26
  • IsDigit(ch: Char): Boolean
  • IsUpper(ch: Char): Boolean

Plus 6 local procedures.

Triggers

OnRun

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Recent changes

Deprecations

  • procedure UrlEncodeSecret: Pending 27.0 (#if not CLEAN27), “Use UrlEncode with secret text.”

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Type Helper"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources