Changes to RESTlet script and New N/scriptTypes/restlet Module – NetSuite 2024.2 Release

Currently, any RESTlet script that returns HTML content is determined by the Content-Type header in the HTTP request. If the Content-Type header of the HTTP request has a value, the value gets passed to the HTTP response. If there is no Content-Type header defined in the HTTP request, the default value of the HTTP response… Continue reading Changes to RESTlet script and New N/scriptTypes/restlet Module – NetSuite 2024.2 Release

Using Suitelets and Restlets as API – Differences

Both Suitelets and Restlets are used in NetSuite for different purposes. Here’s a comparison: Restlets: They are server-side scripts and interact with NetSuite data3. They can be used with GET, POST, PUT, DELETE requests, making them ideal for building an API to use in another application. They are more suitable for low-bandwidth use cases where… Continue reading Using Suitelets and Restlets as API – Differences

Issue with the creation of multiple custom records when restlet script is triggered in quick succession

ISSUE When the restlet script is triggered in quick succession, multiple custom records are created. Only a single custom record is expected to be created per day. But when resltet script is triggered at the same time, custom records are created multiple times. SOLUTION This issue can be handled by adding an external Id to… Continue reading Issue with the creation of multiple custom records when restlet script is triggered in quick succession

How to fix a Restlet request error in Postman while testing

Check if the Restlet URL used is correct compared with the Restlet script record ‘External URL link’ field value. Check if the Request type is correct(GET/POST/PUT…) Check if correct values are used for consumer key, consumer secret, access token, and token secret.We can create a new integration in NetSuite through navigation: SetUp > Integration >… Continue reading How to fix a Restlet request error in Postman while testing

PROPOSAL FOR CREATING SALES ORDER.

Proposal summary Need to create sales orders using custom API. Requirement  Need to implement a RESTLet API for creating sales orders. Our Solution Prerequisites – Swift needs to grant edit and create access to the sales order. Description of the task  The requirement can be achieved by creating a RESTlet. The RESTlet API will access… Continue reading PROPOSAL FOR CREATING SALES ORDER.

Adrenalin-Netsuite Employee Integration : Solution

Requirement: Neutrinos needs to integrate the Master Data Employees from Adrenalin to Netsuite. Also would like to migrate existing employee records from Adrenalin to NetSuite. Prerequisites: Token based Authentication(TBA)  is considered here as Authentication type. So, need to set TBA( refer http://jobinandjismi.in/setting-up-netsuite-token-based-authentication-tba/ ) We will provide the consumer key, consumer secret, token ID, token secret,… Continue reading Adrenalin-Netsuite Employee Integration : Solution

Setting Up Netsuite Token Based Authentication (TBA)

Token-based authentication is a protocol that generates encrypted security tokens. It enables users to verify their identity to websites, which then generates a unique encrypted authentication token. To use Token Based Authentication (TBA), the following things need to be done first: Enable Token-Based Authentication Create Integration record Create a Role and assign it to a… Continue reading Setting Up Netsuite Token Based Authentication (TBA)

Wrapper API- Integration

Proposal summary We are returning the order and financial summary from Netsuite in the JSON format using the Restlet script whenever the API is requested from the external application. Specifically we are returning the school order details, parent-student order details, invoice and payment details. Requirement  XSEEED Education is developing an internal app product that is… Continue reading Wrapper API- Integration

Netsuite-Hive Integration

Integration between Netsuite and Hive for order and IF details Proposal summary This proposal covers the  integration between Netsuite and Hive. The solution covers the fetching of order details from Netsuite and retrieving the shipment details and this creates item fulfillment in Netsuite. Requirement  Connect Netsuite and hive to sync orders and fulfillment information. Our… Continue reading Netsuite-Hive Integration