Hi All, general performance issue question for an ...
# suitescript
g
Hi All, general performance issue question for an item receipt script we have running. We currently have a scheduled script that runs every 15 mins to create item receipts for widgets processed in the last 15 min. we max out during busy season at receiving 7,000 widgets a day. This widgets all have serial numbers and we are using serialized inventory and have advanced inventory. Is there any performance issue why we cannot receive a widget as soon as it has been processed opposed to waiting for the 15 min schedule to run? reason we are asking is due to inventory issues this is causing and we are trying to rectify
b
not really enough information given
my guess is that you want to move the logic to a user event script
or maybe a restlet depending on whatever processes widgets
either way the performance cost for creating the item receipt will be moved from the suitescript processor queue to somewhere else
you need to evaluate how much performance your logic costs and if you can afford to move it
usually that means timing the code you are planning to move
if your code uses lots of governance points per record, you may also need to calculate that, but honestly any code that requires that is probably inappropriate to move without a rewrite
g
Thanks for the response i will test in sandbox and see what i get. I need to rework the code anyway just wanted to confirm my suspicions