Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9041

Re: Logic Script - calculating Accounts with BAS()

$
0
0

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 9041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>