Revision 2fd17923
Von Kivitendo Admin vor fast 8 Jahren hinzugefügt
SL/DB/Part.pm | ||
---|---|---|
46 | 46 |
class => 'SL::DB::AssortmentItem', |
47 | 47 |
column_map => { id => 'assortment_id' }, |
48 | 48 |
}, |
49 |
history_entries => { |
|
50 |
type => 'one to many', |
|
51 |
class => 'SL::DB::History', |
|
52 |
column_map => { id => 'trans_id' }, |
|
53 |
query_args => [ what_done => 'part' ], |
|
54 |
manager_args => { sort_by => 'itime' }, |
|
55 |
}, |
|
49 | 56 |
); |
50 | 57 |
|
51 | 58 |
__PACKAGE__->meta->initialize; |
Auch abrufbar als: Unified diff
Part - history_entries Relationship