Not commiting Voucher create component interface if there is error
Hi There,
In my app engine program I have an Do Select action in which I select "to be created" vouchers then I jump to PeopleCode where I process one voucher at a time via component interface for voucher component VCHR_EXPRESS. I use interactive mode = true.
Everything works fine but the requirement is to process all the vouchers but if any "to be created" voucher has any errors I should not commit anything and run program to no success.
Here is the problem:
When I process 2 vouchers and first one is pass through and saved and second one have errors ... program terminates but first one is committed to the database....