1
[0] => Array
(
[id] => 1612
[phone] => 9638527410
[email] => [email protected]
[entityid] => dummy entity
........
[recordtype] => contact
)
[1] => Array
(
[id] => 1812
[email] => [email protected]
[entityid] => dummy entity0
........
[recordtype] => contact
)
.........
.........
我得到了像上面所有联系人的结果。但是现在我只想得到谁是电话号码。我试过如何使用RESTlet过滤Netsuite中的可用字段?
filters [0] = new nlobjSearchFilter('phone',null,'noneof','@ NONE @');.
没有成功。什么过滤器应该用来获得我想要的结果?
在此先感谢
的'noneof'和'anyof'搜索运算符仅适用于在NetSuite中列出/记录(选择)字段。 'phone'是一个文本字段,所以你需要像@prasun所指示的那样使用'isnotempty'这样的文本操作符。查看标题为“搜索操作员”的NS帮助页面,查看所有可能的操作员列表以及可以应用哪些类型的字段。 – erictgrubaugh
其工作正常。谢谢你soooooooooo多prasun和egrubaugh。 – Prabhu