Amount Remaining Columns Having Non Zero Value After Claim Is Created For Complete Commission Amount

(Doc ID 2385232.1)

Last updated on APRIL 13, 2018

Applies to:

Oracle Trade Management - Version 12.2.5 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.5 version, Claim Settlement

ACTUAL BEHAVIOR
---------------
Amount Remaining columns having Non Zero value after Claim is Created for complete commission Amount

We are trying to create a claim in Budget currency using Oracle Standard public Claim Creation API and after the Claim is created, we still see some decimal fraction amount left in AMOUNT_REMAINING and PLAN_CURR_AMOUNT_REMAINING in OZF_FUNDS_UTILIZED_ALL_B table.

For example:

Before the claim is created below are the amounts.

AMOUNT : 221.5
AMOUNT_REMAINING : 221.5
PLAN_CURR_AMOUNT : 103.25
PLAN_CURR_AMOUNT_REMAINING : 103.25

After the claim is created below are the amount remaining columns amounts.

AMOUNT : 221.5
AMOUNT_REMAINING : -0.05 ------Issue
PLAN_CURR_AMOUNT : 103.25
PLAN_CURR_AMOUNT_REMAINING : -0.02 -----Issue

When claim is requested in Budget Currency , Auto Pay considering the Accounted Amount as Base amount and then converting the value to required currencies. During this process, claim amount is not exactly same as what is in OZF_FUNDS_UTILIZED_ALL_B table. Example given ApiTestCase.xlsx file explains the problem.

Basically in our case below are the steps.

Step1 : Accounted Amount (USD) => PLN (Plan Currency)
Step2 : Plan Currency (PLN) => NOK (Budget Currency )

 

EXPECTED BEHAVIOR
-----------------------
AMOUNT_REMAINING and PLAN_CURR_AMOUNT_REMAINING in OZF_FUNDS_UTILIZED_ALL_B table should have zero as value

STEPS
-----------------------
The issue can be reproduced at will with the following steps:


1) Define currency rate 1 PLN = 2.1453181648 NOK

2) created 3-14715621991-3 fixed budget for 1 NOK and created 3-14715621991-3 lumpsum offer for 103.25 PLN

3) Created claim testclm2 using below script and we have see remaining amount on utilization table

SELECT * from ozf_funds_utilized_all_b where plan_id=xxx
SELECT * FROM ozf_offers WHERE offer_code = xxxx
SELECT * from ozf_funds_utilized_all_b where plan_id=xxxx

4)

 



Changes

 

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