Decoding the content of a RecordID field in AL

I recently had to decode the content of a RecordID field. That turned into an adventure. Check out the video:

https://youtu.be/vYc_fjeELMo