ENUM Support In iScripts (Doc ID 989735.1)

Last updated on OCTOBER 10, 2012

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.1.0.0 to 7.3.1.0.1 [Release 7.3.1]
Information in this document applies to any platform.
***Checked for relevance on 10-Oct-2012***

Symptoms

Flist manipulation set functions are not working for ENUM type.
 
Example

 fListSetLong("PIN_FLD_IMPACT_TYPE", 288 ) gives following error:
ERROR: `PIN_FLD_IMPACT_TYPE' is not a long field


Reproduction Steps

On the real-time pipeline, configure a mapping iScript in the PcmOutput module, like in the following:

PcmOutput
{
 ModuleName = OUT_Realtime
 Module
 {
  MappingScript = /usr/users/portal/pin24/7.3.1/personal/ifw/iScript/RTP/rtp.isc
 }
}





Inside the rtp.isc, invoke logStdout(fListToString());

then drop the bal impact:

drop = fListDropElem("PIN_FLD_BAL_IMPACTS", j);

then create it empty:

fListPushElem("PIN_FLD_BAL_IMPACTS", j);

and add elements:

fListSetString("PIN_FLD_IMPACT_CATEGORY", "IC");
fListSetLong("PIN_FLD_IMPACT_TYPE", 288 );
fListSetLong("PIN_FLD_RUM_ID", 1)

Everything works fine for fields of string and int data type except the impact_type field which is of type ENUM.

 


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