when selects the option make a copy in sales order if there is custom field, the value in the custom field also copies to the record. to avoid this scenario write code in userEvent before load const beforeLoad = (scriptContext) => { if (scriptContext.type === scriptContext.UserEventType.COPY) { var currentRecord =… Continue reading Make a copy Scenario in case of Checkbox
Month: June 2023
Resolve Error “Hash.update: Missing a required argument” on Activation of Theme
Scenario Upon activation of a customized theme or extension, it is possible to receive an error with a message “Hash.update: Missing a required argument..”. This error mainly resembles the impact of changes that have not been fully implemented. Solution In order to resolve this error, .tmp files that have been created upon changes in the root folder… Continue reading Resolve Error “Hash.update: Missing a required argument” on Activation of Theme
Custom flow to sync related items from NetSuite as Magento related Products.
STEPS 1.Create Export Connection 2.Create Source (NetSuite) 3.Create connection for Magento. 4.Create import for Magento and give all required information such as API Name, Operation, SKU etc. 5.Perform Mapping 6.Then on running the flow we can see that the related item from the item record in NetSuite is successfully synced to Magento as Related Product.
YOU_CANNOT_EDIT_THE_VALUE_IN_THE_SUBSIDIARY_FIELD_AFTER_THE_INVENTORY_COUNT_HAS_BEEN_CREATED. error on submit fields
When trying to set the custom field value as true in summary function of map reduce script in inventory count. Error occurred after setting Field value using Record.submitFields. Exact reason not getting. But this is solved by load the record and set field by setValue.
How to desgin “remeber me ” button in website for registion page
How to universally parse JSON into blocks using jQuery
In this article we are going to know how to universally parse JSON into blocks using jQuery. In jQuery, to parse any data to any block is carried over by using DOM Insertion methods. Some of DOM Insertion methods are append(), appendTo(), html(), prepend(), prependTo(), text(). To parse JSON into any block is also handled… Continue reading How to universally parse JSON into blocks using jQuery
New column in myaccount overview
To add new column in myaccount page through extension . In array original.column add new column .
Stop Scrolling of background while a popup is open
We can disable scrolling of background when a pop up is open using some js and css tricks.Just add a class to body of page and set height of body to 100% and overflow hidden and position fixed using the class. Add following code in css In javascript,add/remove class to body as per our requirement.… Continue reading Stop Scrolling of background while a popup is open
Create parent customer from email domain.
Create parent(master) customer from email domain.
Set a Default Purchase Order Custom Form Based on a Subsidiary
Set a default Purchase Order Custom Form to be used based on a Subsidiary. This is achievable by creating a Custom Record that has a Custom Field which will contain the Subsidiary information and set the Custom Form on a Purchase Order using a Client Script. Create a Custom Record Navigate to Customization > Lists, Records & Fields > Record Types > New… Continue reading Set a Default Purchase Order Custom Form Based on a Subsidiary