Re: [Ledger-smb-devel] question about rolling back invoice repost transactions

2009-09-30 Thread Chris Calef
Okay, so, it was kind of ugly but we needed to get past this problem, so I ended up inserting a label "ROLLBACK_ALL" at the end of the post_invoice function, and then checking every query in the whole function for success - if anything fails, I simply rollback and exit, instead of failing right the

[Ledger-smb-devel] question about rolling back invoice repost transactions

2009-09-25 Thread Chris Calef
Hello, I have a question regarding commits and rollbacks, in lsmb and in general. We are running a modified version of 1.2.18, and are having some serious trouble with SQL errors that come up when reposting invoices. The errors are no doubt local to our implementation, but the critical problem is