Convert Base64 with AL code

A couple of weeks ago, I was trying to write web service examples in AL code for VS Code. Unfortunately, at that time, it was not possible to call the Base64 methods on the TempBLOB table. And because those functions on the TempBLOB table are using…

Decode Base64 BigText

With this code you can decode a BigText variable with a Base64 coded string (in this case a PDF document).... abpBigPDFText -> BigText abpAutConvertBase64 -> DotNet 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Convert abpAutBytes -> DotNet 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Array abpAutMemoryStream -> DotNet 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.IO.MemoryStream abpOutStream ->…