Requirement Based on the custom form selected from a select box, there are some fields whose display type can be false or true. On the save of that record, find all the custom fields whose display type is false and set those custom fields to empty. Solution
Tag: client script
Auto journal creation & application in Payment
Scenario: Create a journal for applying in the credit section of the payment. Ultimate need is to capture the credit info from the custom record, need to create a journal or custom transaction of journal type then apply the same in the payment record.We have seen a limitation of once payment is saved the credit… Continue reading Auto journal creation & application in Payment
Comparing Two dates
Scenario: We have a start date and a Due date and need to a validation where Due date date should be a date after the Start date. Solution: Usually we can use the JavaScript Date() function. But you can’t compare two dates using that. Better approach to make comparison between dates is to use getTime() function. This… Continue reading Comparing Two dates
Issue in setting a custom field value automatically using client script (field changed) during the inventory item creation.
In inventory item creation , when selecting a parent item (sub item of) i need to set the value of some custom fields in child similar to its parent item, like category type and attribute types. I have used field changed event in client script to automatically set the values corresponding to its parent item.… Continue reading Issue in setting a custom field value automatically using client script (field changed) during the inventory item creation.
NetSuite SCA customization for shipping cost calculation
Shipping cost calculation using scriptable cart functionality.
Proposal for Viton Seal Calculator
Proposal Summary Flowco would like to automatically calculate the Viton seals on the Sales order Requirement Flowco has items that require Viton Seals/washers. So, they need to automatically calculate the number of Seals required for replacement based on the item record(V1 size, V1 Qty, V2 size, V2 Qty) and need to add additional lines to… Continue reading Proposal for Viton Seal Calculator
Script on the Sales order and quote item add alert
Jira code: SCL-295 When a user adds an item to SO/Quote, check whether the item has similar products. If a similar product exists for the item a dialogue box should be shown and a message should be displayed. Created a client script, the dialog alert shows on item add.
Script Optimization
Script optimization is an essential and in here we discuss about handling searches effectively in scripts without affecting user experience.
Attaching Customized Template for Emails
Customization of advanced PDF templates for custom button prints.
Change location, based on customer selection in the invoice and opportunity record.
This article briefs about how to change location based on customer selection, in both invoice and opportunity records.