My Oracle Support Banner

Custom Fields Are Not Recognized by EMGateway (Doc ID 2992485.1)

Last updated on JANUARY 05, 2024

Applies to:

Oracle Communications Billing and Revenue Management - Version 12.0.0.6.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.0.0.6.0 version, Rating

On the rerate process for custom events, the errors UnknownField are reported in the EMGateway logs.

The error is happening on the FLIST created to call Elastic Charging Engine (ECE) for the opcode RATE_ECE_EVENT.

Example:

FLIST:
1 PIN_FLD_PROVIDER_DESCR STR [0] "LN03"
1 UnknownField50780 SUBSTRUCT [0] allocated 65, used 65
2 UnknownField50789 STR [0] "brmauto8"
2 UnknownField50788 STR [0] "brmauto20"
2 UnknownField50787 STR [0] "brmauto5"
2 UnknownField50786 STR [0] "brmauto3"
2 UnknownField50785 STR [0] "10a"
2 UnknownField50784 STR [0] "10a"
2 UnknownField50783 STR [0] "10a"
2 UnknownField50782 STR [0] "10a"
2 UnknownField50781 STR [0] "10a"

XML:

<UNRATED_QUANTITY>53</UNRATED_QUANTITY>
<USAGE_TYPE>LN03</USAGE_TYPE>
<USERID>0.0.0.1 /service/pcm_client 1 0</USERID>
<UnknownField50780>
<UnknownField50781>10a</UnknownField50781>
<UnknownField50782>10a</UnknownField50782>
<UnknownField50783>10a</UnknownField50783>
<UnknownField50784>10a</UnknownField50784>
<UnknownField50785>10a</UnknownField50785>



STEPs
==========================
Account creation
Purchase of product that provides the customized event (for pricing)
CDR pricing for custom event processing
Advance the virtual pin time by 5 days
Purchase of discount for customized event (for pricing) (ps. purchase made with retroactive date - same date as product purchase)
execute RERATE flow:

  pin_rerate -a -t
  pin_rerate -process jobs
  pin_rerate -process queue
  pin_rerate -rerate
  pin_rerate -process queue
  pin_rerate -process recycle

Error in CM logs:
=========================
D Wed Oct 4 11:45:16 2023 cm cm:3443 fm_rate_and_discount_event.c:858 2:<HOSTNAME>:pin_rerate:345388:-183481536:96:1696430711:5:root.0.0.0.1:::
        Re-directing to PCM_OP_RATE_ECE_EVENT output flist
NULL flist ptr
E Wed Oct 4 11:45:16 2023 cm cm:3443 fm_rate_and_discount_event.c:1136 2:<HOSTNAME>:pin_rerate:345388:-183481536:96:1696430711:5:root.0.0.0.1:::
       op_rate_and_discount_event error
       <location=PIN_ERRLOC_EM:18 class="UNKNOWN":0 errno=PIN_ERR_UNKNOWN_EXCEPTION:66>
       <field num=0:0,0 recid=0 reserved=0 reserved2=0 time(sec:usec)=1696430:716051>
       <facility=0 msg_id=0 version=0>
E Wed Oct 4 11:45:16 2023 cm cm:3443 cm_utils.c(155):6406 2:<HOSTNAME>:pin_rerate:345388:-183481536:96:1696430711:5:root.0.0.0.1:::
CM CM->FM input flist: opcode=PCM_OP_RATE_AND_DISCOUNT_EVENT, flags=0x500, errno=PIN_ERR_UNKNOWN_EXCEPTION:66

Errors in EMGateway log:
=================================================================================
2023-10-04 14:45:15.985 UTC DEBUG - - - - Received request opcode RATE_ECE_EVENT with FList
2023-10-04 14:45:15.990 UTC DEBUG - - - - 0 PIN_FLD_EVENT SUBSTRUCT [0] allocated 56, used 56
1     PIN_FLD_TELCO_INFO SUBSTRUCT [0] allocated 14, used 14
...
1     PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 50401303 0
1     PIN_FLD_ORIGINAL_BATCH_ID STR [0] ""
1     PIN_FLD_ARCHIVE_STATUS ENUM [0] 0
1     PIN_FLD_TAX_SUPPLIER INT [0] 1
1     PIN_FLD_PROVIDER_DESCR STR [0] "LN03"
1     UnknownField50780 SUBSTRUCT [0] allocated 65, used 65
2         UnknownField50789 STR [0] "brmauto8"
2         UnknownField50788 STR [0] "brmauto20"
2         UnknownField50787 STR [0] "brmauto5"
2         UnknownField50786 STR [0] "brmauto3"
2         UnknownField50785 STR [0] "10a"
2         UnknownField50784 STR [0] "10a"
2         UnknownField50783 STR [0] "10a"
2         UnknownField50782 STR [0] "10a"
2         UnknownField50781 STR [0] "10a"
2         UnknownField50845 STR [0] ""
2         UnknownField50844 STR [0] ""
2         UnknownField50843 STR [0] ""
2         UnknownField50842 STR [0] ""

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.