Watz
09/23/2020, 6:55 PMnew nlobjSearchFilter('internalid', 'custcol_related_record', 'anyof', ['1234','...','...'])
compared to:
new nlobjSearchFilter('custcol_related_record', null, 'anyof', ['1234','...','...'])
It is a transaction search on invoice-rows and there are over 25 million lines (including head/tax/etc)
The join is to a custom record with over 15 million records.
Which one would you expect to be faster?battk
09/23/2020, 7:02 PMnew nlobjSearchFilter('custcol_related_record', null, 'anyof', ['1234','...','...'])
, the way you present it means i guess new nlobjSearchFilter('internalid', 'custcol_related_record', 'anyof', ['1234','...','...'])
Watz
09/23/2020, 7:04 PMnew nlobjSearchFilter('internalid', 'custcol_related_record', 'anyof', ['1234','...','...'])
works, while the other one times out/takes around 3-4 minutes in a scheduled script.Watz
09/23/2020, 7:05 PMWatz
09/23/2020, 7:07 PMbattk
09/23/2020, 7:08 PMWatz
09/23/2020, 7:09 PMWatz
09/23/2020, 7:10 PMbattk
09/23/2020, 7:10 PMbattk
09/23/2020, 7:10 PMWatz
09/23/2020, 7:12 PMPNJ
09/23/2020, 7:27 PMPNJ
09/23/2020, 7:27 PM