X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c66624d02068502ae8e7bc55f7ec2edbcd8a4702..5df2b57a097f66f6cecba0aa577c7aaba3422ab6:/bin/mozilla/io.pl diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 16d51bba1..9a1c5aa97 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1883,8 +1883,8 @@ sub _update_ship { AM->retrieve_all_units(); - my %ship = DO->get_shipped_qty('type' => ($form->{type} eq 'purchase_order') ? 'purchase' : 'sales', - 'ordnumber' => $form->{ordnumber},); + my %ship = DO->get_shipped_qty('type' => ($form->{type} eq 'purchase_order') ? 'purchase' : 'sales', + 'oe_id' => $form->{id},); foreach my $i (1..$form->{rowcount}) { next unless ($form->{"id_${i}"});