Charge code api not loading valves on the Financial plan module
search cancel

Charge code api not loading valves on the Financial plan module

book

Article ID: 261467

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Charge code api not loading valves on the Clarity (MUX/Modern UX) Financial plan module,  but the same values load up correctly via lookup API in the Financials module. 

Setup:

  • Clarity 16.1.1 system with investment charge codes enabled
  • Load a large number of investment charge codes. Example: Above > 1000.
  • Setup a Project blueprint where both Financial and Financial Plans are added as Modules


Steps to Reproduce:

  1. Open any project via modern UX, using the Financial plans or Financial plans module, Create a cost plan in modern UX with grouping attribute set to Charge codes.
  2. Using the financial module Open the cost plan and click (+) to add a new row.
  3. Observe the browser network trace while the charge code api call request displays values, the charge codes returns in offset of 25 for each request, which is an expected behaviour.
    ../ppm/rest/v1/lookups/LOOKUP_FIN_CHARGECODES/lookupValues?filter=((searchText%20startsWith%20%27%25%27)%20and%20(param_investment_id_constrain%20=%20%275001125%27))&offset=0&_cb=1677512985896
    ../clarity_url/ppm/rest/v1/lookups/LOOKUP_FIN_CHARGECODES/lookupValues?filter=((searchText%20startsWith%20%27%25%27)%20and%20(param_investment_id_constrain%20=%20%275001125%27))&offset=25&_cb=1677512985896
    ....
  4. Clear network trace, Now switch to the Financial module, Scroll down the charge code 1 by 1 and observe the network trace

 

Expected results: Charge codes api to load up and show all charge codes on Financial Plan module, like how it loads up on the Financial module with offsets of 25 "offset=25"


Actual results: Chargecode API requests spawn and loads indefinitely with the duplicated "offset =0" with the same 25 payload until the financial plan page eventually times out after 1-2 hours.  

../clarity_url/ppm/rest/v1/private/chargeCodes?filter=(name%20=%20%27%27)&offset=0&_cb=1677512900065
../clarity_url/ppm/rest/v1/private/chargeCodes?filter=(name%20=%20%27%27)&offset=0&_cb=1677512900065
../clarity_url/ppm/rest/v1/private/chargeCodes?filter=(name%20=%20%27%27)&offset=0&_cb=1677512900065
...

Environment

Release : 16.1.1

Cause

DE68655

Resolution

DE68655, is fixed in 16.1.2