Revolving Trace
Starting with version 4.0.112.45 of CliSiTef, it is possible to separate each transaction carried out by automation in its own trace file.
Transaction is understood as the set of message exchanges under the same tax coupon. In other words, tax coupon and tax date, passed as parameter in the function IniciaFuncaoSiTefInterativo (tax time is not considered).
For example: a cell phone recharge transaction followed by a TEF, in same tax coupon, are stored in the same trace file.
In this scenario, the files are written in the form:
Windows Transaction | ** Linux and mobile platforms (and other non-POS platforms) | POS Platforms** |
---|---|---|
1 (latest) | CliSiTef.dmp | TRACE |
2 | CliSiTef.dmp.1 | TRACE.1 |
3 | CliSiTef.dmp.2 | TRACE.2 |
… | ... | ... |
n (older) | CliSiTef.dmp.n-1 | TRACE.n-1 |
With each new transaction, the files are rotated (renamed), and the older files are removed, maintaining the number of files desired.
This option also allows these files to be sent to the SiTef server, as long as it is configured with the NServices module.