]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/ic.pl
Bugfix:
[kivitendo-erp.git] / bin / mozilla / ic.pl
index e5878fdfa1cde965554ef9f603cc3f32e4244bd1..1d0c51950292b24b139a32cdc1615c645069d38c 100644 (file)
@@ -1597,8 +1597,6 @@ sub generate_report {
     push @options, $optiontexts{$key};
   }
 
-  IC->all_parts(\%myconfig, \%$form);
-
   # special case for lastcost
   $form->{l_lastcost} = "" if $form->{ledgerchecks};
 
@@ -1642,6 +1640,8 @@ sub generate_report {
 
   $form->{l_lastcost} = "" if ($form->{searchitems} eq 'assembly' && !$form->{bom});
 
+  IC->all_parts(\%myconfig, \%$form);
+
   my @columns =
     qw(partnumber description partsgroup bin onhand rop unit listprice linetotallistprice sellprice linetotalsellprice lastcost linetotallastcost
        priceupdate weight image drawing microfiche invnumber ordnumber quonumber name serialnumber soldtotal deliverydate);