Sample code for adding item group in client script. This code allows to add items, change quantity as per our choice irrespective of the actual items in the item group. // code for editing the Estimate record with group item in client script require([‘N/record’],function (record) {var rec = record.load({type: record.Type.ESTIMATE,id: 933121, isDynamic: true,});// Group Itemrec.selectNewLine({… Continue reading Adding Item Group in Client Script
Author: Swapna Lazar
Customizing Templates for System-Automated Email
Users with the Set Up Company permission can modify the following system email templates for automated email notifications. To modify a system email template:Go to Setup > Company > Email > System Email Templates Click Edit next to the type of email you want to change. If you need to modify a non-default system email… Continue reading Customizing Templates for System-Automated Email
Big Commerce – Fetch Order by API call
To get order details from Big Commerce, Following API need to be used. Request: GEThttps://api.bigcommerce.com/stores/{store_hash}/v2/orders/{order_id} AuthenticationX-Auth-Token in header Parameters– store_hash in path – string– Accept in header with default of application/json – string – required– order_id in path – integer – required – ID of the order.Responses:1) 200 (success – Order object returned in responses)2)… Continue reading Big Commerce – Fetch Order by API call
Error on Setting Amount field values via script
Scenario: While creating transaction records via suitescript, In some case when setting which the price/amount value field, following error raise: “you have entered an Invalid Field Value 1,191.78 for the following field: rate”, This is because the price contain a comma ” , ” in the value. For other three digit values, script will work… Continue reading Error on Setting Amount field values via script
Restrict edit of sublist fields in Client script:
You can use the validateLine event in your client script to prevent users from adding lines when certain conditions are met. The function you use simply needs to return a Boolean value: true if the line addition can continue, false if it should not. Similarly, there is a validateDelete event you can use to prevent… Continue reading Restrict edit of sublist fields in Client script:
Vtiger CRM – Integration Basics
Vtiger CRM is online software that helps 300000+ businesses grow sales, improve marketing ROI, and deliver great customer service.Vtiger Cloud offers REST-friendly API for integration with 3rd-party-applications. API accepts form-encoded request bodies with basic authentication as a header for security. Limits per EditionYou can trigger a certain number of API calls per day/per user based on the… Continue reading Vtiger CRM – Integration Basics
Finance Charges
Finance charges are late fees charged to your customers for overdue invoices. Many businesses charge late fees or finance charges on overdue invoices. This allows business owners to recover costs incurred by carrying unpaid bills on their books. Finance charges are usually calculated on a monthly basis. NetSuite computes the finance charge using the following… Continue reading Finance Charges
Proposal for Weekly Email for Past Due Invoices
Proposal summary The proposal covers the scope of weekly email sending for past due invoices along with invoice of interests. Requirement Send weekly email to the customers for past due invoices along with invoice of interests. Our Solution:We will create a scheduled script to send weekly email to the customers with terms. The email will… Continue reading Proposal for Weekly Email for Past Due Invoices
Email Template – Set Dynamic Value via script
Scenario: Use dynamic value in Email Template while sending email using SuiteScript 2.0 Firstly Create an email template: Here you can see, some variables prefixed with “NL”. You can give any name to your variable. Now in SuiteScript 2.0 code, use below code to replace variables of email template before sending email. //Get Transaction IDvar… Continue reading Email Template – Set Dynamic Value via script