on 10-02-2008 10:36 AM
Hi,
When adding an item marketing document, my add-on has to update a UDT with all the lines in the document.
I have placed the update of this UDT in the BeforeAction == false and ActionSuccess is true on et_FORM_ADD_DATE.
But what if an error message appears when updating this UDT, how can I prevent that the document is not added in SBO either. If the update of the UDT fails for any reason I don't want to let the user to update the UDT.
What is the best practice in this case?
Thank you,
Irina
Irina,
FormDataEvent happens when the data is added so there is no way you can roll it back should the error occurs.
have you tried SP_Transaction_Notification procedure for this? may be it helps.
regards,
Binita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.