Quantcast
Channel: V5 Issue - SambaClub Forum
Viewing all articles
Browse latest Browse all 749

REPORT ENTITY DETAILS:x use of .Sum

$
0
0

@pauln wrote:

Hi Emre -

Reviewing this Template syntax I discovered it is not implemented for this type of usage?

[Customer Balances:1,2,3, 1]
{REPORT ENTITY DETAILS:E.Name,EC.Full Name,EC.Address,E.Balance.Sum;0.00;-0.00;0.00:(ET=Customers) && E.AccountId>0:{0}|{1}|{2}|${3}::$4>0:}
>> TOTAL||| {REPORT ENTITY DETAILS:E.Balance.Sum;0.00;-0.00;0.00:(ET=Customers) && E.AccountId>0:${0}::$1>0:}

Basically E.Balance.Sum seems to not like $1 place marker using syntax $1 > 0 or $ < 0?

RESULTS:

The thing why I have stated this is an issue is because:
$1!=0
Seems to work?

>> TOTAL||| {REPORT ENTITY DETAILS:E.Balance.Sum;0.00;-0.00;0.00:(ET=Customers) && E.AccountId>0:${0}::$1!=0:}

I only wish to show Customers TOTAL of CREDIT BALANCES? (or Total of Debit).
Can only assume a CHAR value is returned and that's why != works?

Sorry @emre have edited pictures to give a better idea of the problem.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 749

Trending Articles