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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Question on the proper use of dateCreated.
I will be expanding my search to include only sales orders within a specified date range. Does anyone have any information regarding the proper use of the member dateCreated?
//Start TransactionSearch xactionsearch = new TransactionSearch(); //// //// SearchEnumMultiSelectField soField = new SearchEnumMultiSelectField(); System.String[] searchValueStringArray = new System.String[1]; //// ////Do setup to search for a sales order soField.@operator = SearchEnumMultiSelectFieldOperator.anyOf; soField.operatorSpecified = true; searchValueStringArray[0] = "_salesOrder"; soField.searchValue = searchValueStringArray; //// ////A basic search for the transaction type sales order TransactionSearchBasic xactionBasic = new TransactionSearchBasic(); xactionBasic.type = soField; ////TransactionSearchBasic.dateCreated??? //xactionBasic.dateCreated = ; //// //// //We are doing a basic search xactionsearch.basic = xactionBasic; //Get results SearchResult res = _service.search(xactionsearch); if (res.status.isSuccess) { Console.Write("Alert Sepy!"); }
0