netsuite

What SQL Functions are Available in NetSuite saved searches?

我的梦境 提交于 2019-12-12 02:35:59
问题 What SQL functions are available in NetSuite saved searches (formulas)? 回答1: The following is a list of SQL functions (shown as example code) available to use in NetSuite saved searches as of September 2019. These saved searches do not allow all SQL functions so it is helpful to know what is available to work with. If you have a NetSuite account with access to SuiteAnswers you can follow this link to Answer Id: 10101. It took me a while to find this since it didn't show up in web searches. I

Can't access Restlet File in Netsuite?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 01:59:11
问题 I created Employee account called user under Netsuite admin account When i call restlet method using user account credentials doesn't give any response.(empty response) but when i call restlet method with same request using Admin account credentials it returns the expected response. My Suspect: user account credentials can't access the restlet script because it doesn't give any response if i give correct script id & deployment id it return empty response. if i give wrong script id or

How to set a field's value on the view mode of a NetSuite custom record, using client script?

夙愿已清 提交于 2019-12-12 01:47:36
问题 I have a doubt about the nlapiSetFieldValue and nlapiGetFieldValue methods on NetSuite API. Do these methods work somehow on client script, when the record is in view mode? I'm having a hard time getting and setting any fields values without accessing the DOM elements directly. Here's what I'm trying to achieve: I have a process running in background, and on a custom record's view mode I have a button to check its status. When the status changes, I only need to refresh one field with its

NetSuite - Check if user is properly logged

拜拜、爱过 提交于 2019-12-12 00:27:24
问题 I have a little question. I am working with NetSuite eCommerce and I need to check something, my site runs a script when user is logged, but sometimes it asks for a login even when still getting NetSuite Attributes. Something like this: var loginEmail = "<%=getCurrentAttribute('customer','email')%>"; if(loginEmail==null || loginEmail=="") { $("#cart").hide(); } else { $("#cart").show(); } Do you know a specific NetSuite attribute or tag that I should be calling/using? 回答1: User sessions do

How to find out what fields are referring to a NetSuite custom field

故事扮演 提交于 2019-12-11 20:11:59
问题 I have a problem deleting a custom field from a vendor in NetSuite. When I try to delete it I get the following error message. This custom field cannot be deleted because it is referred to by other custom fields I've looked at many of my other custom fields and columns but I can't find any that are referencing this one. Is there a way to find all fields that refer to a particular custom field? 回答1: This is because you might be using this custom field value some where else. I'm not sure if

Can system notes be accessed via web services?

拜拜、爱过 提交于 2019-12-11 18:08:35
问题 I am developing a Net Suite application based on web services (SuiteTalk). I have learned about the concept of System Notes, which are a journal of changes on all types of objects. Yet, I see no way to access the list of system notes (say last N notes) via web services. Are you aware if this is possible and how? If not, what would be an alternative solution? 回答1: I know you can do it via a RESTlet/Suitelet, not sure about web services. In JS you can do a search with a joint field on the

SuiteTalk Advanced Search Examples

心不动则不痛 提交于 2019-12-11 17:56:47
问题 I've only worked with NetSuite and SuiteTalk for less than one year. I've found examples of basic searches and advanced searches that leverage saved searches, but I had a hard time finding examples of how to perform an advanced search from scratch with criteria and selected columns in the result set. So I'm asking for examples. 回答1: I reviewed examples provided in the NSClientERP project downloadable from NetSuite. Here is a simplified example. service.searchPreferences = new

Formula for counting days since last stage change in Opp

别说谁变了你拦得住时间么 提交于 2019-12-11 17:23:21
问题 Creating formula on results tab to count the number of days since last Opportunity status change. I have a similar formula that I've used in a separate saved search to display opps that haven't changed status in over 60 days, but I cannot figure out how to adjust to just counting how many days it's been since last status update. have tried to use Formula(numeric)but am not sure that is the correct format? Should i be using Formula(date)? case when{entitystatus}={systemnotes.newvalue} and

Add two sublists in Suitelet side by side

懵懂的女人 提交于 2019-12-11 14:24:44
问题 I wanted to add two sublists side by side in netsuite using suitelet. however, when I do that the sublists appear top and bottom. Is there any solution for this.I want the output as in the screenshot. var newTab = form.addTab({ id : 'matchedtab', label : 'Matched' }); var nMatchedList = form.addSublist({ id: 'custpage_matched', type: serverWidget.SublistType.LIST, label: 'Matched',tab:'matchedtab' }); nMatchedList.addRefreshButton(); nMatchedList.addField({ id : 'custpage_tr_cleared', type :

NetSuite Invoice Creation MLI_LOCATION_REQUIRED but invoice.location unsettable

孤者浪人 提交于 2019-12-11 12:26:21
问题 Seems like most people are using the PHP Toolkit for NetSuite webservices interaction; I am not, but I'll paste the SOAP encoded request/response in the hopes someone can help (cough Suite Resources cough). I'm trying to create a new invoice with a single invoice item. I get the error: Multi-location Inventory Error (MLI_LOCATION_REQUIRED): this transaction or its items must have locations. However when I try to set the location on the invoice itself I get the error: You do not have