fm_Bill Overwrites EBuf For Tax Calculation - Workaround (Doc ID 1398123.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.4.0.0.0 to 7.4.0.0.0 [Release 7.4.0]
Information in this document applies to any platform.

Symptoms

When calling a customized DM to get tax rates with an incorrect input, the DM returns an ebuf with a meaningful errno, as shown below:

E Wed Jan 1 03:00:04 2014 qyndevbrm cm:4459 fm_rate_tax_calc.c:283 1:qyndevbrm:<no_name>:4454:-135371072:20309:1326308270:4
   op_rate_tax_calc error
   <location=PIN_ERRLOC_DM:4 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1 errno=PIN_ERR_BAD_VALUE:46>
   <field num=0:0,0 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
   <facility=0 msg_id=0 version=0>

however it is overwritten with PIN_ERR_NOT_FOUND like this:

E Wed Jan 1 03:00:04 2014 qyndevbrm cm:4459 fm_bill_utils_tax_utils.c:325 1:qyndevbrm:<no_name>:4454:-135371072:20309:1326308270:4
   fm_bill_utils_tax_apply2_impact error
   <location=PIN_ERRLOC_FLIST:6 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1 errno=PIN_ERR_NOT_FOUND:3>
   <field num=PIN_FLD_TAXES:9,528 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
   <facility=0 msg_id=0 version=0>


Steps to Reproduce

1. Change fm_rate_pol_pre_tax to set ebuf with something other than PIN_ERR_NOT_FOUND (for example, like the above case, PIN_ERR_BAD_VALUE)
2. Rate anything
3. Errno is changed to PIN_ERR_NOT_FOUND

This is observed on 7.4 PS7 with patches.

Impact on Business:
PIN_ERR_NOT_FOUND is a highest order exception reason. Order agents cannot determine if it is a system error or an input error.

Expectation:
If the ebuf is set, use the existing errno.

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