Revision 5e0c45f8
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/DB/GLTransaction.pm | ||
---|---|---|
4 | 4 |
|
5 | 5 |
use SL::DB::Helper::LinkedRecords; |
6 | 6 |
use SL::DB::MetaSetup::GLTransaction; |
7 |
use SL::DB::Manager::GLTransaction; |
|
7 | 8 |
use SL::Locale::String qw(t8); |
8 | 9 |
use List::Util qw(sum); |
9 | 10 |
use SL::DATEV; |
10 | 11 |
use Carp; |
11 | 12 |
use Data::Dumper; |
12 | 13 |
|
13 |
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. |
|
14 |
__PACKAGE__->meta->make_manager_class; |
|
15 |
|
|
16 | 14 |
__PACKAGE__->meta->add_relationship( |
17 | 15 |
transactions => { |
18 | 16 |
type => 'one to many', |
... | ... | |
27 | 25 |
|
28 | 26 |
__PACKAGE__->meta->initialize; |
29 | 27 |
|
28 |
sub record_type {return 'gl_transaction';} |
|
29 |
sub record_number {goto &id;} |
|
30 |
sub displayable_name {goto &oneline_summary;} |
|
31 |
|
|
30 | 32 |
sub abbreviation { |
31 | 33 |
my $self = shift; |
32 | 34 |
|
Auch abrufbar als: Unified diff
Belegvorlagen + Dialogbuchung: Workflow von EmailJournal aus umgesetzt