UNH release number issue - wm9.6

Hi,

The below EDIFACT EDI data works perfectly fine in my webMethods 8.2.2 version.

UNB+UNOA:1+0355730655NE:ZZ+049591852XMFG:14+150224:1817+1957’
UNG+INVOIC+0355730655NE:ZZ+049591852XMFG:14+150224:1817+1861+UN+001:921’
UNH+186100001+INVOIC:001:921:UN’BGM+380+AK1X330001

But it doesnt work in wM 96 version. When I change the UNH release number to ‘1’ instead of ‘001’, it is working. Then it is recognized as ‘UNEDIFACT 921 INVOIC’ document type other wise not.
Can any one help me fix the code or configuration in wM so that Trading Networks can handle ‘001’ also.

regards,
Indra.

Check if the FF schema used in these two environments are the same. (version like 96A, 99A etc.)
make sure they are the same.

Yes all the required schemas are installed. When I post the data from EDI home page with ‘001’ in UNH segment, it is recognized as ‘unknown’ document. it is recognized if posted with ‘1’ in UNH.

The below data is working

UNB+UNOA:1+0355730655NE:ZZ+049591852XMFG:14+150224:1817+1957’
UNG+INVOIC+0355730655NE:ZZ+049591852XMFG:14+150224:1817+1861+UN+001:921’
UNH+186100001+INVOIC:1 :921:UN’BGM+380+AK1X330001

This is not.
UNB+UNOA:1+0355730655NE:ZZ+049591852XMFG:14+150224:1817+1957’
UNG+INVOIC+0355730655NE:ZZ+049591852XMFG:14+150224:1817+1861+UN+001:921’
UNH+186100001+INVOIC:001 :921:UN’BGM+380+AK1X330001

which version of schema did you install?

UNEDIFACT 921 INVOIC

in 921, that field has definition of:
0052=AN,1,3
which is correct for 001 & 1

But for newer version, for example, 99B, it has a CODES restriction of:
0052=1,2,88,89,90,D,S
which 1 is valid, but 001 is not
My guess is that you are validation against a newer version of schema in your 9.6 installation.
HTH,

Can you please tell me where the changes are to be made to make 001 acceptable. I did the changes in the changes in the dictionary but that’s a vain attempt

under packages\WmEDI\pub\SEFS\UNEDIFACT
you can find all the SEF files that WM used to generate the schema.
you can edit it, then reload it.

I tried to edit all these below files all together once and individually but no results.

D:\webMethods96\IntegrationServer\instances\default\packages\WmEDI\pub\SEFS\UNICSN.sef
D:\webMethods96\IntegrationServer\instances\default\packages\WmEDI\pub\SEFS\UNEDIFACT\921.SEF
D:\webMethods96\IntegrationServer\packages\WmEDI\pub\SEFS\UNICSN.sef
D:\webMethods96\IntegrationServer\packages\WmEDI\pub\SEFS\UNEDIFACT\921.SEF

Reloaded the package and tested but again no luck.

reload here means you need to regenerate the schema with the updated sef files. try to delete those FF schema, then regenerate using Solution>EDI>
Install TN Document Types page.

Its not working.
We raised the issue with SAG and they suggested the fix EDI_9.0_Fix4. Problem resolved :slight_smile:
Thanks for the help Tong Wang :slight_smile: :smiley:

Yes that make sense as long as SAG provided a fix…as assumed :smiley:

HTH,
RMG