My Oracle Support Banner

Current Balance of Non-currency Resource is Rounded to Next Higher Integer (Doc ID 2667286.1)

Last updated on MAY 06, 2020

Applies to:

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

Goal

The current balance of non-currency resources (NCR) (in the /balance_group object) is rounded to the next higher integer when the product is purchased with fractional quantity. Charge offer has been configured in Pricing Design Center (PDC) such that it can be purchased in partial/fractional amounts. The charge offer contains a monthly cycle forward event which grants some non-currency resource on a monthly basis.

When the product is purchased in fractional quantity, NCR amount is multiplied with the quantity but rounded to the next higher integer.

The snippet of PIN_FLD_PRODUCTS array from PCM_OP_CUST_COMMIT_CUSTOMER input flist:

2         PIN_FLD_PRODUCTS      ARRAY [1] allocated 20, used 5
3             PIN_FLD_QUANTITY     DECIMAL [0] 1.75
3             PIN_FLD_PURCHASE_FEE_AMT DECIMAL [0] 0
3             PIN_FLD_STATUS         ENUM [0] 1
3             PIN_FLD_PRODUCT_OBJ    POID [0] 0.0.0.1 /product 2081273 0
3             PIN_FLD_STATUS_FLAGS    INT [0] 0


How to avoid rounding the quantity?

 

Solution

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