title: Replace forEach google script
body: <p>I want to replace the forEach function for me to break the code in case i don't have a customer with an order.</p>
  <p>Current code:</p>
  <pre><code>customers.forEach(function (customer) 
  {
    ss.toast(`Creating Invoice for ${customer.name}`, APP_TITLE, 1);
    let invoice = createInvoiceForCustomer(
      customer, products, transactions, invoiceTemplateSheet, ss.getId());
    invoices.push(invoice);
  });
  </code></pre>
  <p>Code I'm trying to make:</p>
  <pre><code>    for (var i=1 ; i&lt;=custlastrow ; i++)
    {
      if (customers.ordenes == &quot;No&quot;)
      {
        continue; // Skip current iteration... 
      }
      do the other part
    }
  </code></pre>