Articles written by Manuelito Macalinao
Articles written by
Manuelito Macalinao
Script To Update Multi-Select Field on Save
The article applies to a very specific scenario, but it also demonstrates how to useSuiteScriptto set values on Multi-Select Fields in NetSuite.
Retrieve Values for Multi-Select Field Being Return by nlapiLookupField
Using nlapiLoadRecord then nlobjRecord.getFieldTexts function to retrieve multi-select field selected values will return an array. However this is not the case when you try to retrieve values using nlapiLookupField as it will return String values.
Send Email to Multiple Recipients from a Multi-select field via Workflow
If a user retrieves the value from a multi-select field, it will be in an array.Send Email actionon the other handis similar tonlapiSendEmailAPI which states that a valid recipient it will accept should be any of the following:
Transfer Values from a Multiselect Field to Another Custom Multi Select Field via Script
To be able to transfer values from a field to another field via script.
Retrieve Values from a Multi-Select Field via Scripting
If multi-select custom field exists on a sales order, the values should be retrieved that are present on an existing record.
List of Time Zone IDs for Scripting
Developers may need to use internal IDs of the time zone depending on their business needs.
Best Practices for Designing HTML Templates for Use with Marketing Campaigns and Email Templates
Best Practices for Designing HTML templates for use with Marketing Campaigns and Email Templates.
View Company URLs for Services in This NetSuite Account
You can view the URLs for all NetSuite services for this account on the Company URLs subtab. The information shown on this subtab is not editable, it is provided for your convenience. Developers and other users in your account may need to know the account-specific URLs for a particular service. The URLs are unique to each account, so the URLs for your sandbox accounts and your Release Preview account are different from the URLs for your production account. Log in to a specific account to view the unique URLs for that account.
Enter Company Address Information
You can define separate shipping and return addresses, in addition to the main address defined for your company. If you do not define a separate shipping or return address, it defaults to be the same as the main address. You do not need to define a billing address at the company level. Billing addresses can be defined on transactions as needed.
Enter Basic Company Information
Enter the information about your company to be used for this NetSuite account.
Configuring Company Information
The Company Information page is where users with the Administrator role, or with the Set Up Company permission, can enter basic identifying information for an account. See the following topics for more information:
Setting Up the SFTP Connector SuiteApp
Make sure the following features are enabled in your account prior to installing the SFTP Connector SuiteApp:
SFTP Connector SuiteApp
The SFTP (Secure File Transfer Protocol) Connector SuiteApp enables you to directly transfer your payment files from NetSuite to your bank servers. You can also download files from your bank server to NetSuite. The SuiteApp establishes an SFTP connection between your NetSuite account and a remote SFTP server.
Unexpected Error Encountered When Connecting to SFTP Server Using SuiteScript
When connecting to SFTP server when using N/sftp module, users can get unexpected error.
Setting up an SFTP Transfer
Follow these steps to successfully connect to your SFTP server with SuiteScript:
Supported SuiteScript File Types
SuiteScript has two types of file objects: previously existing files in the NetSuite File Cabinet, and on demand files created using SuiteScript API calls such asfile.create(options)orConnection.download(options).
Supported Cipher Suites and Host Key Types
SFTP connections are encrypted. For security reasons, NetSuite requires that the server to which a connection request is being made supports at least one of the following ciphers aes128-ctr, aes192-ctr or aes256-ctr. The preceding cipher specs refer to the AES cipher in Counter stream cipher mode using 128,192 or 256 bit key sizes.
SuiteScript - Troubleshoot SFTP Connections and Errors
When using the N/sftpSuiteScript 2.0Module in NetSuite, problems may be encountered during the development of Script that will use it. Therefore, is highly recommended to verify all the necessary settings and possible limitations when using this Module. Below are some considerations that need to be taken with the N/sftp Module. These are good practices which we strongly recommend to be taken when using this Module.
SuiteScript Throwing MUTUALLY_EXCLUSIVE_ARGUMENTS Error During SFTP Connection
When there is a use case to send 2 types of authentication at the same time, the below code throws error MUTUALLY_EXCLUSIVE_ARGUMENTS.
Invoke a Script Function from Another Script Referenced as Script Library
User can call (invoke) a Script library function by another script packing the generic functionality of the code as Library.