List the ticket details and order infomation for voided items

Hi All Can someone assist me with listing the ticket details and order Information of voided items. This is what i am currently using which shows me the void but not the ticket details / order detail of the item.

>>Ticket Counts per State
{REPORT TICKET STATES}
>>Order Counts per State
{REPORT ORDER STATES}

I need the system to show me what the ticket number was the item that was voided and the amount.

Can anyone help?

Use {REPORT TICKET DETAILS:X} tag …

https://sambapos.com/wiki/doku.php/custom_reporting_tags

Would it be possible for you to help me build the expression i am new at this .

This is where i need it to calculate, the problem is that it also lists the voided tickets but dose not tell me what they are

[Mia Performances:2.3,.7,1.5,2.5,1,1,1.8]
Ticket|Q|Price|Performance|Table||Time
{REPORT ORDER DETAILS:

T.TicketNumber,
O.Quantity.sum,
O.TotalPrice.sum,
O.PortionName,EN.Table,EN.Quick Table,O.Time:(MG=Dancers) && O.MenuItemName=“Mia”}

[Mia Totals:1,1,1,1,1]

Name|Dances|Amount
@{REPORT ORDER DETAILS:O.MenuItemName:(ODI=True):{0}:,}
{REPORT ORDER DETAILS:’ *'+O.PortionName,=O.Quantity.Sum.desc:(ODI=True) and O.MenuItemName=“Mia”}
{REPORT ORDER DETAILS:O.MenuItemName,O.Quantity.Sum,O.Total.Sum.desc:(ODI=True) and O.MenuItemName=“Mia”}



Report

[Void Items List:2, 2, 5]
>Ticket No.|Order No|Void Item Name
{REPORT ORDER DETAILS:T.TicketNumber,O.OrderNumber,O.MenuItemName:(OS.GStatus=Void)}

Thank you very much you have been a great help