1 package SL::DB::PurchaseInvoice;
5 use SL::DB::MetaSetup::PurchaseInvoice;
6 use SL::DB::Manager::PurchaseInvoice;
8 __PACKAGE__->meta->add_relationship(invoiceitems => { type => 'one to many',
9 class => 'SL::DB::InvoiceItem',
10 column_map => { id => 'trans_id' },
11 manager_args => { with_objects => [ 'part' ] }
15 __PACKAGE__->meta->initialize;