Revision fc1490e8
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/Invoice.pm | ||
---|---|---|
33 | 33 |
class => 'SL::DB::Invoice', |
34 | 34 |
column_map => { id => 'storno_id' }, |
35 | 35 |
}, |
36 |
sepa_export_items => { |
|
37 |
type => 'one to many', |
|
38 |
class => 'SL::DB::SepaExportItem', |
|
39 |
column_map => { id => 'ar_id' }, |
|
40 |
manager_args => { with_objects => [ 'sepa_export' ] } |
|
41 |
}, |
|
36 | 42 |
); |
37 | 43 |
|
38 | 44 |
__PACKAGE__->meta->initialize; |
SL/DB/PurchaseInvoice.pm | ||
---|---|---|
17 | 17 |
column_map => { id => 'trans_id' }, |
18 | 18 |
manager_args => { with_objects => [ 'part' ] } |
19 | 19 |
}, |
20 |
sepa_export_items => { |
|
21 |
type => 'one to many', |
|
22 |
class => 'SL::DB::SepaExportItem', |
|
23 |
column_map => { id => 'ap_id' }, |
|
24 |
manager_args => { with_objects => [ 'sepa_export' ] } |
|
25 |
}, |
|
20 | 26 |
); |
21 | 27 |
|
22 | 28 |
__PACKAGE__->meta->initialize; |
Auch abrufbar als: Unified diff
Relationships 'sepa_export_items' in Invoice & PurchaseInvoice