If you've worked with the Rowset class then you've no doubt encountered the GetRowset record not found in scroll level error before. Here's a screenshot:
This can mean a few different things depending on the context of the error, but in my example, I was trying to use GetRowset with the scroll context when in fact I was already in the right context.
What I mean is that I was trying this:
&rsSSR_CART_SUS = GetRowset(Scroll.SSR_CART_SUS);
In SSR_CART_SUS.GBL.SSR_CART_SUS.RowInit Component PeopleCode.
I'm already in the right context (in the SSR_CART_SUS scroll), so why am I trying to specify the scroll?
That's what the error is about. The correct syntax is actually:
&rsSSR_CART_SUS = GetRowset();
Remember that working with Component PeopleCode is all about context - think about where your code is in relation to the structure of the component.
