How to resolve SuiteScript Error SSS_INVALID_SRCH_OPERATOR

If an nlobjSearchFilter contains an invalid operator, or is not in proper syntax: {1}, an error is thrown: SSS_INVALID_SRCH_OPERATOR  The error may be thrown by any of the following scenarios: The filter name is not officially supported, i.e., the filter is not officially documented in the SuiteScript Records Browser under the record type being searched.… Continue reading How to resolve SuiteScript Error SSS_INVALID_SRCH_OPERATOR

How to Create and Submit a Map/Reduce Script Task

/**  * @NApiVersion 2.1  */ require([‘N/task’, ‘N/runtime’, ‘N/email’], (task, runtime, email) => {   // Store the script ID of the script to submit   //   // Update the following statement so it uses the script ID   // of the map/reduce script record you want to submit   const mapReduceScriptId = ‘customscript_test_mapreduce_script’;   // Create a map/reduce task   //… Continue reading How to Create and Submit a Map/Reduce Script Task

How to resolve issue wherein suitecommerce base theme is not availble on the theme option in extension manager

Scenario There are instances wherein the SuiteCommerce Base Theme is not available on the Theme option in Extension Manager. Solution Follow the steps listed below: Navigate to Customization > Lists, Records, & Fields > Record Types SC ExtMech Extension: Click List SuiteCommerce Base Theme: Click Edit Target_Version: Clear value Click Save SuiteCommerce Base Theme: Click View manifest.json: Click Edit target_version: Remove on the code Click Save

How to troubleshoot the error Module not found while using suitescript 2 file

You may see this error if you are using the require Function. The require Function has no global context. Consequently, relative paths do not work for the require Function unless you import require() as a dependency of define(). If you receive the Module does not exist error, try replacing relative paths with absolute paths. For… Continue reading How to troubleshoot the error Module not found while using suitescript 2 file

How to resolve SuiteScript Error SSS_INVALID_SRCH_OPERATOR

Scenario If an nlobjSearchFilter contains an invalid operator, or is not in proper syntax: {1}, an error is thrown: SSS_INVALID_SRCH_OPERATOR  Solution The error may be thrown by any of the following scenarios: The filter name is not officially supported, i.e., the filter is not officially documented in the SuiteScript Records Browser under the record type… Continue reading How to resolve SuiteScript Error SSS_INVALID_SRCH_OPERATOR

How To manage URL components for facets

Make sure the feature is enabled. For more information, see Enable URL Components Alias. Go to Commerce > Marketing > SEO > URL Components for Facets. Click Edit or View on the URL Components for Facets page to access the URL Definition page. Enter a value in the URL Component field. The following fields are displayed on the on the URL Definition page:… Continue reading How To manage URL components for facets

How to Resolve Facet Configuration not taking effect in SuiteCommerce Advanced

To Resolve this issue 1. Ensure that the correct Field ID is being used by the configuration: Navigate to Commerce > Websites > Website List Click Edit on the website record you are using Navigate to Search Index tab > Facet Fields sub-tab Make sure that the Field ID defined for the Facet Fields is the one being used in the Item Field ID in the Configuration record. 2. If URL Components for Facet is being… Continue reading How to Resolve Facet Configuration not taking effect in SuiteCommerce Advanced