Hi, I have a script that sends a PDF for each invo...
# suitescript
a
Hi, I have a script that sends a PDF for each invoice selected on a SuiteLet. I am running into a Script Execution Usage Limit Exceeded error. Are there ways around this type of error? Possibly I am asking a loaded question without giving far more detail, but just curious if this is a hard block or there are ways around governance limits
b
common responses to running out of points are to use less, split your workload better, or delegate to dedicated scripts like map/reduce or scheduled scripts
d
Depends how quickly you're hitting the governance limit. If you're only just reaching it, pass the invoice data to a restlet and let that do the processing, which will give 5x the governance limit of a suitelet. Beyond that, split the data into chunks and pass each in turn to a restlet, or switch to a scheduled or map/reduce script as battk says.