1. can any body write a piece of code using transaction. The code should rollback the current event (if condition do not meet) and should continue iteration. (You can specify the condition by yourself). Help me its urgent.
do transaction:
find account where account.id = sourceAccount.
account.balance = account.balance - xferAmount.
if ((account.balance
find account where account.id = destinationAccount.
account.balance = accoun.balance + xferAmount.
end.