Create extension to customise the error message on place order in review page. Error message will show when ordered quantity is greater than available quantity of item. JJ.Reviewoutofstock.Reviewoutofstock.js file In the global_views_message.tpl file change code
Month: November 2022
Remove picked/packed items from the Picking ticket
//info: CDUS-1825 We have a requirement where the client only wants the items that have not yet been picked/picked to be printed on the picking ticket. In the normal functionality of NetSuite, only after item fulfillment or the item is shipped, the item will be removed in the picking ticket print which is available under… Continue reading Remove picked/packed items from the Picking ticket
API Testing Notes
Remove All Spaces in Item Records Description as Displayed in the Search Results
Scenario: User wants to pull up the Sales Description field with no spaces. Solution: Navigate to Reports > Saved Searches > All Saved Searches > NewSelect TransactionOn the Criteria tab > Standard subtab, add the following filters:Filter:Select Type (select the Item Types you want to include in the search results. Example: Assembly/Bill of Materials, Inventory… Continue reading Remove All Spaces in Item Records Description as Displayed in the Search Results
Setting Default Forms for Roles
You can set default forms for your users by customizing roles and assigning them to your users. This lets you tailor the level of access you want to give to users. A role is a set of permissions that lets customers, vendors, and employees access specific areas of your data. You assign roles on customer,… Continue reading Setting Default Forms for Roles
UTM Parameter
The use of UTM parameters has completely transformed today’s online marketing strategies. You can easily see where you are gaining your traffic just by using the right parameters. For example, if you have an outstanding landing page on your website, you can measure the exact source of the traffic such as the name of the specific campaign or even… Continue reading UTM Parameter
Split URL String to get each parameter value in the JavaScript
function splitData(){ try { var value=”journreference=123line=A&destination=China&operator=Belbo&departure=104″; // split the string with these characters var parts = value.split(/[#\?&]/g); // find the piece with the key “destination” var filteredParts = parts.filter(function (part) { return part.split(‘=’)[0] === ‘destination’; }); // split the value and key, and grab the value [1] if (filteredParts) { var splitValue = filteredParts[0].split(‘=’)[1]; }… Continue reading Split URL String to get each parameter value in the JavaScript
Make a View Available Anywhere in Your Templates
The registerView() method allows you to register a view to a component, making the view available anywhere that component is available. This functionality makes it easier to use simple views in any template in your theme. You should not use the registerView() method for every view, but instead use it: For views that are self contained and do not… Continue reading Make a View Available Anywhere in Your Templates
Extract Domain from Email
let email = ‘john.doe@gmail.com’;let domain = email.substring(email.indexOf(‘@’) + 1); console.log(domain)
Parallax scrolling effect using CSS
Parallax is an effect used in various websites to make webpages attractive. In this effect, as we scroll, the background of the webpages moves at a different speed than the foreground making it look beautiful to the eyes. This effect can be easily implemented with the help of CSS. Implementation of the effect using CSS… Continue reading Parallax scrolling effect using CSS