This is a client script based on the Field Changed functionality to set a checkbox custom field to true when the status of lead recod changes into Customer-Active. Code: /** * @NApiVersion 2.x * @NScriptType ClientScript * @NModuleScope SameAccount */ /************************************************************************************************ * * ClientScript ** * * ********************************************************************************************** * * Author: Jobin and Jismi *… Continue reading Script for setting custom Login Access field when lead status changes to customer.
Tag: field change
Send Email Alert using Transaction Saved Search when Order Status Changes
The user creates a Transaction Saved Search to send an email alert that is triggered whenever there is a change in the sales order status. However, the user has customized its order Status names and the email alert needs to send. The system still respects the standard name of the status of the Order (Pending Fulfillment/Pending Approval/Pending Billing), regardless of… Continue reading Send Email Alert using Transaction Saved Search when Order Status Changes
Use of currentrecord.commitLine(Options) Method with the currentrecord.setCurrentSublistValue(Options) Method via SuiteScript 2.0 Client Script
User would like to set a sublist field’s value on a List Type Sublist using the currentRecord.setCurrentSublistValue(options) method and setting the ignoreFieldChange option to true. There are no errors encountered on the script but the sublist field’s value is not reflected correctly to the UI. The reason for this behavior is because the line item… Continue reading Use of currentrecord.commitLine(Options) Method with the currentrecord.setCurrentSublistValue(Options) Method via SuiteScript 2.0 Client Script
Using the Function fieldChanged() setting the field ‘shipping cost’ when the Field ‘Shipmethod’ changes.
Change Class of Settlement Record by taking the value from Line item of another Record.
//Info: JOIN-205 Note:This part is added under Reduce context stage in MapReduce script.‘dataObj’ , which is mentioned initially holds the value of records that the user chooses. This can be done in getInputData stage.
A Suitelet form for vendor bill creation and transforms the vendor bill into a journal entry.
Vendor bill creation and transforms it into journal entry using a suitelet script.
Update sales order shipping cost value.
This article is to update the sales order shipping cost based on the SHIPPING COST METHOD, on client script field change trigger point.
Task-5: Update PO line item field on a field change.
Automatic PO line item field update on field change.