Revision 2f6a11fb
Von Bernd Bleßmann vor etwa 10 Jahren hinzugefügt
SL/IR.pm | ||
---|---|---|
1199 | 1199 |
|
1200 | 1200 |
# also search hits in makemodels, but only cache the results by id and merge later |
1201 | 1201 |
my $mm_query = qq| |
1202 |
SELECT parts_id, model FROM makemodel
|
|
1203 |
LEFT JOIN parts ON parts.id = parts_id
|
|
1202 |
SELECT parts_id, model FROM makemodel |
|
1203 |
LEFT JOIN parts ON parts.id = parts_id |
|
1204 | 1204 |
WHERE NOT parts.obsolete AND model ILIKE ? AND (make IS NULL OR make = ?); |
1205 | 1205 |
|; |
1206 | 1206 |
my $mm_results = selectall_hashref_query($::form, $dbh, $mm_query, '%' . $form->{"partnumber_$i"} . '%', $::form->{vendor_id}); |
... | ... | |
1268 | 1268 |
WHERE id = p.buchungsgruppen_id) = c1.id) |
1269 | 1269 |
LEFT JOIN chart c2 ON |
1270 | 1270 |
((SELECT tc.income_accno_id |
1271 |
FROM taxzone_charts tc
|
|
1271 |
FROM taxzone_charts tc |
|
1272 | 1272 |
WHERE tc.taxzone_id = '$taxzone_id' and tc.buchungsgruppen_id = p.buchungsgruppen_id) = c2.id) |
1273 | 1273 |
LEFT JOIN chart c3 ON |
1274 | 1274 |
((SELECT tc.expense_accno_id |
Auch abrufbar als: Unified diff
trailing whitespaces entfernt