Revision 2fd17923
Von Kivitendo Admin vor mehr als 8 Jahren hinzugefügt
SL/DB/Part.pm | ||
---|---|---|
class => 'SL::DB::AssortmentItem',
|
||
column_map => { id => 'assortment_id' },
|
||
},
|
||
history_entries => {
|
||
type => 'one to many',
|
||
class => 'SL::DB::History',
|
||
column_map => { id => 'trans_id' },
|
||
query_args => [ what_done => 'part' ],
|
||
manager_args => { sort_by => 'itime' },
|
||
},
|
||
);
|
||
|
||
__PACKAGE__->meta->initialize;
|
Auch abrufbar als: Unified diff
Part - history_entries Relationship