Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Account Search Problem (subaccount), Help pls!
It appears we can't search accounts by acctname if "the account" is a sub account of other accounts.
let's say we have 2 accounts:
1) 1000 Sales
2) 1001 Sales - Fuel (sub account of 1000 Sales)
I code something like the following:
Dim coaSearch As New AccountSearch Dim coaSearchBasic As New AccountSearchBasic With coaSearchBasic .name = New SearchStringField() .name.operatorSpecified = True .name.operator = SearchStringFieldOperator.is .name.searchValue = "Sales - Fuel" .number = New SearchStringField() .number.operatorSpecified = True .number.operator = SearchStringFieldOperator.is .number.searchValue = "1001" End With coaSearch.basic = coaSearchBasic Dim rr As SearchResult = Me.NsService.search(coaSearch) If rr.status.isSuccess Then rr.recordList.Length = 0 ????? end if
The end result is not what i expected, if i search by acctnumber, i got one result;if by acctname, zero.
0