]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Invoice.pm
Invoice, DeliveryOrder-DB: bei Erstellen aus anderen Belegen Preisquellen beibehalten
[mfinanz.git] / SL / DB / Invoice.pm
index 08c5809731613b643543501acbd455090d7e87cc..e8b49c46f0051a580a484dbdb43525fe43e1abea 100644 (file)
@@ -196,7 +196,7 @@ sub new_from {
 
     SL::DB::InvoiceItem->new(map({ ( $_ => $source_item->$_ ) }
                                  qw(parts_id description qty sellprice discount project_id serialnumber pricegroup_id transdate cusordnumber unit
-                                    base_qty longdescription lastcost price_factor_id), @item_columns),
+                                    base_qty longdescription lastcost price_factor_id active_discount_source active_price_source), @item_columns),
                              deliverydate     => $source_item->reqdate,
                              fxsellprice      => $source_item->sellprice,
                              custom_variables => \@custom_variables,