Autogenerate the PDF Offer

The plugin will check the folder “/tilbuid/” on the server every 5 minutes.

If in the folder will appear a new XML Offer file then the plugin will open this file and will read all data inside. If the data are valid, then these data will be converted into PDF format.
The PDF format data will be saved into the PDF file with the same filename as the XML source file.
For example:

  • if the XML source file has the name – 000000000000007_20220804_161943.XML
  • then the PDF Offer file will be named – 000000000000007_20220804_161943.PDF

And this PDF file will be saved in the same subfolder where was found the XML source file.

For example:
if the XML source file will be found in the subfolder “/000000000000007/” then the PDF result file will be saved in the same subfolder “/000000000000007/”.

 

In subfolder …