Revision 286dc87c
Von Jan Büren vor etwa 10 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
437 | 437 |
map { $form->{"${_}_${i}"} = $form->format_amount(\%myconfig, $form->{"${_}_${i}"}) } qw(sellprice discount lastcost); |
438 | 438 |
push @hidden_vars, grep { defined $form->{"${_}_${i}"} } qw(sellprice discount not_discountable price_factor_id lastcost); |
439 | 439 |
push @hidden_vars, "stock_${stock_in_out}_sum_qty", "stock_${stock_in_out}"; |
440 |
push @hidden_vars, qw(delivery_order_items_id); |
|
440 | 441 |
} |
441 | 442 |
|
442 | 443 |
my @HIDDENS = map { value => $_}, ( |
... | ... | |
726 | 727 |
transdate longdescription basefactor marge_total marge_percent |
727 | 728 |
marge_price_factor lastcost price_factor_id partnotes |
728 | 729 |
stock_out stock_in has_sernumber reqdate orderitems_id |
729 |
active_price_source active_discount_source); |
|
730 |
active_price_source active_discount_source delivery_order_items_id);
|
|
730 | 731 |
|
731 | 732 |
my $ic_cvar_configs = CVar->get_configs(module => 'IC'); |
732 | 733 |
push @flds, map { "ic_cvar_$_->{name}" } @{ $ic_cvar_configs }; |
Auch abrufbar als: Unified diff
Persistente delivery_order_items_(stocK)_id
id in tabelle delivery_order_items und
id in tabelle delivery_order_items_stock persistent gemacht.
Testszenarien:
delivery_order_items:
Einkauf / Verkauf-LS -> als neu speichern. => i.O.
Einlagern => i.O.
Mittlere Position löschen => i.O.
delivery_order_items_stock:
Mittlere Position löschen => n.i.O.
als neu Speichern => i.O.
Einlagern => i.O. (Lieferschein kann standardmässig nicht mehr verändert werden)