netsuite

Renaming Custom Preferences in NetSuite

点点圈 提交于 2020-01-05 04:36:18
问题 I've got some parameters creating custom preferences in NetSuite. By default they are grouped in a General heading under custom preferences. However I see other bundles have their custom preferences grouped (pic attached). How do I group my preferences in my own "named" section?? Thanks in advance. 回答1: As far as I know there is no way to do that. NetSuite automatically does the grouping for the preferences when you install the bundle. What you can go is create a bundle of your preferences

NetSuite - SuiteTalk - PHP - Install

折月煮酒 提交于 2020-01-04 00:05:52
问题 I would like to build a gateway between a web-store (PHP) and Netsuite using SuiteTalk. I am working on Ubuntu 14.04 and would like to set up the environment for testing. Apache/2.4.7 etc.. is already up and running. Website is working. Could someone give me an idea of the first steps I will need to go through in order to be able to develop and test the communication between my web application (PHP) and Netsuite. Is a direct connection to Netsuite necessary at all? Is there a NetSuite sandbox

Script to get Netsuite Advanced Inventory Serial Numbers

冷暖自知 提交于 2020-01-03 04:30:28
问题 I'm trying to get the serial numbers from a Fulfillment record in a Netsuite account that is using Advanced Inventory (unlike the Netsuite regular inventory system, Advanced Inventory stores the serial number in a subrecord to the transaction record). I've tried using the example that Netsuite provides and I get a NULL response. I've tried accessing an existing Saved Search and I get the wrong fields (the Saved Search works fine from the UI). Does anyone know what the trick is? Here's the

Formula in Netsuite Saved Search

笑着哭i 提交于 2019-12-31 03:46:07
问题 I have a problem here. In Column 1 I have count of All he transaction, In column 2 I have Count of transaction of specific status. In column 3 I want the percentage of above 2; like count of specific transaction/Count of total. Is it possible in Netsuite? 回答1: Actually there is an interesting feature that makes this possible. Formula fields that have aggregate functions work when the row has an aggregate on it. So for instance if you wanted to see a percentage of orders with status Billed on

Send Email Checkbox on Attendee Sublist user event script

[亡魂溺海] 提交于 2019-12-25 15:44:09
问题 In NetSuite I have a custom record for keeping track of our safety meetings, from the record, I have a user-event script, BEFORE SUBMIT FUNCTION, running to create an event record. On the Event record -> attendee sublist, I am able to add the attendees, but I am unable to set the sendemail checkbox. Any insight would be appreciated. /* user event script before record submit creates a new event record based off this safety meeting record. */ function createSafetyMeetingEventRec(type){ if(type=

Creating a SalesOrder within NetSuite with Item Groups

 ̄綄美尐妖づ 提交于 2019-12-25 09:46:34
问题 I am looking to integrate with NetSuite from an external quoting system. Everything works fine if I use standard Non-Inventory Items and I am able to create a Sales Order. The problem that I run into is when I add a line that is an Item Group, it instantiates a new copy of all of the items that are part of that Item Group which do not have all the defaults needed to properly save. I have tried to extract a SalesOrder that I had manually created in NetSuite with Item Groups, and then map that

Transform sales order to invoice error

杀马特。学长 韩版系。学妹 提交于 2019-12-25 09:41:43
问题 I'm having an error when I try to transform a newly created sales order to an invoice. Here's my code: define(["N/log", "N/email", "N/record"], function(log, email, record) { function afterSubmit(scriptContext) { var newOrderId = scriptContext.newRecord.id; var objRecord = record.transform({ fromType: record.Type.SALES_ORDER, fromId: newOrderId, toType: record.Type.INVOICE, isDynamic: true }); Here's the error details: Account: 3671783 Environment: SandBox Date & Time: 6/28/2017 2:09 am

Transform sales order to invoice error

*爱你&永不变心* 提交于 2019-12-25 09:40:38
问题 I'm having an error when I try to transform a newly created sales order to an invoice. Here's my code: define(["N/log", "N/email", "N/record"], function(log, email, record) { function afterSubmit(scriptContext) { var newOrderId = scriptContext.newRecord.id; var objRecord = record.transform({ fromType: record.Type.SALES_ORDER, fromId: newOrderId, toType: record.Type.INVOICE, isDynamic: true }); Here's the error details: Account: 3671783 Environment: SandBox Date & Time: 6/28/2017 2:09 am

Send info from Netsuite to Magento Api

蹲街弑〆低调 提交于 2019-12-25 06:31:56
问题 I am trying to send info from Netsuite to Magento, via Magento API. In a normal condition, I execute $user = 'user'; $pass = 'password'; $url = 'http://example.hosting.com/magento/api/soap/?wsdl'; $webClient = new SoapClient($url); $webSession = $webClient->login($user, $pass); $result = $webClient->call($webSession, 'ApiMethod', 'data'); Buy I don´t undestand how make it in a Script of Netsuite. I found a method nlapiRequestURL, but I don´t understand how make the login and send the session.

NetSuite SuiteTalk - Retrieve Value String From “SearchColumnSelectField”

浪子不回头ぞ 提交于 2019-12-25 04:48:30
问题 Say you are trying to access a value from SuiteTalk that is returned as type "SearchColumnSelectField": ((TransactionSearchRow)row).basic.postingPeriod?[0].searchValue.name Note: I use postingPeriod as example, but there are many other records that return a "searchValue" of type "RecordRef" that have the same issue. This("searchValue.name") will be null, similar to the issue detailed here, but unlike with CustomFields I don't see any documented way of retrieving the lookup values based on the