# Entity Sales Report

**URL:** <https://forum.sambapos.com/t/entity-sales-report/32048>\
**Category:** V5 Question\
**Created:** [June 6, 2026, 6:46pm UTC](https://forum.sambapos.com/t/entity-sales-report/32048 "2026-06-06T18:46:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mambo](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/a587f6/32.png) [@Mambo](https://forum.sambapos.com/u/Mambo)\
**Post date:** [June 6, 2026, 6:46pm UTC](https://forum.sambapos.com/t/entity-sales-report/32048/1 "2026-06-06T18:46:31Z")

</div>

Hello,

Could someone help me format this report to give me of a list of Customers and the Items sold to them.

I have struggled with it but the result am getting is note entirely what I desire.

**[Customer Sales Details:2,3,1, 1]**  
**\>CUSTOMER|ITEM|QTY|AMOUNT**  
{REPORT ORDER DETAILS:EN.Customer,O.MenuItemName,O.Quantity,O.ExactTotal:(TY=INVOICE)}

I desire to get something like this…

 ![image](https://forum.sambapos.com/uploads/default/original/3X/f/6/f67438d59ea23b27ee5363b3d9dc40b7da54404d.png)

But this is what I get…

 ![image](https://forum.sambapos.com/uploads/default/original/3X/4/f/4f3a42102b3843e812e6a7719b8a6ac2f006be39.png)

Below is my set up

 ![image](https://forum.sambapos.com/uploads/default/original/3X/6/b/6bc6816b98693eba3980ecbb2956c878a6a0781b.png)

 ![image](https://forum.sambapos.com/uploads/default/original/3X/8/9/89fbc1bb197a565331578a9859cf53cd3ca94a87.png)

 ![image](https://forum.sambapos.com/uploads/default/original/3X/7/b/7b3c6817f1b89fded0ee1d16df5b42707071da56.png)

 ![image](https://forum.sambapos.com/uploads/default/original/3X/f/2/f2f85b50f6f414c85a14ddfe9f7193846b7e2c03.png)

---

<div class="post-metadata">

**Author:** ![sayuru\_ranshan](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/a8b319/32.png) [@sayuru\_ranshan](https://forum.sambapos.com/u/sayuru_ranshan)\
**Post date:** [June 12, 2026, 6:32am UTC](https://forum.sambapos.com/t/entity-sales-report/32048/2 "2026-06-12T06:32:51Z")

</div>

Hi Mambo.

 ![Screenshot 2026-06-12 120453](https://forum.sambapos.com/uploads/default/original/3X/e/a/eac85e27a059d0cd6fc34c97a3479294681938e2.png)

```auto
[Customer Sales Details:3, 1, 2]
>ITEM|QTY|AMOUNT
@{REPORT ORDER DETAILS:EN.Customer,O.Quantity.Sum::{0}:,}
>>$1
{REPORT ORDER DETAILS:,,O.MenuItemName.asc,O.Quantity.Sum,O.ExactTotal.Sum:(TEN.Customer=$1) and (ODI=True) and (TY=INVOICE)}
>Total:||{REPORT ORDER DETAILS:O.TotalPrice.Sum:(TEN.Customer=$1) and (ODI=True) and (TY=INVOICE)}

```

---

<div class="post-metadata">

**Author:** ![Mambo](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/a587f6/32.png) [@Mambo](https://forum.sambapos.com/u/Mambo)\
**Post date:** [June 12, 2026, 4:11pm UTC](https://forum.sambapos.com/t/entity-sales-report/32048/3 "2026-06-12T16:11:03Z")

</div>

Thank you so so much… I have seen where I was going wrong and what I was missing. Thank you for your help. Be blessed.
