]> wagnertech.de Git - mfinanz.git/blobdiff - SL/WH.pm
Task-Server: Mandantenfähigkeit
[mfinanz.git] / SL / WH.pm
index 8ff63f219c8c1958de068049522de3c1eb090478..4e2da2cc2b9f85bcce7579cf14b0f59450177638 100644 (file)
--- a/SL/WH.pm
+++ b/SL/WH.pm
@@ -977,13 +977,9 @@ $main::lxdebug->enter_sub();
     $max_qty_parts += $ref->{sum};
     $i++;
     if (($ref->{chargenumber} || $ref->{bestbefore}) && $ref->{sum} != 0){
     $max_qty_parts += $ref->{sum};
     $i++;
     if (($ref->{chargenumber} || $ref->{bestbefore}) && $ref->{sum} != 0){
-      $error=1;
+      $error = 1;
     }
   }
     }
   }
-  #if ($i < 1){
-  #  $error = 2;
-  #}
-
   $main::lxdebug->leave_sub();
 
   return ($max_qty_parts, $error);
   $main::lxdebug->leave_sub();
 
   return ($max_qty_parts, $error);
@@ -1004,7 +1000,7 @@ SL::WH - Warehouse backend
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION
 
-Backend for lx-office warehousing functions.
+Backend for kivitendo warehousing functions.
 
 =head1 FUNCTIONS
 
 
 =head1 FUNCTIONS
 
@@ -1018,7 +1014,7 @@ is called like this:
     qty              => 12.45,
     transfer_type    => 'transfer',
     src_warehouse_id => 12,
     qty              => 12.45,
     transfer_type    => 'transfer',
     src_warehouse_id => 12,
-    stc_bin_id       => 23,
+    src_bin_id       => 23,
     dst_warehouse_id => 25,
     dst_bin_id       => 167,
   });
     dst_warehouse_id => 25,
     dst_bin_id       => 167,
   });