My Stuff
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more
Comments
-
You can either pop an alert() which will interrupt the script but display the message to the user, or you can do a "throw new nlobjError(TITLE,MESSAGE)" The second approach is probably best. Just so long as you understand that in any case whatsoever, the second you pop a message to the user, the script ends.
-
iirc, you create a new file with the same name, same folder, and it overwrites the previous one. That's how you "edit".
-
There is no Department field on Customers. You'll need to create a custom field to hold this value first.
-
I don't see why not, I think Qty Committed is a column. Did you try and run into problems?
-
Don't really know. Entity IDs are optional however, you don't need to use them. I guess though that Entity ID is sequential for Customers, whereas Internal ID is shared across all entity types so you'd end up with weird gaps between your customer numbers.
-
CSV, Scripting, Web Services, etc. There is no non-custom way of auto setting external id. That wouldn't make sense considering the concept of external id anyway.
-
Debug traces are not dependant on the script being in Testing or Released.
-
That is the Entity ID or Entity Number. External ID refers to something else, which is basically a foreign primary key you can provide to records, typically to store the primary key of the record from your legacy system, or any other important external system. the distinction is important because Internal ID and External…
-
Did you verify the script is set to Released, that All Roles is ticked in and it it Run as Admin?
-
Huh. Saw something mysterious like this as well. However, we had mass deletions going on at the time, so we couldn't totally disprove they weren't accidentally deleted (but we strongly suspect that was not the case). If you find out anything definitive please share.
-
This is Defect # 191735 - WS > add method > SOAP response returns success but record was not created or missing on the account It is currently an S1 defect.
-
change getText() to getValue() getText() only works with lists, not fields that are already text. Cheers
-
Alright, we are getting the same thing again. SOs get "created" but nowhere to be found. I'm opening a Case as well, I'll let you know if anything comes out of it.
-
I just ran into the cached saved search problems for Web Services as well. Good thing I knew about it from this thread, thanks guys.
-
While you can get to Worksheets from Searches, there is no way to output the full information (qty as of / new quantity). There is only the "quantity" field and I forget which of the two that is - I think it's new quantity. You can get the internal id though.
-
Are you using multi location inventory? If so you must set these values at the location level, not body level.
-
edit: nevermind
-
Contact you Netsuite Sales Representative
-
This thread may be of interest to you.
-
Try alert(err.message) err is an object, not a string.
-
Hi Ryan, Go to Setup->Accounting->Accouting Preferences->Items/Transactions and tick in "Allow Purchase of Assembly Items"
-
My application is Externel and is not hosted in netsuite website. from my application is it possible to to extrat the data using suitescript API??? No, you must be within a valid Netsuite page to use the Netsuite javascript APIs. External applications hosted on other servers cannot use them.
-
Do your items have transactions of any kind?
-
Edit: Just noticed this for WS, nevermind.
-
AH HA! By changing my response reading code to: for(int statusIndex = 0; statusIndex < response.getStatus().length; statusIndex++) { System.out.println((response.getStatus())[statusIndex].getMessage()); } I was able to read that "Unsubscribe is mandatory". And by then setting that, I was able to create my Customer.…
-
What package is that List supposed to be under?
-
I'm working on this code with Mathieu - Long - we set the internalid of components of the adjustment - like item, account, location, etc - not the adjustment itself. I don't see how that could be wrong (the example tchan gave did the same, albeit differently). Also, let me point out the core of the error, since it was…
-
All I have in that is InventoryAdjustment and InventoryAdjustmentInventory.
-
Long, As far as I can tell, the class InventoryAdjustmentInventoryList does not exist. We are using the most recent wsdl (2.6).
-
Well, right after posting this I had a stroke of genius and figured it out. The NS documentation failed to say you have to specify your output directory for the java files you are generating. The command line is thus: java -cp "%AXISCLASSPATH%" org.apache.axis.wsdl.WSDL2Java -o c:\output_folder…