X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d51b3011755b4a7e006f433d9fe5836a22a69638..5a55ac869e35f61a8ae018d0e54b4fe6dc89c6a7:/SL/WH.pm diff --git a/SL/WH.pm b/SL/WH.pm index bcdffa511..e596abc94 100644 --- a/SL/WH.pm +++ b/SL/WH.pm @@ -567,19 +567,6 @@ sub get_warehouse_journal { my ($h_oe_id, $q_oe_id); if ($form->{l_oe_id}) { $q_oe_id = <{oe_id} || $ref->{invoice_id})) { - my $id = $ref->{oe_id} ? $ref->{oe_id} : $ref->{invoice_id}; - do_statement($form, $h_oe_id, $q_oe_id, ($id) x 6); + do_statement($form, $h_oe_id, $q_oe_id, $ref->{oe_id}, ($ref->{invoice_id}) x 2); $ref->{oe_id_info} = $h_oe_id->fetchrow_hashref() || {}; }