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
-
Perfect - Thanks!
-
Thanks, I went ahead and set that flag to T just in case that might be causing some effect. I believe that fields value is true by default already. Still seeing that quite a bit of orders are not displaying the ship to address and we cannot read it via scripting although it appears in searches. Netsuite support did not…
-
Thanks for the info. This still works for me (for updating): var r = nlapiLoadRecord('customer', customer_id); r.selectLineItem('addressbook', 1); r.setCurrentLineItemValue('addressbook', 'label', 'FooBar'); r.commitLineItem('addressbook'); nlapiSubmitRecord(r);
-
Hah - We were just discussing the alternatives a few minutes ago and came to the same conclusion. Thanks again.
-
I completely forgot about nlapi*() in before submit scripts heh. Unfortunately nlapiGetLineItemCount('locations') returns -1 instead of the true location count. I can probably get the value with nlapiLoadRecord(nlapiGetRecordType(), nlapiGetRecordId()).getLineItemCount('locations') as a workaround but why is this…
-
var date = nlapiStringToDate(nlapiGetFieldValue('shipdate')); if(typeof date !== 'NaN') { date.setHours(date.getHours() + 1); nlapiSetFieldValue('shipdate', nlapiDateToString(date)); }
-
Might have something to do with field sourcing on the shipcarrier field. Try loading the Sales Order record in dynamic mode: nlapiLoadRecord('salesorder', sales_order_rec_id, {recordmode:"dynamic"}).
-
If you have multiple shipping routes enabled on your account then record.getLineItemValue('item', 'shipcarrier', x) should work and return "nonups". If not, record.getFieldValue('shipcarrier') should work - not sure why it doesn't for you. What type of script is this?
-
At least now I know it's not just me. That'll suffice, thanks for the tip.
-
Yes it was for the NS GUI. The shipping cost field does survive multiple edits. See: nlapiGetLineItemCount nlapiGetLineItemText nlapiGetLineItemValue nlapiGetFieldValue('shipaddress') nlapiGetFieldValue('shipcarrier') nlapiGetFieldValue('shipmethod') nlapiSetFieldValue('shippingcost', response_data.price, true); Also, you…
-
Thanks. I got it working by adding an action button that grabs product sku/quantities, ship-to address and shipping method/carrier then calls nlapiRequestURL() and enters the result into nlapiSetFieldValue('shippingcost').
-
How do I find out more information about this defect? When was this defect created and what is the expected time to resolution?
-
Hi , I am trying to do something similar using the phptoolkit and wsdl.. Do you have a sample of the code (whatever language) that you used? Thanks
-
Any Luck With This? I am doing something very similar with no success as of yet.. Basically, I have a custom multi select field for "Order Source" which is tied to a custom list of possible values( amazon, ebay, phone etc..) I need a web services call using the anyOf operator and have multiple selected values as my result…
-
Now that promotions can be set to apply to a saved search for items. Is it possible to create this type of promotion via web services?
-
https://status.netsuite.com/ is not a reliable source
-
We are getting a large amount of "Unexpected Errors" in our scripts as well. This started happening shortly after 3pm ET . We have made no changes. Cannot file a support case
-
We are noticing the same. There seems to be something internal to Netsuite based around shipping/ fulfilling