This script is used to auto populate the transit time details in item fulfillment record based on the change in the shipping carrier. The deatils are fetched from FedEx and UPS API. function (https, log, record, search) { /** * Function to be executed when field is changed. * * @param {Object} scriptContext * @param {Record}… Continue reading Client script to auto populate the transit time details in item fulfillment record based on the change in the shipping carrier.
Category: NS Integration
All articles / code related to Netsuite integration
User event script to auto populate the transit time details in item fulfillment record.
This script is used to auto populate the transit time details in item fulfillment record. The details are fetched from FedEx and UPS API. While clicking the Fulfill button the transit time details are populated below the Shipping Subtab. (https, log, record, search) => { /** * Defines the function definition that is executed before record… Continue reading User event script to auto populate the transit time details in item fulfillment record.
Script to auto populate the access token in FedEx and UPS Integration custom record in NetSuite.
A map reduce script to auto populate the access token in FedEx and UPS Integration custom record in NetSuite. This script can be scheduled to execute in 1 hour for getting access token from FedEx and UPS API. define([‘N/https’, ‘N/record’, ‘N/search’, ‘N/log’, ‘N/encode’], /** * @param{https} https * @param{record} record * @param{search} search * @param{log}… Continue reading Script to auto populate the access token in FedEx and UPS Integration custom record in NetSuite.
Create Integration Records for Applications to Use OAuth 2.0
Before users can authorize an OAuth 2.0 application, an integration record must be created, or edited for the application. Administrators or users with the Integration Application permission can create, or edit integration records. For more information To create an integration record for an application: Go to Setup > Integration > New. Enter a name for your… Continue reading Create Integration Records for Applications to Use OAuth 2.0
Enable the OAuth 2.0 Feature
Before you can begin using OAuth 2.0 in your account, you must enable the feature. To enable OAuth 2.0 feature: Go to Setup > Company > Enable Features. Click the SuiteCloud subtab. In the SuiteScript section, check the following boxes: Client SuiteScript. Click I Agree on the SuiteCloud Terms of Service page. Server SuiteScript. Click I Agree on the SuiteCloud Terms of… Continue reading Enable the OAuth 2.0 Feature
Proposal for NetSuite-FedEx Integration to support the FedEx integrated shipping methods in RF-SMART
Proposal Summary This proposal addresses the integration of real-time FedEx shipping rates in NetSuite, while resolving the incompatibility issue between RF-SMART and FedEx integrated shipping methods. The solution ensures that customers see the current integrated FedEx rates at the time of order placement, but RF-SMART can process the orders by switching to a non-integrated… Continue reading Proposal for NetSuite-FedEx Integration to support the FedEx integrated shipping methods in RF-SMART
SOAP Request to Create General Tokens for Payments
To be able to generate SOAP Request for Payment Instruments of type General Token from Customer Record. <soapenv:Envelope xmlns:xsd=’http://www.w3.org/2001/XMLSchema’ xmlns:xsi=’http://www.w3.org/2001/XMLSchema-instance’ xmlns:soapenv=’http://schemas.xmlsoap.org/soap/envelope/’ xmlns:platformCore=’urn:core_2019_2.platform.webservices.netsuite.com’ xmlns:platformMsgs=’urn:messages_2019_2.platform.webservices.netsuite.com’ xmlns:listAcct=’urn:accounting_2019_2.lists.webservices.netsuite.com’> <soapenv:Header> <passport xsi:type=’platformCore:Passport’> <email xsi:type=’xsd:string’>************************</email> … Continue reading SOAP Request to Create General Tokens for Payments
A “no SOAPAction header” error occurred in the SOAP request.
If you encounter this error, you need to add a header with SOAPAction: “Operator,” where “Operator” refers to the specific operator being used in the request. For example, in this case, the operator used in the request is “get.” By adding this, we can resolve the error. Additional Information: The SOAPAction header is a key… Continue reading A “no SOAPAction header” error occurred in the SOAP request.
The advantages of SOAP services over REST, specifically in the context of NetSuite API integration.
1. SOAP vs REST : 1.1 NetSuite SOAP API’s Advantage: Despite its age and being less modern compared to REST APIs, NetSuite SOAP API is more reliable for certain operations, especially for writing data into NetSuite. This contrasts with the common belief that modern REST APIs are always superior. 1.2 Comprehensive Access with SOAP: The… Continue reading The advantages of SOAP services over REST, specifically in the context of NetSuite API integration.
Enabling the SOAP Web Services Feature
The SOAP web services feature must be enabled prior to submitting SOAP web services requests. To enable the SOAP web services feature: As administrator, click Setup > Company > Enable Features. Click the SuiteCloud subtab. Check the SOAP Web Services box. Click Save. Note that after you have enabled SOAP web services in your NetSuite account, you should set your SOAP… Continue reading Enabling the SOAP Web Services Feature