1 package SL::DB::InvoiceItem;
5 use SL::DB::MetaSetup::InvoiceItem;
8 qty allocated sellprice fxsellprice discount base_qty marge_total
9 marge_percent lastcost price_factor marge_price_factor
11 __PACKAGE__->attr_number($field, places => -2);
14 __PACKAGE__->meta->add_relationship(
17 class => 'SL::DB::Part',
18 column_map => { parts_id => 'id' },
22 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
23 __PACKAGE__->meta->make_manager_class;
25 __PACKAGE__->meta->initialize;