My Oracle Support Banner

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 and later
Information in this document applies to any platform.


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:$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="" xmlns:xsi="">[[
<![CDATA[An error was reported from a JavaScript rule.
An error was reported from a JavaScript rule.

<![CDATA[Machine Info: (
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.

<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"/>


To view full details, 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 a vibrant support community of peers and Oracle experts.