# EDI outbound files Validation failed

**URL:** <https://techcommunity.softwareag.com/t/edi-outbound-files-validation-failed/109984>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [December 16, 2009, 6:28am UTC](https://techcommunity.softwareag.com/t/edi-outbound-files-validation-failed/109984 "2009-12-16T06:28:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harley1](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@Harley1](https://techcommunity.softwareag.com/u/Harley1)\
**Post date:** [December 16, 2009, 6:28am UTC](https://techcommunity.softwareag.com/t/edi-outbound-files-validation-failed/109984/1 "2009-12-16T06:28:28Z")

</div>

Our System is Upgrading from 6.1 to 6.5, we created new flat file schema using flow service wm.b2b.edi:createTemplateFromSEF, and generate document base on the schema, I want to validate this EDI doc using validate service pub.shema.Validate after mapping data. but validate failed,the errormessage is following:

/ISA/@record-id  
errorcode:VV-005  
errorMessage:[ISC.0082.9034] Field is absent, field must exist

It seems that the flow sevice pub.shema.Validate can’t recognize the first field @recode-id in the schema. Is there any error in the shema? Do I need to setup any fixs? Anybody can help me?

---

<div class="post-metadata">

**Author:** ![Harley1](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@Harley1](https://techcommunity.softwareag.com/u/Harley1)\
**Post date:** [December 17, 2009, 12:13pm UTC](https://techcommunity.softwareag.com/t/edi-outbound-files-validation-failed/109984/2 "2009-12-17T12:13:03Z")

</div>

I have found some problems with the EDI Document:  
The following is the header of the Document structure, the property of the field record-id and segment-id is required, but the fields should not be mapped data . It’s the reason of validatation failed.Why it happened?

ISA/@record-id  
ISA/@segment-id  
ISA/@area  
ISA/@position  
ISA/@record-count  
ISA/ISA01/code  
ISA/ISA02  
ISA/ISA03/code  
…

---

<div class="post-metadata">

**Author:** ![Bingley\_Zhang](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@Bingley\_Zhang](https://techcommunity.softwareag.com/u/Bingley_Zhang)\
**Post date:** [May 19, 2014, 11:18am UTC](https://techcommunity.softwareag.com/t/edi-outbound-files-validation-failed/109984/3 "2014-05-19T11:18:29Z")

</div>

Hey Harley, have you get this problem solved?  
I’m getting the same issue under version 8.2, while it works fine for 6.5.

---

<div class="post-metadata">

**Author:** ![Bingley\_Zhang](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@Bingley\_Zhang](https://techcommunity.softwareag.com/u/Bingley_Zhang)\
**Post date:** [May 19, 2014, 11:30am UTC](https://techcommunity.softwareag.com/t/edi-outbound-files-validation-failed/109984/4 "2014-05-19T11:30:02Z")

</div>

> [@Harley \*](#):
>
> Our System is Upgrading from 6.1 to 6.5, we created new flat file schema using flow service wm.b2b.edi:createTemplateFromSEF, and generate document base on the schema, I want to validate this EDI doc using validate service pub.shema.Validate after mapping data. but validate failed,the errormessage is following:
> 
> /ISA/@record-id  
> errorcode:VV-005  
> errorMessage:[ISC.0082.9034] Field is absent, field must exist
> 
> It seems that the flow sevice pub.shema.Validate can’t recognize the first field @recode-id in the schema. Is there any error in the shema? Do I need to setup any fixs? Anybody can help me?

Why is /ISA/@record-id set required and I cannot even to modify its property? It should not be mapped with data…  
Can anybody help me out with this? Appreciate!

---

<div class="post-metadata">

**Author:** ![rmg](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rmg](https://techcommunity.softwareag.com/u/rmg)\
**Post date:** [May 19, 2014, 5:57pm UTC](https://techcommunity.softwareag.com/t/edi-outbound-files-validation-failed/109984/5 "2014-05-19T17:57:37Z")

</div>

Bingley,

Are you also trying to validate the schema and what is the exact issue with EDI Schema and assuming you are on 8.0.1 EDI module?

If you are validating please use convertToValues or String with validate option to yes (against SchemaDT)

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/edi-outbound-files-validation-failed/109984/6 "2021-04-02T15:05:58Z")

</div>


