Lookup evaluation error

While trying to create a transaction record in NetSuite with greater than 300 line item having dynamic lookups for the line item mappings can give the following errors:

  • NetSuite error: script execution usage limit exceeded

  • IO error: Failed to evaluate lookup

Do the following to resolve:

  • Reduce the dynamic lookup count in mappings/import by creating new export lookup for the same record type used in dynamic lookup.

  • Modify mapping configuration to convert dynamic lookup to static lookup.