My Stuff
Comments
-
I think it is better to use an External ID/Handle if that is possible, but you should be able to use a name and hierarchy of parents as well. Regards, Wayne Wundram
-
Could you please give an example of a hierarchy that you feel can't be imported? Regards, Wayne Wundram
-
You need to escape special characters in your XML data like &. The escape characters are: 1. & - & 2. < - < 3. > - > 4. " - " 5. ' - ' Regards, Wayne Wundram
-
Hi, You will only be able to update between 200 and 300 at a time before your scheduled script times out anyway, so you will never hit the 500 records limit. I would put a processed custom field on the record to be updated and search for records that have not been processed. As you update the record, set the processed…
-
These are listed on page 21 and 22 of the Server SuiteScript Developer’s Guide. Regards, Wayne Wundram
-
This example was posted on the NetSuite Customer forum by Yang a NetSuite Employee: function demoRssPortlet(portlet) { portlet.setTitle('Custom RSS Feed'); var feeds = getRssFeed(); if ( feeds != null && feeds.length > 0 ) { for ( var i=0; i < feeds.length ; i++ ) { portlet.addLine('#'+(i+1)+': '+feeds[i].title,…
-
Hi Brian, None of the NetSuite credit card companies are available in South Africa, so we have developed an interface. On the order confirmation page we display a link to a Suitelet, that redirects to our credit card processor. The payment is made, and the credit card processor post details back to another suitelet. Ths…
-
Thanks very much.
-
Hi, Did you ever manage to resolve this? Regards, Wayne
-
In the POST section add: if (assistant.getLastAction() == "cancel") { assistant.setCurrentStep(assistant.getStep("***nameoffirststep***"));; nlapiSetRedirectURL('tasklink', 'CARD_-10'); return; }
-
Dear Benjamin, Thanks very much. That is exactly what I am looking for. Regards, Wayne
-
Thanks Oliver. That worked. Regards, Wayne
-
Thanks to Rongxin from NetSuite support for the solution. I need to set doSourcing to true in the nlapiSubmitRecord and not populate the 'giftcertapplied' and 'authcodeapplied'. So the code that works is: // Create the Sales Order var sorecord = nlapiCreateRecord('salesorder'); sorecord.setFieldValue('entity',customerid);…
-
This is what I have figured out so far: // Create the Sales Order var sorecord = nlapiCreateRecord('salesorder'); sorecord.setFieldValue('entity',customerid); sorecord.setFieldValue('exchangerate',1); sorecord.setFieldValue('giftcertapplied',-50.00); // Add Line sorecord.insertLineItem('item', 1);…
-
Does this still work in 2010.2? I have tried it on our Web Site, and I get the Thank you for you Order screen, and when clicking Continue Shopping, it takes me back to the Shopping page rather than my Suitelet. Thanks, Wayne Wundram
-
Thanks Yang, but I know the item and not the group, so how would I get from the item to the group, remembering that an item could be in more than one group. Thanks Oliver, their is a ingroup field but it doesn't tell me which group. If I have a SO with 2 groups, I need to update the items in the same group as the item ID…
-
Dear Mark, Should var request.getAllHeaders() be var myarray = request.getAllHeaders(); Regards, Wayne Wundram
-
We have triggered a Purchase Order in one partners application when a Sales Order is created in another NetSuite instance. In a User Event script on the Sales Order we create XML which we post to a message queue on our local server. We have Middleware what picks up the order from the message queue and creates the Purchase…
-
Does Talend do the WebServices call to NetSuite to add the Customer and Order? I looked at Talend a while back and couldn't get it to talk to NetSuite Webservices. Regards, Wayne Wundram www.mc2s.co.za
-
Try setting the ignoreReadOnlyFields preference. See page 38 of the Suitetalk Platform Guide. Regards, Wayne Wundram
-
Do you have any workflows on that Contact record? Regards, Wayne Wundram
-
Try adding this after your search to display the names of the columns: var columns = new Array(); columns = searchresults[0].getAllColumns(); for ( var j = 0; columns != null && j < columns.length ; j++ ) { nlapiLogExecution('DEBUG','Column', columns[j].getName() + ' ' + columns[j].getJoin()); } Regards
-
I developed this years ago before NetSuite nlapi XML functions existed so I just created the XML as a string like: var xml = '<?xml version="1.0" encoding="utf-8" ?>'+ '<message>'+ 'Hello World'+ '</message>'; Regards, Wayne
-
We built this by creating the XML in a server script and then posting this XML using HTTP to our own server using nlapiRequestURL. The XML is then passed to our ESB for further processing on our server. Regards, Wayne Wundram www.mc2s.co.za
-
The Javascript String object has a slice method to substring. Regards, Wayne Wundram www.mc2s.co.za
-
Yes there is an S1 Defect raised (291159).