Sharing State Between X++ Extensions: Static Traps, Disposable Context and SysGlobalObjectCache

The ticket said: "Price validation does not run for some sales orders. Random. Only some users." Random bugs are never random. It took me most of an evening and a trace to find it:…

317 0 0
Chain of Command in D365 F&O: What next() Really Does and Why My Wrapper Stopped Running

It was a Tuesday after a platform update, and a test user sent me a screenshot: sales lines were being saved without the custom discount code our extension always filled in. No err…

279 0 3