Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a94080db

Von Moritz Bunkus vor fast 10 Jahren hinzugefügt

  • ID a94080db277740fb7666781601a83ada92ff38c2
  • Vorgänger 5142ae5c
  • Nachfolger 111861a5

Invoice, DeliveryOrder-DB: bei Erstellen aus anderen Belegen Preisquellen beibehalten

Unterschiede anzeigen:

SL/DB/DeliveryOrder.pm
155 155

  
156 156
    SL::DB::DeliveryOrderItem->new(map({ ( $_ => $source_item->$_ ) }
157 157
                                         qw(base_qty cusordnumber description discount lastcost longdescription marge_price_factor parts_id price_factor price_factor_id
158
                                            project_id qty reqdate sellprice serialnumber transdate unit
158
                                            project_id qty reqdate sellprice serialnumber transdate unit active_discount_source active_price_source
159 159
                                         )),
160 160
                                   custom_variables => \@custom_variables,
161 161
                                   ordnumber        => ref($item_parent) eq 'SL::DB::Order' ? $item_parent->ordnumber : $source_item->ordnumber,
SL/DB/Invoice.pm
196 196

  
197 197
    SL::DB::InvoiceItem->new(map({ ( $_ => $source_item->$_ ) }
198 198
                                 qw(parts_id description qty sellprice discount project_id serialnumber pricegroup_id transdate cusordnumber unit
199
                                    base_qty longdescription lastcost price_factor_id), @item_columns),
199
                                    base_qty longdescription lastcost price_factor_id active_discount_source active_price_source), @item_columns),
200 200
                             deliverydate     => $source_item->reqdate,
201 201
                             fxsellprice      => $source_item->sellprice,
202 202
                             custom_variables => \@custom_variables,

Auch abrufbar als: Unified diff