/** * @NApiVersion 2.x * @NModuleScope SameAccount * @NScriptType Suitelet */ /* *********************************************************************** * * Author: Jobin and Jismi IT Services LLP * * REVISION HISTORY * * Revision 1.0 * * Description: Script to print kit items on clicking the button “Print commercial invoice” * * Revision 2.0 * ***********************************************************************/ /** * The following… Continue reading Commercial Invoice Printing On a Button Click
Tag: suitelet script
How to fix the issue: ” service controller not found”
In Extension file sometimes the error “ServiceController not found” will occurSo solve this issue1. Go to manifest.json and change the entry point to “ServiceController.js”.The example is show below 2. Then change name in entry file in suite script at define function By removing the vendor and name of extension, For example After this, deploy the… Continue reading How to fix the issue: ” service controller not found”
Suitelet Script for creating custom page for shipdate update on sales orders
Adding or replacing filter to the existing Search
We can add a new filter to the existing search or we can remove an existing filter in a search using suitescript.
Code For Setting the date as date before three days
We need to convert the current date to US time zone and need to find the date before three days ago from this.We can use the below code to achieve this.
Project Task Auto Population In Timesheet
Requirement We need to populate the corresponding project task in the timesheet when the user selects the project. The population will only take place if the project has one project task. Solution We can create a client script and a suitelet script to populate the project task. When a project is selected in a time… Continue reading Project Task Auto Population In Timesheet
Script to set Email statement form to enter the details of the statement to print:
This script will create a custom statement form which resembles the the standard statement form .
Adding Loading symbol while processing
Scenario: When some process is processing if you need to show any kind of loading symbol for representing the process may take some time. For this you need to add a loading symbol on the page Solution: For this you need to add a jQuery section with a HTML code block. The HTML code block… Continue reading Adding Loading symbol while processing
Suitelet Internal URL VS External URL
//Info: TAIP-740 There are Instances in which we have to connect the URL of Suitelet to preview other pages.We Normally pass External URL in most cases, However, it’s also ok if we pass Internal URL to connect other pages & thereby perform operations. But, we have to ensure some criteria are given for this case.Internal… Continue reading Suitelet Internal URL VS External URL