Custom Button Action for Generating Deposit Summary Client and Suitelet Scripts

The Client Script used for generating the PDF: /**  * @NApiVersion 2.1  * @NScriptType ClientScript  * @NModuleScope SameAccount  */ /***********************************************************************************************************  * Chesapeake Coffee Roasters-USA-NS/SCA  * CCRUN-8 Custom Print Button for Bank Deposit Summary with Advanced PDF/HTML Template  *****************************************************************************************  * Author : Jobin & Jismi  * Date Created : 15-October-2024  * Description : This Client script… Continue reading Custom Button Action for Generating Deposit Summary Client and Suitelet Scripts

Add Custom Action to “Save &” Drop-Down on a Record

Scenario: Add a custom workflow button to the Save & update menu on a transaction. The steps below will aid in saving efficiency when users consistently save a record and immediately click another button to trigger an action. This allows custom button actions to be available under the Save &… menu on a record. Note:… Continue reading Add Custom Action to “Save &” Drop-Down on a Record

Disable the button to prevent multiple clicks

It’s common to encounter situations where a user may unintentionally click a button multiple times, leading to undesirable consequences or duplicate actions. Solution: To prevent such scenarios, We can use the techniques to disable buttons temporarily after the first click. One popular method involves using JavaScript/jQuery to manipulate the button’s properties dynamically. The first part… Continue reading Disable the button to prevent multiple clicks

How to rotate arrow icon 180 degrees onclick.

We can create rotating icon on dropdown list, that activate when click on icon. Extension: _.extend(FacetsFacetedNavigationItemCategoryView.prototype, {                    template: jj_subcategory_plpsubcategory_tpl, events: _.extend(FacetsFacetedNavigationItemCategoryView.prototype.events, {                         ‘click .subdiv2’: ‘hide’,                   … Continue reading How to rotate arrow icon 180 degrees onclick.

Add button to send payment voucher to vendor from bill payment

Requirement Add a button (labelled “Send email “) in the Bill payment record. On the button click the Payment Voucher should be emailed to the supplier. The recipient email address can be taken from the supplier record. The payment voucher is the print template in Bill payment. Solution Button created on bill payment record. on… Continue reading Add button to send payment voucher to vendor from bill payment

Adding Link to the button using configuration record.

Create new page in My account in extension js modules like,open js module and crete extra file for new page name as jj.three.three.router.js. We can create page by using the router . In router file with view file and model file names required for data and server links (URL).view file links with tpl file(jj_three_three_tpl) of… Continue reading Adding Link to the button using configuration record.

How to create show more and show less functionality for hiding text using jQuery

We can add Read More/Read Less button next to a too long HTML element by using jQuery.The amount of content displayed can be changed by clicking on the buttons. Instead of showing a complete paragraph on a webpage, only some part of the text is shown initially and a button is added which shows more… Continue reading How to create show more and show less functionality for hiding text using jQuery

Showing a Popup in the Login Register page when a button clicked

On clicking the upload certificate button on the registration page, a new pop-up needs to be displayed on the registration page. Solution: Create a modal for popup, for that create a separate view file for the pop up and in the view file of login register page, add a click function in events for the… Continue reading Showing a Popup in the Login Register page when a button clicked

Restrict the Multiple Click of a Button

We need to restrict the multiple clicks of a button in a suitelet page or a record. Because of the button is a button action, then multiple time submit action will trigger and causes the error. The proposed solution for restricting the multiple button click in a page is we should disable the button after… Continue reading Restrict the Multiple Click of a Button