}
if (scalar @corrections) {
- SL::DB->with_transaction(sub {
+ SL::DB->client->with_transaction(sub {
my $q_taxkey_only = qq|UPDATE acc_trans SET taxkey = ? WHERE acc_trans_id = ?|;
my $h_taxkey_only = prepare_query($form, $dbh, $q_taxkey_only);
my ($self, $myconfig, $form) = @_;
$main::lxdebug->enter_sub();
- SL::DB->with_transaction(sub {
+ SL::DB->client->with_transaction(sub {
do_query($form, SL::DB->client->dbh, qq|DELETE FROM gl WHERE id = ?|, conv_i($form->{id}));
1;
}) or do { die SL::DB->client->error };