Help for this page

Select Code to Download


  1. or download this
    SELECT DISTINCT accno || ' - ' || description
      FROM (
    ...
           ) q
      JOIN chart c ON q.chart_id = c.id
     WHERE bal != 0
    
  2. or download this
    acc_trans
         Column     |  Type   |         Modifiers
    ...
    ---------------+---------+------------------------------------------
     id            | integer | not null default nextval('id'::regclass)
     projectnumber | text    |
    
  3. or download this
    sub accounts {
      my $self = shift;
    ...
        return @$accounts;
      });
    }
    
  4. or download this
    my $rs = $schema->resultset("AccTrans")->search(
       { transdate => { '>=', '2011-04-01', '<=', '2011-04-30' }, 'chart.c
    +ategory' => "I" },
       { join => "chart" }
    );
    say for $rs->accounts;
    
  5. or download this
    my $rs = $schema->resultset("AccTrans")->search(
       { transdate => { '>=', '2011-04-01', '<=', '2011-04-30' }, 'chart.c
    +ategory' => [ "I", "E" ] },
       { join => "chart" }
    );
    say for $rs->accounts;