Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 52753418

Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt

  • ID 52753418632790161a0db046871b013e0629e758
  • Vorgänger 1cf4a4ce
  • Nachfolger 7eee416a

S:H:Inventory / S:H:I:Allocation: POD-Fixes

Unterschiede anzeigen:

SL/Helper/Inventory.pm
# create allocation manually, bypassing checks. all of these need to be passed, even undefs
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',
bestbefore => undef,
comment => undef,
for_object_id => $order->id,
);
......
=item * bestbefore
=item * comment
=item * for_object_id
If set the allocations will be marked as allocated for the given object.

Auch abrufbar als: Unified diff