The verb is always Update in Wrapper BO. So when there is no record in table insert opration is sucessful. But when there is a record in table i.e incase of update it is throwing an error - com.crossworlds.cwconnectorapi.exceptions.VerbProcessingFailedException: [Type: Error] [MsgID: 34019] [Mesg: Wrong attribute found at SITEID for object PURCHASE_ORDER.]. I can not understand where i have gone wrong. Please reply. _________________ Thanks and Warm Regards
Sourav
Hi,
I need to inert into database if the record doesn't exist,if it exist ,need to update the database using wrapper business object which contains two child objects .Can you please tell me how to achieve this?
To implement your scenario -
There would be two dumy key in the wrapper object. each dummy key corresponds to forign key of each child table object. You have to link the child tables by keep relationship=true and with forign key relationship with wrapper key. The verb of the wrapper would be always 'Update'. _________________ Thanks and Warm Regards
Sourav
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum