M/R for saving the Records

This is a load and save the records associated with the saved search used in the script. This can be useful if we need to trigger a UE for a large number of records /** *@NApiVersion 2.x *@NScriptType MapReduceScript */ define([“N/search”, “N/record”], function (search, record) { const COMMITTED_SO_SEARCH = “customsearch_temp_prescription_items”; function getInputData() { return search.load({… Continue reading M/R for saving the Records

Git Ignore

The types of files you should consider adding to a .gitignore file are any files that do not need to get committed.You may not want to commit them for security reasons or because they are local to you and therefore unnecessary for other developers working on the same project as you. like Folders generated by… Continue reading Git Ignore

Git Graph – VS Code

Extension Id on VS Code: mhutchie.git-graph After Login to the VS code via git hub you can us the help of the extension GIT GRAPH. One of the most important benefits to describe and visualize the history of changes in a project. From where the branch is created to where the branch is merged, author… Continue reading Git Graph – VS Code

Get Custom Field from Commerce Categories

To obtain the custom fields, we must modify the model file for a quick and optimal solution. We need to mention the custom field ids for fetching, and the section below with the Enhancement heading is where the update is made; please check and understand the concept before working. Because custom fields do not return… Continue reading Get Custom Field from Commerce Categories

Using Cached Model

To load a page more faster than before like a landing page which has more items we can use     ‘Backbone.CachedModel’ on the model file adding a sample along with this

Modify an Error on Model File

This extension changes a backend error that appears when a user attempts to delete an address that is already in use. The error message in this scenario reads “Unexpected Failure,” the error returned iserrorCode : “ERR_WS_REMOVE_CUSTOMER_ADDRESS” errorMessage : “Unexpected failure” errorStatusCode : “400” but we need to change it to a different message. will provide… Continue reading Modify an Error on Model File