Check that data.records isn't undefined or null before checking the number of records
Check that data.records isn't undefined or null before checking the number of records

pcon/jsforce,saleswise/jsforce,pcon/jsforce,saleswise/jsforce,saleswise/jsforce,jsforce/jsforce,jsforce/jsforce,pcon/jsforce,jsforce/jsforce