Basic Java Question
I have a unique situation in CPQ where we need to generate configurations automatically. I am not very well versed with Java, but I can get the code (below and just a snippet) to run but it doesn't wait for the "priceUpdate" function to finish before going on to the next part number in "pnArray". I know it has something to do with asynchronous programming and using callbacks or promises, etc. But everything I have tried doesn't work. Any help would be appreciated....
Oracle CPQ - Java
Version (include the version you are using, if applicable):
Oracle CPQ 21C Patch 2