Revision 6b6a2ddf
Von Jan Büren vor fast 10 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
1820 | 1820 |
|
1821 | 1821 |
# reset |
1822 | 1822 |
map { delete $form->{$_} } qw(id subject message cc bcc printed emailed queued customer vendor creditlimit creditremaining discount tradediscount oldinvtotal delivered ordnumber); |
1823 |
$form->{"converted_from_quotation_orderitems_id_$_"} = $form->{"orderitems_id_$_"} for 1 .. $form->{"rowcount"}; # always reset orderitems_id |
|
1823 | 1824 |
delete $form->{"orderitems_id_$_"} for 1 .. $form->{"rowcount"}; # always reset orderitems_id |
1824 | 1825 |
|
1825 | 1826 |
# if purchase_order was generated from sales_order, use lastcost_$i as sellprice_$i |
... | ... | |
1896 | 1897 |
|
1897 | 1898 |
for my $i (1 .. $form->{rowcount}) { |
1898 | 1899 |
map { $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, $form->{"${_}_${i}"}) if ($form->{"${_}_${i}"}) } qw(ship qty sellprice listprice lastcost basefactor discount); |
1900 |
$form->{"converted_from_order_orderitems_id_$_"} = $form->{"orderitems_id_$_"} for 1 .. $form->{"rowcount"}; |
|
1899 | 1901 |
} |
1900 | 1902 |
|
1901 | 1903 |
my %old_values = map { $_ => $form->{$_} } qw(customer_id oldcustomer customer vendor_id oldvendor vendor shipto_id); |
Auch abrufbar als: Unified diff
Angebots-Position mit Auftragsposition verknüpft (orderitems -> orderitems)
Angebot -> Workflow Auftrag