Skip to Content

Before save event does not save the instance during xml upload

Feb 09 at 09:14 AM


avatar image


The scenario here is -I have created a custom BO and created a service integration for xml upload. When xml is uploaded, on before save event of Custom BO I have written a code to create instances of another custom BO which has root and node[0,n] structure. Before creating root instances of another Custom BO, i am doing a query on that custom BO root based on three conditions. If the condition does not match create root instance and also node instance with the details. If any entry exists then don't create root of Custom BO, instead append details to the node of Custom BO.

Issue- The issue i am facing here is in spite of the query on Custom BO, multiple entries of similar condition are getting created. Reason being , behaviour of before save event. Please suggest how to cater this issue.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers