I am trying to have a script run through the portal and if the stock counts don't match to put them in single field to see all the ones that don't match before committing count change. Here is what I have so far. From what I can see, the script will set the field with the last record collected and then exit the loop.
Any help would be appreciated! Thank you.