+ if ($Update) {
+ $sellprice=$zeile[$posprice];
+ $partnumber=$zeile[$posnumber];
+ $sellprice = str_replace(",", ".", $sellprice);
+ if ($quotation<>0) {
+ if ($quottype=="A") { $sellprice += $quotation; }
+ else { $sellprice = $sellprice * $quotation; }
+ };
+ if ($precision>=0) $sellprice = round($sellprice,$precision);
+ $rc=chkPartNumberUpd($db,$sellprice,$partnumber,!$insert);
+ if ($rc==-1) {
+ show($show,"<tr><td>Update </td><td>$partnumber:$sellprice</td></tr>\n");
+ continue;
+ } else if ($rc==-99) {
+ show($show,"<tr><td>Fehler Zeile $m</td></tr>\n");
+ continue;
+ } else {
+ $zeile[$posnumber]=$rc;
+ }
+ };
+