# Parsing edi in TN

**URL:** <https://techcommunity.softwareag.com/t/parsing-edi-in-tn/108366>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [July 4, 2003, 12:50am UTC](https://techcommunity.softwareag.com/t/parsing-edi-in-tn/108366 "2003-07-04T00:50:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [July 4, 2003, 12:50am UTC](https://techcommunity.softwareag.com/t/parsing-edi-in-tn/108366/1 "2003-07-04T00:50:48Z")

</div>

Hi,  
When an edi doc is submitted to TN, it Parses the document into its constituent elements: the interchange envelope(s), the group envelope(s), and the individual transaction set(s) and all of them are submitted to TN again. Is there a out of the box way that i can restrict the parsing to interchange level only so that all other group and transatction level docs are not submitted to TN ?

regards  
DG

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [July 4, 2003, 1:07am UTC](https://techcommunity.softwareag.com/t/parsing-edi-in-tn/108366/2 "2003-07-04T01:07:41Z")

</div>

I believe there is no way to restrict group and transaction set not to persist in TN,since TN will treat all these set of interchanges as one group and use to validate envelope along with transaction set.

But might be a way to accomplish your issue,it might be out of box.

Thanks,

---

<div class="post-metadata">

**Author:** ![Chris\_L](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@Chris\_L](https://techcommunity.softwareag.com/u/Chris_L)\
**Post date:** [July 4, 2003, 3:20am UTC](https://techcommunity.softwareag.com/t/parsing-edi-in-tn/108366/3 "2003-07-04T03:20:46Z")

</div>

What would be the need to do that?

---

<div class="post-metadata">

**Author:** ![reamon](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@reamon](https://techcommunity.softwareag.com/u/reamon)\
**Post date:** [July 4, 2003, 3:21am UTC](https://techcommunity.softwareag.com/t/parsing-edi-in-tn/108366/4 "2003-07-04T03:21:14Z")

</div>

Not in 4.6. But you can have rule not persist the content of the X12 Group and/or X12 NNNN YYY transaction set. But the bizdoc envelope still gets created in the TN DB.

We have it configured to not persist the group content. We persist the interchange and transaction sets and have separate rules for each. The rule for the interchange does the 997 generation while the transaction set rule does the processing of the 810, 850, etc. for translation and sending to wherever.

I believe the wM6 EDITPA provides the ability to specify how far down to split an EDI doc and what to do with each of the pieces.

HTH

---

<div class="post-metadata">

**Author:** ![greg.mitchell.23005](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@greg.mitchell.23005](https://techcommunity.softwareag.com/u/greg.mitchell.23005)\
**Post date:** [July 4, 2003, 6:46pm UTC](https://techcommunity.softwareag.com/t/parsing-edi-in-tn/108366/5 "2003-07-04T18:46:55Z")

</div>

Another option would be to create a processing rule that calls a service to delete the document. Have to be very careful that you don’t lose documents that you care about though.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [July 10, 2003, 8:29pm UTC](https://techcommunity.softwareag.com/t/parsing-edi-in-tn/108366/6 "2003-07-10T20:29:04Z")

</div>

Here is an approach

1)Create a processing rule for Transaction Set and in the pre-processing action, check “Do not save in DB”. This will restrict Transaction Set docs to persist in TN DB. I wonder the same doesn’t work for Group level doc ??  
2)To restrict Group level doc, created a processing rule that deletes the doc from TN DB

Thanks

---

<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:05pm UTC](https://techcommunity.softwareag.com/t/parsing-edi-in-tn/108366/7 "2021-04-02T15:05:12Z")

</div>


