Alright I've noticed that occasional when I do a saved search in Netsuite, or run a search in suitescript that it returns duplicate records. The only difference that I can see is the memo field. Is it showing the 3 records because it saved the other versions with different memos? Can I turn that off or filter it out?
Here's example pic of Saved Search.
Now for the suitescript
var filter = new Array();
var d = '3/8/2016';
var date = nlapiStringToDate(d);
filter[0] = new nlobjSearchFilter('trandate', null, 'on', date);
var search = nlapiSearchRecord('salesorder', null, filter);
Here's what the result search array looks like.
Now as you can see It returns each internal id 3 times. Any help would be appreciated.