From: Sven Schöling Date: Thu, 14 May 2009 16:24:09 +0000 (+0000) Subject: Erzueugnisse mit Preisfaktoren beim laden mit auslesen. X-Git-Tag: release-2.6.0rc1~58 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=73c6a7262e8ac1bc15d1456865c7a1778a2913e3;p=kivitendo-erp.git Erzueugnisse mit Preisfaktoren beim laden mit auslesen. --- diff --git a/SL/IC.pm b/SL/IC.pm index 784366582..a9360346f 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -80,10 +80,11 @@ sub get_part { $query = qq|SELECT p.id, p.partnumber, p.description, p.sellprice, p.lastcost, p.weight, a.qty, a.bom, p.unit, - pg.partsgroup + pg.partsgroup, p.price_factor_id, pfac.factor AS price_factor FROM parts p JOIN assembly a ON (a.parts_id = p.id) LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id) + LEFT JOIN price_factors pfac ON pfac.id = p.price_factor_id WHERE (a.id = ?) ORDER BY $oid{$myconfig->{dbdriver}}|; $sth = prepare_execute_query($form, $dbh, $query, conv_i($form->{id}));