Revision a97fc370
Von Tamino Steinert vor 8 Monaten hinzugefügt
SL/DB/Part.pm | ||
---|---|---|
340 | 340 |
shift->buchungsgruppen(@_); |
341 | 341 |
} |
342 | 342 |
|
343 |
sub get_variant_property_value_by_unique_name { |
|
344 |
my ($self, $variant_property_unique_name) = @_; |
|
345 |
|
|
346 |
my %unique_name_to_variant_property_value = |
|
347 |
map { $_->variant_property->unique_name => $_ } |
|
348 |
$self->variant_property_values; |
|
349 |
|
|
350 |
my $variant_property_value = $unique_name_to_variant_property_value{$variant_property_unique_name} |
|
351 |
or confess "Part is not associated with a matching SL::DB::VariantPropertyValue"; |
|
352 |
return $variant_property_value; |
|
353 |
} |
|
354 |
|
|
343 | 355 |
sub get_taxkey { |
344 | 356 |
my ($self, %params) = @_; |
345 | 357 |
|
Auch abrufbar als: Unified diff
Varianten: Sortieren der Variantentabelle ermöglicht