This content has been marked as final. Show 2 replies
Perhaps you can add a line to use SetViewMode for the Business Component?
Probably something like: productSBC.setViewMode("AllView");
Put this line just above the clearToQuery.
Setting the view mode to "AllView" helped.
Thanks for the lead!
In the end, I also had to invoke the business component method SetAdminMode with "true" as the argument so that I could also modify the records from my script.