X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c692dae18a650bc62c89ca658603d0e0ab2f9a86..da99c7bcf4a8ec82d9bc1d0c75aaba6ba4cd69ea:/SL/DB/Order.pm?ds=sidebyside diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index daab5dd7d..61a49d4ff 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -41,6 +41,26 @@ __PACKAGE__->meta->add_relationship( class => 'SL::DB::PaymentTerm', column_map => { payment_id => 'id' }, }, + contact => { + type => 'one to one', + class => 'SL::DB::Contact', + column_map => { cp_id => 'cp_id' }, + }, + shipto => { + type => 'one to one', + class => 'SL::DB::Shipto', + column_map => { shipto_id => 'shipto_id' }, + }, + department => { + type => 'one to one', + class => 'SL::DB::Department', + column_map => { department_id => 'id' }, + }, + language => { + type => 'one to one', + class => 'SL::DB::Language', + column_map => { language_id => 'id' }, + }, ); __PACKAGE__->meta->initialize;