When I try to submit the EDI PO’s I got this error
Could not insert the new document.
(0) java.sql.SQLIntegrityConstraintViolationException: [sag-cjdbc42-0011][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (WM_V82.PK_BIZDOCREL_DOCID_RELATDOCID) violated
But when I removed the 2nd ST segment and tried submitting it went fine (i.e if I process one by one its going fine) If I submit with two ST segments I’m getting the above error.
It looks like PrimaryKey violation. Not sure on which table this error it’s getting thrown. Actually I copied the first ST/SE segment for the 2nd time in the same GS/GE segment (had unique PO# (BAK03 segment) ). One more thing, I’m submitting the EDI PO from IS Admin page : http://localhost:5555/invoke/wm.tn/receive
I don’t see any issues with your EDI file having with 2 ST’s and ISA/GS/GE and counts look ok to me…It’s weird:
Where do you see the error in the error log or Activity log and what status you see in the TN transaction analysis does the 2 X12 4010 850 splits showing up?
Also if you have recently migrated the TN DB to new 822 there are some table constraint related issues can occur and so you need to take help from your DBA and resolve it.
I’m trying to submit through WmEDIForTN IS page, I’m seeing error here. All these I’m trying in my local machine. But when I do the same in our office DEV environment I’m not seeing the error. Is there something wrong with the DB setup?
Hi Sreenivas, yes I can see this column “RELATDOCID” in this table:BIZDOCRELATIONSHIP. Thanks for all your helping me.
DB in my local machine was working. Suddenly when I started seeing this error, I couldn’t do any transaction now
Hope I have to clear the table or recreate the TN tables.
Yes you may try that route first drop all the TN PRODUCT tables and then re-create it on the TN product and make sure you have given all the constraints/privileges given.
Got the below error in our server logs. As per the above conversation this exception would occur in case if i use TN component. But we are not using TN. Could anyone comment on the same?