I use a php script to track and manage payments recepits.
In this script i have some fields like:
TRANSACTION ID (ERP Reference)
UPLOAD (select dialog to upload a PDF with bank transaction)
Now, we have ERP software.
User first add payment on ERP and after submit record user get transaction ID and bank transaction.
After this user scan some documents, FILL FIELDS on script and upload a PDF FILE.
I'm like to send some data from ERP to PHP script, in this way user cannot fill forms twice.
My Idea is create a button on ERP to open a browser window and submit data by URL, like:
QUESTION: IS BEST WAY?