Revision fd3d9c3c
Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt
SL/DB/DeliveryOrderItemsStock.pm | ||
---|---|---|
7 | 7 |
|
8 | 8 |
use SL::DB::MetaSetup::DeliveryOrderItemsStock; |
9 | 9 |
|
10 |
__PACKAGE__->meta->add_relationship( |
|
11 |
inventory => { |
|
12 |
type => 'one to one', |
|
13 |
class => 'SL::DB::Inventory', |
|
14 |
column_map => { id => 'delivery_order_items_stock_id' }, |
|
15 |
}, |
|
16 |
); |
|
17 |
|
|
10 | 18 |
__PACKAGE__->meta->initialize; |
11 | 19 |
|
12 | 20 |
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. |
Auch abrufbar als: Unified diff
inventory relationship für DeliveryOrderItemsStock