Problem using widgets in UBAQ BPM Get List custom code

I have a UBAQ with a UD19 table in it. I want to update the forecast table with data in the UD19 table. I have a ForecastGetNewForecast BO Method in th BPM Post-Processing that fires in the GetList. When I click the Get List button an error pops up saying “The Table ttResults has more than one record”. In a normal Data Directive it works by processing each record returned through the BO. Is the UBAQ BPM not able to handle multiple records going through a BO or is there a way to make it work?

Please help!
Thanks
Richard


Sorry, I put the wrong screen shot for the error. Here is the correct one.
image

I think the issue is the param for partNum. The ttResult table has more than 1 record and it doesn’t know which one to use. I would create a string var like prmPartNum and use a code widget or the Set Field widget to set it first. Then, use that var as a param for partNum.