Keep facets to a maximum of 40. This is not a hard limit. However, performance degradation becomes noticeable when the maximum is reached. Facet values should not exceed 1,000. Each facet value’s name should be under 200 characters. Only include facets when they are necessary. When making a request to the Item Search API, omitting include=facets from… Continue reading Best Practices for facet field performance
Month: March 2022
Automate Purchase Request
A Simple Navigation bar for Website
A simple horizontal navigation barHtml: CSS:
Script to replace Accented characters and remove Special Characters from a field
In order to do so, the script concerning the Field needs to be changed and should contain the following: 1. Get the value of the desired field through objRecord.getValue() 2. Replace all characters with accents to their corresponding letters 3. Remove all special characters 4. Set the new value of the desired field through objRecord.setValue()… Continue reading Script to replace Accented characters and remove Special Characters from a field
Last Element of Array in Advanced PDF template
To get the last element of the array , refer following sample
How to upload file using AJAX and PHP
Create index.html file and put following contents into it Create a js file, you can name it main.js Create a PHP file, you can name it upload.php
Magento2: get custom customer attribute value
Custom attributes can also be obtained using getData() method. Below example fetches a customer custom attribute, custom_attribute_name, in an observer. }
Item fulfillment Sync
Cannot remove subsidiary: xxx because this record is used on a transaction for subsidiary: xxx.’ when Adding Subsidiary in Item Record
When One World NetSuite users edit the item record to select a subsidiary, the selected subsidiaries become deselected from the list, hence generating the error, ”You cannot remove subsidiary: XXX because this record is used on a transaction for subsidiary: XXX”. Edit the Item record Locate the Subsidiary section Press CTRL key on the keyboard (Windows) or Command/Apple key (Mac) Select the Subsidiary to be added… Continue reading Cannot remove subsidiary: xxx because this record is used on a transaction for subsidiary: xxx.’ when Adding Subsidiary in Item Record
Location is Mandatory when Multi-Location Inventory is Enabled
Once Multi-Location Inventory (MLI) Feature is enabled in a NetSuite account under Setup > Company > Enable Features > Items & Inventory, then the Location field is set to mandatory by default in transaction forms The standalone Vendor Bills, Customer Invoices, and Cash Sales mentioned in Article 27868 (Location field is mandatory in transaction form… Continue reading Location is Mandatory when Multi-Location Inventory is Enabled