On Friday 19 September 2008 07:11:16 am Ed Leafe wrote:
> On Sep 19, 2008, at 8:54 AM, johnf wrote:
> > Ask and you shall recieve.  Thanks - just to be sure it only fires
> > after the
> > save() happens?
>
>       Yes. However, if a subsequent part of the transaction fails and the
> transaction is rolled back, the record will not be saved but
> onSaveNew() will have already fired. If this is a concern, then you
> might want to create your email in onSaveNew(), save it in a bizobj
> att, and then send it in afterNew().
>
> -- Ed Leafe

Thanks for the information and explanation.  There are always trade offs.


-- 
John Fabiani


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to