My Stuff
Comments
-
We're looking into concurrent licensing (SuiteCloud Plus) to solve the same issue, so I am very interested in what you're experiencing. The help system states "NetSuite recommends the SuiteCloud Plus License to customers building external applications that expect a maximum of ten concurrent interactions (threads) with…
-
I built an api that does a poor mans way of tracking whether or not the session is in use in a db table. If it is in use, we wait until it frees. Usually about 1 to 2 seconds. If longer than ~30 seconds we error back on the second one telling that it is busy. Before call, set in use After call, set free. And a cron that…
-
Sorry Tect22, I do not code in php, but if you need to specify order status as specified, try adding: 'orderStatusSpecified' => true; and see if that helps. If it doesn't what does your SOAP request look like?
-
in C# you have to say orderStatusSpecified = true. Do you need to do the same in php?
-
Absolutely - If you click on help from inside of NetSuite you get the help center - if you expand SuiteCloud -> SuiteScript -> SuiteScript Functions -> Search APIs you will have a list of all the functions available for search. If you follow the option for nlobjSearchFilter you will get a list of the operators available…
-
Here is the code I use to do transaction searches: /// <summary> /// Executes a saved transaction search in NetSuite. /// </summary> /// <param name="searchId">This is the script ID of the saved search. </param> /// <returns>A SearchResult object containing the results of the search.…
-
Thanks for the info everyone - gives me alot to think about :)
-
try: CustomerSearchAdvanced custSearchAdv = new CustomerSearchAdvanced(); custSearchAdv.savedSearchScriptId = "customsearch_test_search"; CustomerSearchBasic custSearchBasic = new CustomerSearchBasic(); custSearchBasic.email = new SearchStringField(); custSearchBasic.email.@operator = SearchStringFieldOperator.notEmpty;…
-
I use C# personally, but what is the error? For what its worth, I wrote a quick method to add a PO - it is UNTESTED, and may not actually work, but it should illustration the basic steps required to create the record type. public void createPO() { PurchaseOrder po = new PurchaseOrder(); po.createdDate = DateTime.Today;…
-
I haven't used the php tool kit, but I have written methods in C# that grab available quantity from a user defined selection of locations. To support that functionality we created a new subtab within the item record that has a list of locations to search for inventory in. Then I wrote a method that uses the sku to resolve…
-
Hi ialan, short answer is yes. Are you having difficulties in doing so?
-
That was something I had considered, but ( and I should have mentioned this above ) running it on a web server is not an option.
-
For shipping carrier, it really is defaulted in the company setup ( setup > accounting > shipping ) However you have exposure to setting the ship method via the shipmethod field in both SuiteTalk and SuiteScript. (I don't think you need to change the ship carrier itself if you set the ship method. but if you do, and are…
-
Check out the sample applications located here: http://www.netsuite.com/portal/developers/resources/suitetalk-sample-applications.shtml
-
Hi Aditya, When you say "Pull data from webservices" what are you needing to do exactly?
-
Hi Roberth, I got an error message I compiled the code you tipped: Error 3 'NSClientERP.com.netsuite.webservices.Record' does not contain a definition for 'customfieldList' and no extension method 'customfieldList' accepting a first argument of type 'NSClientERP.com.netsuite.webservices.Record' could be found Can you post…
-
No problem, feel free to post any more questions you have on here - I am by no means a netsuite or C# guru, but I have been around the block with both of them a little bit and have no problem in sharing some knowledge.
-
Best of luck :)
-
Take a look at your web service logs, mirror the class structure that it shows and try again. The WSDL and XML response objects are your best friend when troubleshooting web service calls. Best of luck
-
The code I posted previously contained the answer to this :) if ( kitRecordList[j] is KitItem ) you can say foreach(Record record in result.recordlist) { if(record is InventoryItem){ //do something } if(record is AssemblyItem){ //do something else } }
-
And its working!
-
The nslog is only used for php scripts - for web services log you need either admin rights or full access rights. It is available via Setup -> Integration -> Web Services Usage Log
-
I'm not sure how common doing itemId searches are across the web service community, nor how much importance they place on them. I can think of a few use cases where this issue wouldn't impact day to day operations. Unfortunately it did impact our day to day and I am happy that its still working as I can now get caught up…
-
Item itm = new Item(); var myRow = (ItemSearchRow)row; var basic = (ItemSearchRowBasic)myRow.basic; var price= basic.basePrice[0].searchValue; Why are you using var? Try the following code: if (searchResult.status.isSuccess) { foreach (SearchRow searchRow in searchResult.searchRowList) { ItemSearchRow itemSearchRow =…
-
I received a response back from support stating they have received a number of cases for this issue and are currently determining if this is a defect. I'll be trying to run my program throughout the night and i'll post once i know if its working.
-
Try using a record list rather then a search row - The member item is a joined record so you will need to expose it to the NetSuite API. Once you have a record list you can iterate over the member items like this: foreach (ItemMember member in item.memberList.itemMember) { Console.WriteLine(member.item.internalId); } An…
-
Hi fulanku, Sorry for the late reply. To help with your loop, try this: //****************************************** TransactionSearch soSearch = new TransactionSearch(); SearchStringField soNumber = new SearchStringField(); soNumber.@operator = SearchStringFieldOperator.@is; soNumber.operatorSpecified = true;…
-
I had helped another member with saved searches in web services, check out that thread here for some tips and additional code samples: https://usergroup.netsuite.com/users/showthread.php?t=30554 However, what you will want to do is iterate over the returned record list from your search and grab the custom values you want.…
-
I'm still waiting for a response - I provided a number of examples so hopefully they can sort it out. The one thing that I noticed is that my request is the same today as it was two days ago, however 2 days ago it would return 1 match, now it returns over 1000 :h_a_w: My logs show that the first instance of this issue…
-
I would still avoid var types - even if to increase the readability of your code for others. If your just learning NetSuite it will be helpful to explicitly declare your variable types rather then letting .Net choose for you, that way you get a better understanding of whats going on. Did you try casting the object into…