How to create a custom calculated field for a Ticked that can be printed

The printed invoices in Bolivia must have a “Verification Code”. This code looks something like this: “F4-96-E3-44-C9”.

The code is generated with some well known algorithms for encryption and verification using some of the data in the ticket itself. Of course, we have the source code to generate this code (C# or Java)

I presume that it would also be a good idea to store this code value along with all the ticket information.

So, my question is: How can we create a custom field for a Ticket and ask SambaPOS to call a function to calculate its value for a given ticket and then print it?

Here is the solution.

1 Like

Is this possible @emre?

If you assign it to a Ticket Tag, then it will be stored with the Ticket for recall at any time. You can even search for the Ticket via the Ticket Tag.

1 Like