Can I make a "Report to file" for CURRENT Ticket


I would like to create a file on my hard drive everytime a ticket is paid.
That file will be relative to that ticket only (the one been paid).

Therefor I want to use “Data Exports” because it allows me to modify the output the way I want, e.g.:

{REPORT TICKET DETAILS:T.Date,T.Time,T.User,T.TicketNumber,TT.SunatNumber,T.TotalAmount:(TY=Ticket):01|{0}|{1}|-|1|-|{2}|{3}|{4}|{5}|someText|{6}}

I can include some extra fields the way I want, like 01; -;1;-;someText and the variables {x}

However I have 2 problems:

  • how to pass the information to that “report” so that it runs only for the current ticket (when Print Bill is clicked)
  • my second problem is that Data Exports reports are not available in Action>Action Type>Save Report to File

An action type Data Export exists:


Is it what I am looking for and how to use it?
Date range has no “current ticket” option, which is normal, I know.
There is no filename where to save it. Filename would be some text and a ticket tag.
Export Data Name is the data export report name?

You put the path in for name.