Hi I am running into a issue when using econnect version 11.00.1761.000
We are submitting and updating invoices using the taPOHdr and taPoline nodes and are running into the following issue: We can cancel a line on a PO ony if the line has not been revised. if it has been revisied then econnect throws an error when trying to cancel.
For example:
I am able to submit a PO line with say quantity 25 and then submit an update for the line with a cancelled quantity of 25 and the line will cancel just fine.
If I submit a PO line with 25 and then submit an update, changing the quantity to 30 and then submit an update setting the cancelled quantity to 30 I get an error from taPoLine "Cancel Amount cannot be greater then quantity remaining" I can even submit another update setting the quantity on the line back to 25 and submit an update to cancel 25 on the line and get the same error.
To me it sounds like something is not being calculated correctly. When I run profiler, I see taPOLinePre run and then taPOLine and then the transaction is rolled back with the error. I am not doing anything in the pre or post procs. I am also submitting tax lines for each line in the PO when tax is specified in the PO. I also looked in the pop10110 and pop10160 tables for both POs and did not see any differences, except in the qtyuncmbase field.
If anyone has any ideas I would really appreciate it.
Thanks in advance,
Tom