FA_ADDITIONS_PUB.DO_ADDITION in a loop
Hi.
I'm trying to create a procedure to call the FA_ADDITIONS_PUB API in EBS 11i and while it seems to work for the first asset. as soon as i put it in a Loop the 2nd and subsequent assets fail.
I'm using the example from the "Using the Additions API with No Invoices" example and populated the mandatory fields and encased it in a loop 'for i in 1..3 loop'
and this is the result i get... I don't know why the second and third calls to the API return the '..asset already exists in this book' error and fails when its a new asset