Hi Guys,
Have not attempted this before it seems like there should be a way to get it to work but I can't manage it...
Scenario is I have report which is finding records in one BO but I only want to display the each record IF the sum of records in another BO which relate to the first BO is not equal to zero.
I have attached conditions on the report to each field and this does hide the fields fine, but it does leave the whitespace of where the record would have been behind - so its not pretty.
My other thought was to add it to the query for the report but when I do this the query fails and I get nothing.
The query to find all the BOs for the report is like this :
FIND PCPosLocations WHERE PCPosLocations.Venue=LoggedInRegularUser.po_LoggedInVenue.ID
My attempt to add to it the SUM clause is like this :
FIND PCPosLocations WHERE PCPosLocations.Venue=LoggedInRegularUser.po_LoggedInVenue.ID AND SUM CashDec.TotalBeverage WHERE (CashDec.po_Location=PCPosLocations AND CashDec.ob_Daily.ob_Weekly=WeeklySummary)>0
Either I just can't use SUM in a Query like that, or something is wrong with the query.
Is there a way to fix this or do it another way in aware that I am not seeing?
Many Thanks