reduce const numbers = [10, 20, 30]; const sum = numbers.reduce((total, num) => total + num, 0); console.log(sum); // 60 fromEntries const obj = { a: 1, b: 2, c: 3 }; const transformed = Object.fromEntries( Object.entries(obj).map(([key, value]) => [key, value * 2]) ); console.log(transformed); // { a: 2, b: 4, c: 6 }… Continue reading Some JavaScript functions that can significantly optimize the primitive approaches programmers might use for certain tasks:
Month: March 2025
Celigo features
Celigo is an integration platform-as-a-service (iPaaS) that helps businesses automate workflows by connecting various applications, systems, and data sources. Here are its key features: 1. Pre-Built Integrations Offers pre-built connectors for popular apps like NetSuite, Salesforce, Shopify, Amazon, SAP, and more. Reduces the need for custom coding and speeds up deployment. 2. Intuitive UI &… Continue reading Celigo features
Merits and Demerits of Celigo
✅ Merits (Advantages) of Celigo 1. Pre-Built Connectors & Templates Celigo provides ready-to-use connectors for apps like NetSuite, Shopify, Salesforce, Magento, and more. Saves time by reducing the need for custom API development. 2. No-Code/Low-Code Integration Drag-and-drop interface makes it easy for non-developers to create integrations. Advanced Field Editor (AFE) allows custom scripts and transformations… Continue reading Merits and Demerits of Celigo
Drop Ship Process in NetSuite
Marking an Item as Drop Ship To set up an item for drop shipping in NetSuite, follow these steps: Navigate to Lists > Accounting > Items. Select an existing item or create a new one (Inventory or Non-Inventory). Under the Purchasing/Inventory tab: Check the Drop Ship Item checkbox. Assign a Preferred Vendor. Save the item.… Continue reading Drop Ship Process in NetSuite
Steps to Connect WordPress and Celigo
To connect WordPress and Celigo, you typically need to use APIs to transfer data between them. Here’s a step-by-step guide: Steps to Connect WordPress and Celigo 1. Enable the WordPress REST API WordPress has a built-in REST API that allows you to send and receive data. Ensure the REST API is enabled (https://yourwebsite.com/wp-json/wp/v2/). You may… Continue reading Steps to Connect WordPress and Celigo
Saved search formula to return date time value as long integer similar to timestamp
REGEXP_REPLACE(TO_CHAR({datecreated}, ‘DD.MM.YYYY HH24:MI’), ‘[^0-9]’, ”)
Permissions Required for Adding an Option to an Existing Custom List in NetSuite
To allow a role to add options to an existing custom list in NetSuite, you need to assign the following permissions under Setup > Users/Roles > Manage Roles: Required Role Permissions Customization > Custom Lists – Full Access (Allows editing and adding new options) Customization > Custom Fields – Edit or Full Access (If the… Continue reading Permissions Required for Adding an Option to an Existing Custom List in NetSuite
Suitescript code to parse XML data to JSON
function no_fast_endings(x) { x = x.split(“/>”); for (var i = 1; i < x.length; i++) { var t = x[i – 1].substring(x[i – 1].lastIndexOf(“<“) + 1).split(” “)[0]; x[i] = “></” + t + “>” + x[i]; } ; … Continue reading Suitescript code to parse XML data to JSON
What is Systems Design – Learn System Design
Systems Design is the process of defining the architecture, components, modules, interfaces, and data for a system to satisfy specified requirements. It involves translating user requirements into a detailed blueprint that guides the implementation phase. The goal is to create a well-organized and efficient structure that meets the intended purpose while considering factors like scalability, maintainability,… Continue reading What is Systems Design – Learn System Design
jQuery to disable button action
To disable a button action using jQuery, you can set the attribute of the button to . Here’s a simple example: jQuery(‘#button_id’).prop(‘disabled’, ‘disabled’);