How check whether a price-level is active on SCA website

This article is to check whether a particular price level is active on a website, this can be used while working with price-level-related tasks. Go to Setup >Accounting>Accounting lists Select the filter option to price-level Then check the required price-level in the list and click ‘view’ After opening the record check the checkbox”Online price level”… Continue reading How check whether a price-level is active on SCA website

PROPOSAL FOR HANDLING VENDOR CREDIT LIMIT PER LOCATION PER MONTH ON CREATION OF PURCHASE ORDER

Jira Code : MAMS-103 Proposal Summary The proposal is to implement a vendor credit limit notification within the purchase order process. It will help to alert users when creating or updating purchase orders if the vendor’s credit limit has been exceeded for the current month.  Requirement The client would like to notify the purchaser when… Continue reading PROPOSAL FOR HANDLING VENDOR CREDIT LIMIT PER LOCATION PER MONTH ON CREATION OF PURCHASE ORDER

Disable Update of Item Sublist in Transaction records

Scenario: Disable item sub list update option like add, edit, remove items from item sublist in Estimate,sales order and in other transaction records. Client script is used for this scenario. Code snippet:// Declare a variable as global var sublistEditFlag =false; // On sublistChanged function,if sublist is item,then global variable is set to true. Sublistchanged function… Continue reading Disable Update of Item Sublist in Transaction records

Script to add a button in Quote Record

Jira Code : CLTG-177 Description We need to create a custom button named “SOP” in the Quote record and on clicking that button, user should be navigated to a URL in a new window. We need to be redirected to different webpages based on which form the button is on. Solution In order to achieve… Continue reading Script to add a button in Quote Record

Restrict the sales order creation if the sales team is empty

Requirement While creating a sales order, if the sales team is empty, then show a pop-up message to notify that the sales team is empty and doesn’t allow the creation of a Sales Order record. Solution Create a client script and check if the sales team is empty in the Sales Order record. If the… Continue reading Restrict the sales order creation if the sales team is empty

TypeError: Cannot read property “custbody_field” of null

To find the NetSuite script that is causing the error, follow these steps: Go to Customization > Scripting > Scripted Records. Edit the record that you’re trying to troubleshoot, say for example, “Sales Order”. Look at the list of scripts deployed on the record defined by the “Deployed” checkbox. Uncheck all the scripts under “User Event Scripts” or… Continue reading TypeError: Cannot read property “custbody_field” of null

Use Client script to get vendor bill id when vendor payment record is loaded.

Requirement is to get value of vendor bill id when vendor payment record is loaded. /** * @NApiVersion 2.x * @NScriptType ClientScript * @NModuleScope SameAccount */define([‘N/currentRecord’, ‘N/record’, ‘N/url’], /** * @param{currentRecord} currentRecord * @param{record} record * @param{url} url */ function (currentRecord, record, url) { /** * Function to be executed after page is initialized. *… Continue reading Use Client script to get vendor bill id when vendor payment record is loaded.