B2B-51507 JavaScript Rule Error when Processing 5010 EDI Documents (Doc ID 1437395.1)

Last updated on MAY 02, 2013

Applies to:

Oracle SOA Platform - B2B (Business to Business) - Version 11.1.1.1.0 and later
Information in this document applies to any platform.

Symptoms


B2B Document Editor validates 837 5010 EDI input document. However when B2B processes the same input file the following error occurs:

[2011-12-02T15:59:02.678-05:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@3e54780e] [userId: <anonymous>] [ecid: 0000JG0^ec70jouqS^RLAO1EqJfT00001o,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: payload = <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">[[
<correlationId>null</correlationId>
<b2bMessageId>CC9CFF141340092B85C000004C7FB135-1</b2bMessageId>
<errorCode>B2B-51507</errorCode>
<errorText>
<![CDATA[An error was reported from a JavaScript rule.
An error was reported from a JavaScript rule.

]]>
</errorText>
<errorDescription>
<![CDATA[Machine Info: (eaol14.flelder.org)
Cannot interpret script SysOnBeginNode_4_1. Error details: TypeError 1607: Variable ec_strNPIFormat is undefined.
! -0019: Error near %:56 [Global Code].
empty JS rule is not available.

]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
<errorDetails>
<parameter name="b2b.messageId" value="CC9CFF141340092B85C000004C7FB135-1"/>
<parameter name="b2b.documentTypeName" value="837"/>
<parameter name="b2b.documentProtocolVersion" value="5010X223A1"/>
<parameter name="b2b.documentDefinitionName" value="837def"/>
<parameter name="b2b.documentProtocolName" value="EDI_X12"/>
<parameter name="b2b.messageType" value="1"/>
<parameter name="b2b.fromTradingPartnerId" value="07-SeniorsFirst"/>
<parameter name="b2b.fromTradingPartnerIdType" value="Name"/>
<parameter name="b2b.toTradingPartnerId" value="DOEA"/>
<parameter name="b2b.toTradingPartnerIdType" value="Name"/>
</errorDetails>
</Exception>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms