Remove item lines from Sales order created from estimate using Client Script

Remove item lines from Sales Order created from Estimate, If the item with its corresponding quantity is already created in Sales Orders using Client Script. /**  * @NApiVersion 2.1  * @NScriptType ClientScript  * @NModuleScope SameAccount  */ define([‘N/currentRecord’, ‘N/url’, ‘N/record’, ‘N/search’],       function (currentRecord, url, record, search) {         let mode… Continue reading Remove item lines from Sales order created from estimate using Client Script

The script is for store the available quantity at custom line fields when adding item into item sublist.

/**  * @NApiVersion 2.1  * @NScriptType ClientScript  * @NModuleScope SameAccount  */  define([‘N/search’],  /**   * @param{currentRecord} currentRecord   * @param{record} record   */  function(search) {      /**       * Function to be executed after page is initialized.       * @param {Object} scriptContext       * @param {Record} scriptContext.currentRecord -… Continue reading The script is for store the available quantity at custom line fields when adding item into item sublist.