column_map => { id => 'trans_id' },
manager_args => { with_objects => [ 'part' ] }
},
+ 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' },
+ },
);
__PACKAGE__->meta->initialize;
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;
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;