]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Helper/Inventory/Allocation.pm
restart apache2 in postinst
[mfinanz.git] / SL / Helper / Inventory / Allocation.pm
index e406bf40c972cb2c7a2b75d6bef9559f625f0b67..cf4b31a0dc35d6b69b15c9d840907b28c2460228 100644 (file)
@@ -48,12 +48,13 @@ SL::Helper::Inventory::Allocation - Inventory API allocation data structure
 
   # all of these need to be present
   my $allocation = SL::Helper::Inventory::Allocation->new(
-    part_id           => $part->id,
+    parts_id          => $part->id,
     qty               => 15,
     bin_id            => $bin_obj->id,
     warehouse_id      => $bin_obj->warehouse_id,
     chargenumber      => '1823772365',           # can be undef
     bestbefore        => undef,                  # can be undef
+    comment           => undef,                  # can be undef
     for_object_id     => $order->id,             # can be undef
   );