This tweet reminded me of a small but beautiful trick to get a reliable xRec in all the Modify trigger events.
Continue Reading ajk’s Article on their blog
How to get a reliable xRec
This tweet reminded me of a small but beautiful trick to get a reliable xRec in all the Modify trigger events. When events were introduced in C/AL code, one of the most discussed was the OnAfterModify event. Back in 2016, Vjeko wrote an article about it: https://vjeko.com/2016/05/17/onafter-table-event-subscriber-patterns-and-antipatterns/.
Blog Syndicated with ajk’s Permission