- push @filter, (and => [ or => [ $prefix . assembly => 0, $prefix . assembly => undef ],
- or => [ $prefix . inventory_accno_id => 0, $prefix . inventory_accno_id => undef ],
- ]);
- } elsif ($type =~ m/^assembl/) {
- push @filter, ($prefix . assembly => 1);
+ push @filter, ($prefix . part_type => 'service');
+ } elsif ($type =~ m/^assembly/) {
+ push @filter, ($prefix . part_type => 'assembly');
+ } elsif ($type =~ m/^assortment/) {
+ push @filter, ($prefix . part_type => 'assortment');