Products | Versions |
---|---|
TIBCO BusinessConnect EDI Protocol Powered by Instream | - |
Not Applicable | - |
Resolution:
Some EDI-X12 document used by trading partners have leading zeros in the HL segments, which BC EDI nor SpecBuilder can not normally process. To enable the processing of these documents, modify these files:
In SpecBuilder:
C:\Program Files\Edifecs\SpecBuilder\Config\XEngine\config\action\actions-x12.xml
in EDI 5.2/5.2.1/5.3
$BC_HOME/protocols/edi/tpcl/config/action/actions-x12.xml
as follows:
1. Open the file, and look for this snippet of XML at the top of the file:
<Node Key="Transaction">
<Property Name="HL.nStartValue">1</Property>
<Property Name="HL.nIncrementValue">1</Property>
</Node>
2. Change it to look like this:
<Node Key="Transaction">
<Property Name="HL.nStartValue">1n</Property> <!-- change "1" to "1n" -->
<Property Name="HL.nIncrementValue">1</Property>
</Node>
3. Save and restart BC or SpecBuilder.