The query module is like a saved search in NetSuite. N/query module to create and run queries using the Suite Analytics Workbook query engine. Using the query module, we can: Use multilevel joins to create queries using field data from multiple record types. Create conditions (filters) using AND, OR, and NOT logic, as well as… Continue reading N/query Module
Month: January 2023
How to display custom amount in order summary in admin Magento 2?
1. sales_order_view.xml 2.Totals.php
Get the child matrix item name in the saved search through the suite script
Javascript code for removing parent item relation from the child item name. The item name represents the name of the item. Item Name.split(“:”).slice(-1)[0].trim()
SyntaxError: cannot use `??` unparenthesized within `||` and `&&` expressions in javascript
SyntaxError: Unexpected token ‘??’ (V8-based) SyntaxError: cannot use `??` unparenthesized within `||` and `&&` expressions (Firefox) SyntaxError: Unexpected token ‘??’. Coalescing and logical operators used together in the same expression; parentheses must be used to disambiguate. (Safari) The chain looks like this: | > && > || > = | > ?? > = However, the… Continue reading SyntaxError: cannot use `??` unparenthesized within `||` and `&&` expressions in javascript
Get Client Script Id via File path
Get Client Script Id via File path
Scanning Bar Codes
Scanning Bar Codes
Auto dark mode with override selector.
Here, I am implementing a dark mode as Windows and iOS have all introduced dark modes. This will automatically identify systems that are set to dark modes, and apply the enclosed CSS rules. However; even though users may have their system set to dark mode, it may be the case that they prefer the light… Continue reading Auto dark mode with override selector.
Changing the Field name of Tax in Sales order summary box
We can change the lable of the tax name in the SO summary column. Go to Set up Tax page Select the Tax jurisdiction Under the field naming subtab Change the name corresponfdng to the lauguae prefernce you are using.
Clearing Estimate Shipping Cost
For Clearing the estimate shipping cost from the cart page , we are using a method as shown below. Added a sample code along with it View File Entry Point Service Controller