プロフィール

Avatar
ロック解除可能なバッジを表示 ロック解除可能なバッジを表示

censys_sl · Partner with Centricity Systems providing NetSuite solutions and integration since 2003 · Silver Medal

コメント

  • Try nlobjError instead of nlobjScriptError Thanks, -e Hi Evan, That seemed to work. Did this change? Because I had the other (nlobjScriptError) and have had no errors or problems until recently. Thanks. -Steve
  • According to SuiteScript reference, 'name' would make sense but name is a select field and may be looking for the name (text string) of the customer not the id (integer). Possible are: 'entityname' which is equal to the text name of the customer, or 'companyid' which is equal to the customer id of the customer. neither of…
  • There are several different functionalities requested on this thread under the fairly broad umbrella of custom login capability. At least some of these may be achievable by using the existing UI to UI Single Sign On feature. It basically allows you to host your own login page at your own hosting location as long as you…
  • Problem still exists. Sorry but this is getting quite painful. Beginning to seriously question QA before releasing updates to production. This was working fine for over a month and then suddenly is not. That is way to high maintenance for me. Has anyone else seen these problems arising? -Steve
  • This method is a grave security risk which is why we want it discontinued immediately. We are working hard to provide an alternative mechanism via templating. Thanks, -e Evan, Why can't NetSuite offer a wrapper of sorts. Perhaps a HTML file in the file cabinet that has a login tag (e.g. <%get_attribute ...login..%>) and is…
  • Steve, I now see that we are talking about TWO different things. Our customers already get a branded log-in at ... this web page. I believe that we have the expensive "site customization module" that you talk about. Our problem is that even with all of the NS bells and whistles, we can't give our PARTNERS and VENDORS a…
  • However, I represent the interest of security for NetSuite's customers. Wrapping the NetSuite login page with your own login page is a very poor security design decision and violates your terms of service. You are putting your own customers' and vendors' credentials at high risk of being phished, sniffed, or otherwise…
  • I didn't read through this whole thread, but i've developed a solution a few years back and still works. www.exploreconsulting.com (this site is not hosted with NetSuite) Click employee portal at the top right. Enter an invalid password and see what happens...
  • Same problem with an invalid password though....I might be able to get something to kick though. We've solved this already (I have using PHP code to manage). But it has already broken for me in the past since it is code not managed or supported by NetSuite. The main issue is not trying to find someone with a code solution…
  • The form redirects work fine as long as your user enters the right info (no typo). If they accidently enter an invalid email address or password, you don't know this locally and need NetSuite to authenticate (attempt anyhow). When authentication fails, NetSuite sends the user to a NetSuite branded "re-enter" page. We did…
  • Sounds like very reasonable enhancement to the customer center... In any case, I just sent out an email to the E-commerce team. They'll be able to better evaluate and prioritize this request. Someone should get back to you shortly. Thanks for your feedback. Thanks, Yang Hi Yang, I have not heard from anyone - either on the…
  • the code for customer logout and login that comes with the netsuite website works a trea - and fully customisable - I see NO issues ?? OR Just post the url https://system.netsuite.com/pages/login.jsp as a ref in your HTML code and it works Hmmm.... 1. NetSuite logo. Branding police for most companies would be up in arms.…
  • I think this post should probably be in the Web Site/E-commerce section (https://usergroup.netsuite.com/users/forumdisplay.php?f=20) Thanks, Yang Yang, Wherever it needs to be to get the focus... We ***REALLY*** need this. Customer Experience is ridiculous if we need to send them to netsuite to login and send them to…
  • Steve brings up a good point. We used iFrame to add a vendor/partner log-in at http://www.signsdirect.com and if a vendor or partner was ALSO a NetSuite user ...what would happen? How would NetSuite know that they were attempting to log into our store and not their own store? Also, if they were partners or vendors of…
  • Hope this helps. -Dan Tremendously. I went ahead and just took a chance on what I thought it was and got the same results. Thanks for the quick reply. One interesting note, however relevant to anything. I ran this on an external sales order from the customer center and used getEmail method. It returned the company email…
  • Does anyone have any examples of nlapiGetContext? The documentation makes no sense to me. Arguments: nlobjContext Returns: nlobjScriptContext object: returns context information (metadata) about current user and script execution Then you go to the Objects section and: Object: nlobjContext Methods - Return Value: getName()…
  • In response to your questions about the disappearing <html> tags. Are you putting the tags in your template itself or in the SuiteScript? In the template.
    nlapiMergeEmail censys_slによるコメント Mar 29, 2007 4:00PM
  • nlobjContext.getEmail() should always return the same value for a given login session. Thanks, Yang OK, but the point is, it did not. It returned the company email versus the user login email depending on whether I was running it on the "Make Payment" event or "Enter Sales Order" event. Also, is there a way to pull up the…
  • Hmm.... I suspect your problem is that your case status filter is filtering using the case status name. Change the filter value to use the case status internalId instead. Lemme know how it goes.. Thanks, Yang Yang, That was the problem. Script has run successfully. Thanks. This was a painful process of elimination for…
  • I discovered the problem was that the template did not have the <html> tags. Another question regarding nlapiSendEmail using nlapiMergeEmail: I now am able to merge the message body, and I can dynamically pull the TO and FROM fields as well. How can you pull in the SUBJECT line from a template as well? Any thoughts? Thanks…
    nlapiMergeEmail censys_slによるコメント Mar 29, 2007 2:05PM
  • Thought that was a property of the error object (javascript error object, not Netsuites)? Am I missing something concerning catching errors? Javascript 1.5 Error Object Properties: constructor: Specifies the function that creates an object's prototype. description: Error description/message (IE only). fileName: Path to…
  • OK, script ran last night with same problem. Dropping out at line 94 which is the SearchRecord function. Here's the execution log with the new error handling function in place. Even though I have the checkbox for email script owner on error, it is not emailing me anything, and the fact that the script completed (because…
  • Perhaps you could do something like: if ( einstanceof nlobjScriptError ) errMessage = e.getCode() else errMessage = e.message Yes I think that will work -- cleaner also. In the future we could consider exposing those properties in nlobjScriptError to make this sort of error-handling a bit more interoperable with core…
  • Strange. Try wrapping the search request and the request for the record in a try:catch, display the error to the execution log. It may help debug it. I added a debug to catch the line number. Evidently the search filter did not like the date value as a string being passed, at least not the way I did it anyhow. When I took…
  • Try dumping out e.getCode() and e.getDetails() in your error handling block. Also, you should've received an error notification email. Thanks, Yang I had email to script owner checked but did not receive any errors. Here is my csiWriteToErrorLog function. I thought I was letting e.getDetails() dump out, but maybe the codes…
  • D'you happen to recall what value nlapiDateToString() returned? It didn't. It errored with: 'TypeError: Cannot read property "8.0" from undefined' or 'TypeError: Cannot read property "9.0" from undefined' I had four places I called the function and it errored in all 4 places. I had two different date objects that I passed…
  • Did you pass a JavaScript Date object as an argument in your call to nlapiDateToString()? Thanks, Yang Yes. I've used this function successfully on client-side scripts.
  • To cover all bases, is the for loop 'it' variable initialized in your code? I've had strange things occur when this has not been (e.g. for(var it=1,...) ).
  • I also recommend always checking if a search completed and providing a workaround or at least capture the error. Good recommendation. Will make that a point going forward The script was probably only running for you. Check your deployment. It may be limited to owner. Yeah, I checked that and it is deployed to All Users.…
  • use nlapiDateToString which takes a javascript date and returns a string in the user's chosen date format, suitable for nlapiSetFieldValue. Thanks, -e Was wondering about that. Note that documentation doesn't describe that as the purpose and I thought it just took a javascript date object and returned it as a date string…