Plaza 365
Plaza 365

No results found for your search

RegisterLog in

4

Visit article

Dynamics 365 Business Central

Category

Jun 20, 2024

Published date

Text

Article Type


AI Summary

  • The article discusses converting text to hexadecimal in AL, focusing on the hexadecimal number system with 16 symbols.
  • A tool is provided to convert "Business Central" to hexadecimal: 42 75 73 69 6E 65 73 73 20 43 65 6E 74 72 61 6C.
  • The process involves four steps: getting the character, obtaining the ASCII code, converting the decimal to hex byte, and moving to the next character.
  • The article references relevant character sets and codes found in MS Learn (Docs) for ASCII characters.
  • The conversion process for each character from text to hexadecimal is detailed using mathematical operations.
  • Two approaches to implement text to hexadecimal conversion in AL are provided: writing the code yourself or using the IntToHex method from codeunit 10.
  • A sample AL code snippet is shared for implementing text to hexadecimal conversion, including handling input validation and displaying the hexadecimal output.
  • The article concludes with a note on prohibiting users from entering illegal characters, such as emojis or non-standard characters, in Dynamics 365 Business Central.

Registered users can view the full text for FREE!

Sign In Now!

Cookies Consent

We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies.