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:
- 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.
- Using the financial module Open the cost plan and click (+) to add a new row.
- 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
....
- 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
...