Quantcast
Viewing all articles
Browse latest Browse all 9052

Re: Logic Script - calculating Accounts with BAS()

Ok, If you have no records for INC accounts, then the code:

 

*WHEN ACCOUNT.ACCTYPE

*IS INC

...

 

will not write anything to target and what you see is the previous value!

No records - no writes!

 

But the code for EXP accounts:

 

*WHEN ACCOUNT.ACCTYPE

*IS EXP

 

have to provide the same amount as for total P_EA3700!

 

And if we remove some specific account using *IS <> XXXX then we will have the sum of all accounts without this particular one.

 

Vadim


Viewing all articles
Browse latest Browse all 9052

Trending Articles