My Stuff
Comments
-
You may find them in the sample applications for Java: http://www.netsuite.com/portal/developers/resources/suitetalk-sample-applications.shtml
-
Hi, this is the URL of the WSDL and it should be the URL of the service. You may try with that: NetSuiteBindingStub stub = (NetSuiteBindingStub) new NetSuiteServiceLocator().getNetSuitePort(new URL("https://webservices.na1.netsuite.com/services/NetSuitePort_2014_2"));
-
Hmm do you have the same message when creating a customer in the UI? Try setting its Sales Territory in the UI, and then check what's the resulting territory internalId and then in your code try with this resulting internalId. "1" or "2" may not be allowed values for that specific customer. InternalIds may be negative like…
-
Hi, Same code would work for territory. Here's a shortcut: customer.setTerritory(new RecordRef(null, "1", null, null)); Regards, Daniel
-
Looks like a OneWorld account. From readme file: "Note: Not all operations are supported for OneWorld accounts. Some operations may not work depending on your account configuration." So it's because to create a customer in a OneWorld account, a subsidiary is expected. You may modify NSClient.java, addCustomer() method to…
-
This is most likely caused by a user-event script deployed in NetSuite on the customer record. You may want to check what's custentity27 and investigate from there.
-
I just tried the sample application 2014_2 and it works fine. When you start the application, you'll see "Using Classpath:". Check in the following lines if there's any reference to 2014_1. You see "build.generated" and "build" folders, ensure that there's no 2014_1 code under these folders. Starting with a fresh copy of…
-
Hi, The 2014_1 libraries are probably still being referenced in the classpath. Clear your classpath out of any 2014_1 reference, and ensure the 2014_2 classes are there.
-
Hi, If you really want to use SuiteTalk, there's a sample application here: http://www.netsuite.com/portal/developers/resources/suitetalk-sample-applications.shtml Look for ERP or CRM sample applications and then click "Download Java". This is a sample application calling NetSuite. You can package the .class files into a…
-
Hi, The information and examples can be found in the NetSuite help, under SuiteCloud (Customization, Scripting, and Web Services) --> SuiteScript --> Understanding NetSuite Script Types --> RESTlets I think this is what you are looking for. In short, you deploy your script in NetSuite, and then you'll get a URL to interact…
-
Hi, Once you loaded / created your entityRecord, you can call: entityRecord.setFieldValue('custentity25', '242');
-
Hi, this changed this year to: Customization -> Scripting -> Scripts -> New
-
Hi, one thing that seems problematic is that the URL should be: https://webservices.na1.netsuite.com/services/NetSuitePort_2014_1 instead of just https://webservices.na1.netsuite.com/ But it's strange that you're using a WSDL generated client, so it should call the appropriate URL directly. Let me know if you can change…
-
Hi, I can't see your attachment.