✅ Use header Isolation: snapshot in your $batch request.
🔄 Ensures the entire batch runs in one session.
🔒 If no COMMIT is used in AL code → the whole batch runs as one transaction.
🔁 If COMMIT is called → it ends the current transaction and starts a new one.
📦 Ideal for grouped operations that must succeed or fail together.
🛡 Helps maintain data integrity across multiple API operations.
