Revision 6cde4d1d
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/DB/DeliveryOrderItem.pm | ||
---|---|---|
15 | 15 |
); |
16 | 16 |
|
17 | 17 |
__PACKAGE__->meta->make_manager_class; |
18 |
__PACKAGE__->meta->add_relationship( |
|
19 |
unit_obj => { |
|
20 |
type => 'many to one', |
|
21 |
class => 'SL::DB::Unit', |
|
22 |
column_map => { unit => 'name' }, |
|
23 |
}, |
|
24 |
); |
|
25 | 18 |
|
26 | 19 |
__PACKAGE__->meta->initialize; |
27 | 20 |
|
Auch abrufbar als: Unified diff
Fremschlüssel für »unit« in Tabellen orderitems, delivery_order_items, invoice