# DocumentType for Flat File Recognition

**URL:** <https://techcommunity.softwareag.com/t/documenttype-for-flat-file-recognition/108807>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [February 14, 2006, 11:06pm UTC](https://techcommunity.softwareag.com/t/documenttype-for-flat-file-recognition/108807 "2006-02-14T23:06:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunil\_Kumar2](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@Sunil\_Kumar2](https://techcommunity.softwareag.com/u/Sunil_Kumar2)\
**Post date:** [February 14, 2006, 11:06pm UTC](https://techcommunity.softwareag.com/t/documenttype-for-flat-file-recognition/108807/1 "2006-02-14T23:06:57Z")

</div>

Hi All,  
I am working on a old vesion of WM i.e. WM v4.6.  
I faced with the issue of creating sevices for processing ODETTE-DELINS (Delins is one of the transaction type under ODETTE standard) files, which are not supported by this version of platform.  
I used SEF files to generate Template and Schema and created services to parse the inbound file. I also tried to create one DocumentType for the same by using SCHEMA and used it to create one Processing Rule too.

The inbound file has the format:

UNB+UNOA:1+01010000759001+5013546122827+040426:1144+0000001++DELINS’  
UNH+0000001+DELINS:2::OD’  
MID+00000206+040426:1143’  
SDT+51004++++++51004’  
…  
…

The first segment (UNB+UNOA:1+01010000759001…) is almost same as the segment find in any UNEDIFACT file. There are default DocumentTypes for the same in TN too for UNEDIFACT standards.  
The problem is that the IS is recognizing this file as “UNEDIFACT”, but recognizing as it a DELINS transaction type file.  
It means, the IS is recognizing as UNEDIFACT-DELINS, instead ODETTE-DELINS, although there is a user-defined DocumentType created for ODETTE-DELINS in TN. So my processing rule is IGNORED.

Can anybody find out a solution for the same?

Thanx,  
Sunil

---

<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:** [February 14, 2006, 11:46pm UTC](https://techcommunity.softwareag.com/t/documenttype-for-flat-file-recognition/108807/2 "2006-02-14T23:46:53Z")

</div>

For ODETTE support in TN4.6 please contact wm tech support,they can assist you better.

What is ur processing rule criteria for ODETTE documenttype?Since UNB/UNH is edifact standard it is selecting the UNEDIFACT type.

In the past i worked on DELINS,AVIEXP,STOACT doctypes in IS4.6 will let you know if i remember the process of TN recognizing the documents as ODETTE.But same kind of setup which you have done,it worked for us.

Ofcourse from IS6.x and 6.5 webMethods EDI is officially supporting ODETTE standards.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Sunil\_Kumar2](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@Sunil\_Kumar2](https://techcommunity.softwareag.com/u/Sunil_Kumar2)\
**Post date:** [February 15, 2006, 5:57pm UTC](https://techcommunity.softwareag.com/t/documenttype-for-flat-file-recognition/108807/3 "2006-02-15T17:57:23Z")

</div>

Hi RMG,  
Its really nice to know that there is someone who has practical experience in handling these type of situation.

Can you please explain how to built a DocumentType for Flat-File like UNEDIFACT and ODETTE?

Thanx,  
Sunil

---

<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:** [February 15, 2006, 8:42pm UTC](https://techcommunity.softwareag.com/t/documenttype-for-flat-file-recognition/108807/4 "2006-02-15T20:42:01Z")

</div>

Sure will let you know if i recollect the things done in 4.6.

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:05pm UTC](https://techcommunity.softwareag.com/t/documenttype-for-flat-file-recognition/108807/5 "2021-04-02T15:05:23Z")

</div>


