1 package FS::part_event::Action::myaction;
5 use base qw( FS::part_event::Action );
7 # see the FS::part_event::Action manpage for full documentation on each
8 # of the required and optional methods.
11 'New action (the author forgot to change this description)';
14 #sub eventtable_hashref {
23 # 'field' => 'description',
25 # 'another_field' => { 'label'=>'Amount', 'type'=>'money', },
27 # 'third_field' => { 'label' => 'Types',
29 # 'options' => [ 'h', 's' ],
30 # 'option_labels' => { 'h' => 'Happy',
42 my( $self, $object ) = @_;
44 my $cust_main = $self->cust_main($object);
46 my $value_of_field = $self->option('field');
51 return 'Null example action completed successfully.';