- or download this
SELECT DISTINCT accno || ' - ' || description
FROM (
...
) q
JOIN chart c ON q.chart_id = c.id
WHERE bal != 0
- or download this
acc_trans
Column | Type | Modifiers
...
---------------+---------+------------------------------------------
id | integer | not null default nextval('id'::regclass)
projectnumber | text |
- or download this
sub accounts {
my $self = shift;
...
return @$accounts;
});
}
- 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;
- 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;