Revision 1824bb75
Von Bernd Bleßmann vor mehr als 5 Jahren hinzugefügt
SL/DB/Manager/Part.pm | ||
---|---|---|
23 | 23 |
all => sub { |
24 | 24 |
my ($key, $value, $prefix) = @_; |
25 | 25 |
return or => [ map { $prefix . $_ => $value } qw(partnumber description ean) ] |
26 |
} |
|
26 |
}, |
|
27 |
all_with_makemodel => sub { |
|
28 |
my ($key, $value, $prefix) = @_; |
|
29 |
return or => [ map { $prefix . $_ => $value } qw(partnumber description ean makemodels.model) ], |
|
30 |
$prefix . 'makemodels'; |
|
31 |
}, |
|
32 |
all_with_customer_partnumber => sub { |
|
33 |
my ($key, $value, $prefix) = @_; |
|
34 |
return or => [ map { $prefix . $_ => $value } qw(partnumber description ean customerprices.customer_partnumber) ], |
|
35 |
$prefix . 'customerprices'; |
|
36 |
}, |
|
27 | 37 |
); |
28 | 38 |
|
29 | 39 |
sub type_filter { |
Auch abrufbar als: Unified diff
Part: Filter-Specs für Kunden- und Lieferanten-Artikel.-Nr.