This topic contains 2 replies, has 0 voices, and was last updated by 3ksys 9 years, 4 months ago.

  • Author
    Posts
  • #2144

    3ksys

    Hi,

    I am trying to speed up the following script trying to avoid using nlapiLoadRecord()…but I could not find a similar instruction to get more than 1 record. It would be great if nlapiSearchRecord return a list of records instead of objResult.

    for (i=0;iThis is a cached copy. Click here to see the original post.

  • #2145

    JohnCCole

    You could do one search to get the invoice id’s and then a second search to get the invoice details and pass that to the template which would saved 10 units over load record but regardless at that volume a schedule script will likely never complete in one run. You would have to write to a temp file so you can append to what you have already processed. Also isn’t there a file size limit when you generate the final PDF of 5MB would 5000 invoices and all there details go over that limit.

  • #2146

    3ksys

    Thanks John, I will try!

    Yes, I need to take into consideration the 5MB size limit…I forgot that!

    regards,

    Pablo

You must be logged in to reply to this topic.