1 package SL::DB::InvoiceItem;
5 use SL::DB::MetaSetup::InvoiceItem;
6 use SL::DB::Helper::CustomVariables (
7 sub_module => 'invoice',
11 class => 'SL::DB::Part',
17 __PACKAGE__->meta->add_relationship(
19 type => 'many to one',
20 class => 'SL::DB::Unit',
21 column_map => { unit => 'name' },
25 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
26 __PACKAGE__->meta->make_manager_class;
28 __PACKAGE__->meta->initialize;