✏️ Explanatory Question

What happens if an exception is thrown inside a transaction in X++?

👁 71 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

If an exception is thrown inside a transaction, the transaction is automatically aborted (ttsAbort). Any catch statements within the transaction block cannot process the exception. The outermost catch statements handle the exception.