Thanks very much Wolfgang it was seeing the "2P" in your equation that made
me realise that I had missed the "amountInPence < 0 &&" in the final
accumulation. Its now working fine.
Richard
Wolfgang Laun-2 wrote:
>
> For simplicity's sake, I'll only consider the first example, where all
> trans
s@lists.jboss.org
>
> The second accumulate has "amountInPence < 0" but the values in your
> data are all positive. Therefore,...
> -W
>
> 2009/7/14 Richard Sherman :
> > Thanks Wolfgang,
> >
> > Here's the extra information as requested.
&
t;on.
>
>Also, it is necessary to know how the types of Account.transactions
>(List), Transaction and RentTransaction are related.
>
>-W
>
>On 7/14/09, Richard Sherman wrote:
>> First I'm new to drools and secondly where I'm working we're using version
&g
First I'm new to drools and secondly where I'm working we're using version
4.0.7.
I have a list of accounts and each account contains a list of transactions. I
wish to accumulate charge transactions and compare them to an accumulation of
payment transactions for a given time period (such as th