Transaction Summary
Ticket No | Date | Table | Subtotal | Discount | Total | Tax | Service Charge | Payment Type
{REPORT PAYMENT DETAILS:T.TicketNumber,T.Date,EN.Tables,T.PlainTotal,T.Discount,T.TotalAmount,T.Tax,CA.SC.Sum,P.Type}
Your report contains 2 non-existent fields (T.PlainTotal,T.Discount). You can use T.TotalAmount for the T.PlainTotal, however that is the total for the ticket. If you want to get the total before and ticket adjustments you may have to do some maths to get that number.
For the discounts, you will have to list each calculation types. Just like you did for your CA.SC.