My Oracle Support Banner

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

Last updated on JUNE 06, 2018

Applies to:

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


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
   <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
   <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.

If the ebuf is set, use the existing errno.


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

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