How to use a client script to identify deleted items in NetSuite.

We can identify the operation of the line level in the client script’s sublistChanged trigger. Using this facility, identify the operation equal to remove while also getting the line unique key; if both operations are removedĀ and the line unique key is not empty, the item has been removed from the items sublist. Get the item… Continue reading How to use a client script to identify deleted items in NetSuite.

Steps to push code from Visual Studio Code to GitHub – Part 2

Create a new branch in the project repository. Clone the remote repository to our local system. Switch from the main branch to the new branch Create a new project. Push the code from visual studio code to GitHub. Open a pull request. Merge the Pull request. Delete subbranch from remote repository. The third and fourth… Continue reading Steps to push code from Visual Studio Code to GitHub – Part 2

Why the record page got struck when we validate a field in fieldChanged function?

Here the sample code to check whether the opportunity name already exists, if it exist then it will show an error. However, if you are not added return values, then it struck in the same field and page also not support to enter the next fields.     function fieldChanged(scriptContext) {     try { … Continue reading Why the record page got struck when we validate a field in fieldChanged function?

Steps to push code from Visual Studio Code to GitHub – Part 1

Create a new branch in the project repository. Clone the remote repository to our local system. Switch from the main branch to the new branch Create a new project. Push the code from visual studio code to GitHub. Open a pull request. Merge the Pull request. Delete subbranch from remote repository. This article includes first… Continue reading Steps to push code from Visual Studio Code to GitHub – Part 1

How to get the button id from the contacts record.

First go to the contact record page. Then right click and select Inspect(Ctrl_shift+i). Go to the elements and select search (Ctrl+f) Then type the button name for example(New Task) then it will redirect to the that word. View the id of the button.

Folder to Folder file transfer

Scheduled script.  Move already forwarded attachments through email to another folder. The attachments are stored in a folder. If they are forwarded move these files to another folder.