PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Not commiting Voucher create component interface if there is error

edited Jan 25, 2017 4:00AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 1 commentAnswered

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....

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center