# How to resubmit EDIINT

**URL:** <https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [November 8, 2004, 5:54pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420 "2004-11-08T17:54:05Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![krishnan.10977](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@krishnan.10977](https://techcommunity.softwareag.com/u/krishnan.10977)\
**Post date:** [November 8, 2004, 5:54pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/1 "2004-11-08T17:54:05Z")

</div>

Hi,

We have received large number of EDIINT documents from our customer which was not processed at our TN server as they were found as Duplicated EDIINT. But, they were not duplicates and found that a change to DB caused it to fail as duplicates. We have fixed this.

Now we want to process all the documents received. To ask customer to resend is not an option.

Any help please.

TN server6.0.1 running on Windows2000 server

---

<div class="post-metadata">

**Author:** ![raymoser](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/raymoser/32/694_2.png) [@raymoser](https://techcommunity.softwareag.com/u/raymoser)\
**Post date:** [November 8, 2004, 6:36pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/2 "2004-11-08T18:36:01Z")

</div>

You have several options, none of which will be pleasing but some easier than others:

1. Manually reprocess each document in TN. This will permit the duplicate ID and reprocess the document. You will do this in TN console and spend a long time doing this.

2. Programicatically reprocess each document by writing a flow service that Queries TN to determine which documents need reprocessing. You should be able to pull a series of message meta data and then filter by times, partner ids, etc.

Have fun.

Ray

---

<div class="post-metadata">

**Author:** ![krishnan.10977](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@krishnan.10977](https://techcommunity.softwareag.com/u/krishnan.10977)\
**Post date:** [November 8, 2004, 7:01pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/3 "2004-11-08T19:01:00Z")

</div>

Hi Ray,

Reprocess changed the status of the document from  
ProcessStatus=DONE and  
UserStatus=ProcessMsg:IGNORED  
to  
ProcessStatus=DONE W/ ERRORS and  
UserStatus=IGNORED

I tried to resubmit but that was even worse; Sender, Receiver & DocType all become unknown.

Any other way, please!

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [November 8, 2004, 7:49pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/4 "2004-11-08T19:49:36Z")

</div>

GPM,

Instead of resubmit,try using reprocess the EDIINT document from TNConsole.

HTH,  
RMG.

---

<div class="post-metadata">

**Author:** ![raymoser](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/raymoser/32/694_2.png) [@raymoser](https://techcommunity.softwareag.com/u/raymoser)\
**Post date:** [November 8, 2004, 8:03pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/5 "2004-11-08T20:03:22Z")

</div>

GPM,

RMG is correct (and please read my message as I also used the term “REPROCESS”.

However, in your case, if TN cannot identify the document based on type or extract the IDs from the document, it is possible that the database is corrupt or was corrupted by whatever change occurred.

You mentioned a change on the DB. I hope you backed up the DB prior to the change.

Also, for next time, you can export your TN configuration as an XML file and restore IDs, document types and processing rules (along with other stuff). I highly recommend this prior to anyone monkeying around with the database.

If someone manipulated the database, then you may be in unsupported territory (i.e., you corrupted the database and no one can recover it as we are not magicians).

One thing you can do here to recover is to create a flow that extracts the data from TN, writes it to the file system. This will allow you to drop and recreate the tables for TN. Be sure to backup your TN Configuration. Once the tables are recreated, restore the configuration (if it was possible) or rebuild the configuration.

Then, you can create a loadDocument service, routeXML, and get the docs back in.

I highly recommend that you sit down and give your self a restore/recover strategy for the future. It will save you heartburn.

HTH

Ray

---

<div class="post-metadata">

**Author:** ![raymoser](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/raymoser/32/694_2.png) [@raymoser](https://techcommunity.softwareag.com/u/raymoser)\
**Post date:** [November 8, 2004, 8:06pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/6 "2004-11-08T20:06:44Z")

</div>

GPM,

A Clarification: What I mean by extracting data from TN is to create a service that queries for the documents in question, and write the file content to the file system for later recovery.

Happy Recovery.

Ray

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [November 8, 2004, 9:25pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/7 "2004-11-08T21:25:55Z")

</div>

GPM,

Bascially as a best practice you have to design/build a process recovery logic in the realtime transactions especially when these types of problems occurs.This makes life easier when you want to reprocess a batch of documents which are failed due to any transient/network errors and stucked during processing.Follow as Ray mentioned above.

Goodluck,

---

<div class="post-metadata">

**Author:** ![krishnan.10977](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@krishnan.10977](https://techcommunity.softwareag.com/u/krishnan.10977)\
**Post date:** [November 9, 2004, 7:09am UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/8 "2004-11-09T07:09:41Z")

</div>

Ray & RMG,

Thanks for the guidance. Hope I can get all the docs back.

Regards.

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [November 9, 2004, 9:39am UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/9 "2004-11-09T09:39:53Z")

</div>

Glad to help,

goodluck.

---

<div class="post-metadata">

**Author:** ![krishnan.10977](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@krishnan.10977](https://techcommunity.softwareag.com/u/krishnan.10977)\
**Post date:** [November 12, 2004, 5:26pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/10 "2004-11-12T17:26:02Z")

</div>

Hi Ray,

We recovered many documents and for some we asked our Partner to resend.

Now, as you suggested, I want to prepare a service which can query and recover data from the TN programmatically. How to do that?

Regards.

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [November 15, 2004, 7:25pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/11 "2004-11-15T19:25:44Z")

</div>

GPM,

TN has builtin query services,here are the steps

createDocumentQuery(specify query criteria)  
documentQuery(specify query it gives results/docs)

look into documentation about using of these services.

HTH,  
RMG.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:04pm UTC](https://techcommunity.softwareag.com/t/how-to-resubmit-ediint/107420/12 "2021-04-02T15:04:47Z")

</div>


