What do I need to change in this item sales report to only display quantities of 1 or more. Currently if the transaction is voided the report still show an item was “sold” but with zero quantity as shown below, how can I remove those Zero quantity items?
[Item Sales:4, 1, 1]
{REPORT ORDER DETAILS:O.MenuItemName,O.Quantity.desc,O.ExactTotal.desc:(ODI=True)}
Fixed it, thanks for the help @Bob_be, your original expression with os.status=submitted didnt work for me because ive heavily modified my system and dont use submitted
I just added a new rule that when im using my void system orders states get updated to Voided and when a sale is processed order states get updated to Paid
So now i used OS.Status=Paid which works perfect, then i also added a void item report using the same expression but with OS.Status=Voided
Anyone know why the same item is sometimes grouped and sometimes not? See below the highlighted drink is listed twice, once with qty x2 and once with qty x1, it should only be listed once with qty x3
I think what’s happening is it’s grouping the items by how the orders are placed. I’m guessing you had 1 order with a qty of 2, an another order with a qty of 1. If you had 2 more separate orders of 1 the report would change the qty of 1 to 3 (also adjust the price also, unless you change the price of one of them, then there would be new line).
Putting a .sum before the .desc of Quantity & ExactTotal should give you the results your looking for.
{REPORT ORDER DETAILS:O.MenuItemName,O.Quantity.sum.desc,O.ExactTotal.sum.desc:(ODI=True) && (OS.Status=Paid)}
Out of curiosity, why are you using large numbers in the column format?