Scenario: When we use email.send function in suitescript, sometimes this type error: email.send is not a function will be thrown. Solution: Check and confirm N/email module is added. Check the parameters passed to send email function, or the variable used to assign the email id. This error mainly occurs, when we use parameters as ’email’… Continue reading Resolve Type Error: email.send is not a function
Month: September 2024
Manufacturing Routing Costing
Time Updates and Costing When time is logged against an operation task for an assembly, NetSuite uses this time to calculate costs associated with the assembly. For example, when completion time is logged against an operation task, NetSuite generates the following accounting entries: Account Formula CR Labor Rate x Resources x Hours DR WIP… Continue reading Manufacturing Routing Costing
“Next Bill” Button Not Available on Sales Order for Project with Time and Materials Billing Type
A user is attempting to bill a project with the Time and Materials Billing Type, but the Next Bill button is not appearing on the related Sales Order. This issue may arise when the Service Item used in the actual time entry does not match the Service Item used on the Sales Order. The Next… Continue reading “Next Bill” Button Not Available on Sales Order for Project with Time and Materials Billing Type
Proposal For Workorder Advanced PDF template
Proposal Summary This proposal encompasses the development and design of a customized Work Order PDF template. The objective is to create an Advanced pdf template that effectively presents and organizes the necessary information related to workorders for the client by the Implementer. Requirement from Power Utility Products Co-USA-NS. Currently, the client is using a Basic… Continue reading Proposal For Workorder Advanced PDF template
The advantages of SOAP services over REST, specifically in the context of NetSuite API integration.
1. SOAP vs REST : 1.1 NetSuite SOAP API’s Advantage: Despite its age and being less modern compared to REST APIs, NetSuite SOAP API is more reliable for certain operations, especially for writing data into NetSuite. This contrasts with the common belief that modern REST APIs are always superior. 1.2 Comprehensive Access with SOAP: The… Continue reading The advantages of SOAP services over REST, specifically in the context of NetSuite API integration.
UPS OAuth Authentication for Shipping
On, or before August 2, 2024, UPS will terminate their existing authentication mechanism to OAuth authentication. Consequently, the following change is required within NetSuite to use the Shipping feature. All NetSuite customers using the UPS direct integration (not through Ship Central) will need to enable the OAuth mechanism. Watch the following video for an overview… Continue reading UPS OAuth Authentication for Shipping
How do we script to be able to more than 4000 rows using the forEachResult() method?
To overcome this limitation you can: Use Search.run().getRange() to iterate the full result set by range, and then iterate the results contained in each range. Use Search.runPaged(), fetch the data for each page and iterate the results. Example: var searchObj = searchObjSearch.runPaged({ pageSize:1000 }); searchObj.pageRanges.forEach(function (pageRange) { searchObj.fetch({ index:pageRange.index }) .data.forEach(function (result) { //Process each search result here }); csv.push(row);… Continue reading How do we script to be able to more than 4000 rows using the forEachResult() method?
Proposal for Implementing Automated Version Control for Service Orders in NetSuite
Proposal Summary This proposal outlines the development of a feature to track and manage version control for service orders in the NetSuite system. The new feature will automatically update a version number field whenever changes are detected in the service order record or its associated sublist items. This will ensure that all modifications are… Continue reading Proposal for Implementing Automated Version Control for Service Orders in NetSuite
Adding low to high and High to low
Toolrbar.php file <?php namespace JJCustomproductshowPluginCatalogBlockProductProductList; class Toolbar extends MagentoCatalogBlockProductProductListToolbar { /** * Set collection to pager * * @param MagentoFrameworkDataCollection $collection * @return MagentoCatalogBlockProductProductListToolbar */ public function afterGetAvailableOrders(Toolbar $subject, $availableOrders) { // Remove ‘position’ from available orders if it exists if (isset($availableOrders[‘position’])) { unset($availableOrders[‘position’]); } return $availableOrders; } public function setCollection($collection) { $this->_collection = $collection;… Continue reading Adding low to high and High to low
How to Remove SORT BY “Price” Option in Magento 2?
Step 1: Create a di.xml file at the below path appcodeVendorExtensionetc <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”MagentoCatalogModelConfig”> <plugin name=”RemovePriceOption” type=”VendorExtensionPluginModelConfig”/> </type> </config> Step 2: After that, create Config.php in the following path VendorExtensionPluginModel And then add the code as follows <?php namespace VendorExtensionPluginModel; class Config { public function afterGetAttributeUsedForSortByArray(MagentoCatalogModelConfig $catalogConfig, $options) { unset($options[‘price’]); return $options;… Continue reading How to Remove SORT BY “Price” Option in Magento 2?