# Use ticket lister, or entity grid to display some customers

**URL:** <https://forum.sambapos.com/t/use-ticket-lister-or-entity-grid-to-display-some-customers/13962>\
**Category:** V5 Question\
**Created:** [February 5, 2017, 12:26pm UTC](https://forum.sambapos.com/t/use-ticket-lister-or-entity-grid-to-display-some-customers/13962 "2017-02-05T12:26:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mjb2000](https://forum.sambapos.com/user_avatar/forum.sambapos.com/mjb2000/32/29209_2.png) [@mjb2000](https://forum.sambapos.com/u/mjb2000)\
**Post date:** [February 8, 2017, 2:41pm UTC](https://forum.sambapos.com/t/use-ticket-lister-or-entity-grid-to-display-some-customers/13962/5 "2017-02-08T14:41:29Z")

</div>

Thanks as always QMcKay - Sorry I have not replied sooner, I have been doing a lot of reading about tasks (which you seem to like **a lot!** and custom reports.

I am happy with the way in which we process transactions ahead of a customer’s arrival, so I have been concentrating on custom reporting and I think I am starting to make progress. In particular, I think the table report approach should work well for us here.

Just one thing as I move forward - Do you know if it’s possible to include comments in the customer reports (I really like adding comments to things like this so I remember what I was doing when I come back to things months later). I have tried using `-- Comment` (as in Ticket layouts) but that is not working.

Here is what I have got so far to give me a list of customers who owe money (with comments that appear in the report at the moment).

```auto
-- Find customers who have non zero balances
-- :Fields to reutrn
-- | :Conditions (select the entity type I want to look for)
-- | | :Although we are asking for 2 fields, only output the first one (index 0)
-- | | | :???Not sure what this section is for???
-- | | | |:Only output the value where the second field is not zero (the second field is the balance, even though it's not output)
-- | | | || :Use a comma to separate each field (useful because we will use this in another report)
{REPORT ENTITY DETAILS:E.Id,E.Balance.sum:(ET=Customers):{0}::($2!=0):,}

```

I wonder if you or @emre could answer the question on the 5th line (with the ???) - I have read [Emre’s post here](https://forum.sambapos.com/t/need-help-in-custom-report/7366/22) which tries to explain these sections, but it doesn’t quite match with the number of sections I have here.

---

_[View the full topic](https://forum.sambapos.com/t/use-ticket-lister-or-entity-grid-to-display-some-customers/13962)._
