2 package SL::DB::PartClassification;
6 use SL::DB::MetaSetup::PartClassification;
7 use SL::DB::Manager::PartClassification;
9 __PACKAGE__->meta->initialize;
11 # check if the description and abbreviation is present
17 push @errors, $::locale->text('The description is missing.') if !$self->description;
18 push @errors, $::locale->text('The abbreviation is missing.') if !$self->abbreviation;
33 SL::DB::PartClassification
37 Additional to the article types "part", "assembly", "service" and "assortement"
38 the parts classification specifies other ortogonal attributes
42 The primary attributes are the rule
43 of the article as "used_for_sales" or "used_for_purchase".
45 Additional other attributes may follow
47 To see this attributes in a short way there are shortcuts of one (or two characters, if needed for compare )
48 which may be translated in the specified language
50 The type of the article is also as shortcut available, so this combined type and classification shortcut
51 is used short as "Type"
53 English type shortcuts are 'P','A','S'
54 German type shortcuts are 'W','E','D'
55 The can set in the language-files
57 To get the localized abbreviations you can use L<SL::Presenter::Part> .
65 check if the description and abbreviation is present
70 Martin Helmling E<lt>martin.helmling@opendynamic.deE<gt>