A sample code for Try/Catch statements in AX under run method in a class. public void run() { #OCCRetryCount try { } catch (Exception::Deadlock) { retry ; } catch (Exception::UpdateConflict) { if (appl.ttsLevel() == 0 ) { if (xSession::currentRetryCount() >= #RetryNum) { throw Exception::UpdateConflictNotRecovered; ...
A library with Microsoft Dynamics AX, Microsoft Dynamics 365 FinOps and Supply Chain Management, Power Platform, Integrations, development and functional processes, tricks and trip, tutorials and much more....