For example, a Customer record has an External ID of "Ext-entity-jeff-12345", the search format should be:
var s = nlapiSearchRecord(
'customer',
null,
[new nlobjSearchFilter('externalid', null, 'is', ('Ext-entity-jeff-12345').toUpperCase() )],
[new nlobjSearchColumn('firstname')]
);
No comments:
Post a Comment