Skip to Content
Feb 01, 2016 at 02:29 PM

easy check and error message for different transactions


Hello everybody,

I have the requirement to implement the same check on different transactions (like Lead and Opportunity).

I want to be a good programmer that's why I thought I can create my reuse library, implement an action and call this action from onSave event of my extended Lead and Opportunity.

My problem is, that I have to throw an error message if the check isn't successful.

(Something like: "Please enter XXX")

It is not possible to raise this error message from the reuse function, isn't it?

Does someone has another Idea how to solve this problem without writing the same code 3 or 4 times in different xbos?

Thanks for your help.

Best regards,