1 # This file has been auto-generated only because it didn't exist.
 
   2 # Feel free to modify it at will; it will not be overwritten automatically.
 
   4 package SL::DB::History;
 
   8 use SL::DB::MetaSetup::History;
 
  10 __PACKAGE__->meta->initialize;
 
  12 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
 
  13 __PACKAGE__->meta->make_manager_class;
 
  18   my ($snumber) = $self->snumbers =~ /^.*?_(.*)/;
 
  19   return $snumber ? $snumber : $self->snumbers;
 
  32 SL::DB::History: Model for the 'history_erp' table
 
  36 This is a standard Rose::DB::Object based model and can be used as one.
 
  42 =item C<parsed_snumber>
 
  44 The column snumbers contains entries such as "partnumber_3" or
 
  47 To be able to print only the number, parsed_snumber returns only the part of
 
  48 the string following the first "_".
 
  50 Returns the whole string if the regex doesn't match anything.
 
  56 G. Richardson E<lt>grichardson@kivitendo-premium.deE<gt>