Revision 52753418
Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt
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
S:H:Inventory / S:H:I:Allocation: POD-Fixes