Processing an incoming EDIFACT document that has all the numeric data types with leading zeros.

book

Article ID: KB0088112

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect EDI Protocol Powered by Instream -
Not Applicable -

Description

Resolution:
Description
==========
When processing an inbound EDIFACT document from a trading partner, validation errors are thrown on any field that contains leading zeros.  How to configure SpecBuilder and BusinessConnect (BC) to ignore this condition?

Environment
===========
BusinessConnect EDI Protocol 5.X.X

Resolution
==========
To turn off leading zero checking in SpecBuilder, update the XEregistry file for SpecBuilder (\Edifecs\SpecBuilder\Config\XEngine\XERegistry.xml)

Look for this line:

&ltItem Name="ValidateLeadingZeros"&gttrue</Item>

and change it to this:

&ltItem Name="ValidateLeadingZeros"&gtfalse</Item>

For BC EDI 5.X, the same thing can be accomplished by modifying the same line under $BC_HOME/protocols/edi/tpcl/config/XERegistry.xml

Issue/Introduction

Processing an incoming EDIFACT document that has all the numeric data types with leading zeros.