Problems Rating Using NMFC Classes 92.5 And 77.5 via RatewareXL - cause.REXRateware.0004 Error Generated (Doc ID 2079986.1)

Last updated on MARCH 16, 2017

Applies to:

Oracle Transportation Management - Version 6.3.4 to 6.4.1 [Release 6.3 to 6.4]
Information in this document applies to any platform.

Symptoms

OTM is not sending the proper NMFC value when sending rate information to RatewareXL. In cases where values of 92.5 or 77.5 are being used, OTM is truncating the .5 and using the NMFC whole number instead thus failing to return a rate and generating the following error in the logs.

2015-10-23 08:36:54.459 221418 Debug RateEngineDebug REShipUnitLine.getNmfcClass(): nmfcClass retrieved from flexCommodityCode = <77.5> [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)']
2015-10-23 08:36:54.461 221418 Debug RateEngineDebug RERateOffering.get(186) [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)']
2015-10-23 08:36:54.464 221418 Debug RateEngineDebug RERateOffering.get(81) [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)']
2015-10-23 08:36:54.466 221418 Debug RateEngineDebug REXRateware.accumulateClassWeight(): Invoking reMapNMFCCode() [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)']
2015-10-23 08:36:54.466 221418 Debug RateEngineDebug REXRateware.accumulateClassWeight(): Remap returned 77 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)']
2015-10-23 08:36:54.467 221418 Debug RateEngine cause.REXRateware.0004 (e=java.lang.IllegalArgumentException: No enum const class com.smc.commons.pricing.NmfcClassification.CLASS_77, stackTrace=
java.lang.Enum.valueOf(Enum.java:196)
com.smc.commons.pricing.NmfcClassification.valueOf(NmfcClassification.java:39)
com.smc.commons.pricing.NmfcClassification.fromValue(NmfcClassification.java:67)

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