Hi Experts,
I have a add-on which read the large EDI file (which have more than 2000 invoices in each file) and import Invoices in SAP Business One, after importing the invoices it marks the invoice as posted in Table so if any error appear at time importing invoice user can re-import the exception invoices which were marked as not posted. Everything works fine when only one user use the add-on and import invoices.
If more than one user use the add-on to import invoices i get different type of issue from SDK for example internal error, header is missing etc... but when i check the invoice which was error out and this is not main problem. The biggest problem when i check the invoices in SAP which were error out by SDK it was posted in SAP, which give us the nightmare to correct because user re-run the add-on use to import the invoice again because that were marked as exception invoice in previous run.
For a temporary solution i have added Begin Transaction, commit and rollback in my program but now i have a great concern on the ability of SAP Multi user handling. Because end user is yelling me on the solution i had given to him i.e. if some invoices got exception you just re-run (Or) don't ask more than one user to rerun the program.
Do any one have a solution for the multi user problem in SAP Business One.
Your suggestion would be highly appreciated.
Regards,
Raja