Jacques Le Roux wrote:
De : "Jacopo Cappellato" <[EMAIL PROTECTED]>
associated with a commit on some entity generates an exception, is the
associated transaction rolled back? For example, if a SECA was tied to an
Invoice commit and that code caused an exception, would the Invoice commit
be rolled back too?
Yes... and no :-)
If in the seca you set the service call as sync then everything will be
rolled back (if the accounting transaction fails); if you set the seca
as async then it will not.
I'd say that by default we should keep the accounting secas as async,
Here I guess Jacopo you meant "I'd say that by default we should keep the accounting
secas as sync,"
Yeah, you are right, thanks Jacques, and sorry for the confusion.
Jacopo
Jacques
but some customer could change them to async.
Does it make sense?
Jacopo
Skip