script that triggers only on Create context of Payment ,that will send the emailusing the email template “CTG-Invoice” to anyone with “receive invoice” (on the customerform, under Relationships) checkbox checked and terms not Empty. only send the email in the case of invoice is “Paid in Full”
Tag: NetSuite customization
Cost Allocation Method drop down
Scenario: One the Landed Costs tab of Item Receipts, the field value of Cost Allocation Method drop down option to be set as Quantity, the second option, rather than weight. Solution: Normally this can be achieved by using workflow. In this condition we are not able to fetch the field “Cost Allocation Method” in workflow.… Continue reading Cost Allocation Method drop down
Invoice Email
script that triggers only on Create context of Invoice,that will send the emailusing the email template “CTG-Invoice” to anyone with “receive invoice” (on the customerform, under Relationships) checkbox checked.
Rescheduling Tasks using scheduling script
Scenario: Example for rescheduling tasks using scheduling task For rescheduling, you need to import ‘N/task’ module first. It is needed for creating each rescheduling tasks after reaching the limit of remaining governance. You can just call this function whenever you want rescheduling. You can change the parameters of the function according the requirement. In this… Continue reading Rescheduling Tasks using scheduling script
Automatically creates Fixed Assets from Vendor bill/ Journal
Scenario: Automatically create fixed assets from Bills/Journals when these records are created in Netsuite Solution: When a vendor bill/journal creates corresponding fixed asset records will be created automatically if the line count is less than 10. //JJ UE FA Automation QG-118.js //JJ CS Validations for FA Creation QG-119.js Vendor bill Example:
Navigation from One suitelet to Another suitelet
Scenario: By clicking from a suitelet it need to be navigate to another Suitelet Solution: Every elements in the suitelet can be added by using usual suitelet form and form elements. To navigate from a suitelet to another you can use window.location.href, along with URL. In this example, projects are listing and according to the… Continue reading Navigation from One suitelet to Another suitelet
Showing values of a field according to the values of another field using Suitelet
Scenario: There can be one or more tasks can be for a project. Here We are listing projects and It has to list the project tasks of selected project using a suitelet. Solution: //JJ SL Suitelet.js //JJ CS Validations.js
Excluding Inactive values from a list in a custom field
Scenario: We have a custom field ‘Asset type Department’, which is a list/record field. it lists departments. There are some inactive departments are there. We need to filter out these inactive departments from the list. This field is sourcing from Employee record. Solution: Open the custom field setup page 2. Go to Sourcing & Filtering… Continue reading Excluding Inactive values from a list in a custom field
How to update Matrix item by Using CSV import
The CSV file containing your matrix items data should include columns that map to the following fields. For best results, set the column headers to match these field names. External ID: Recommended for all CSV imports, to serve as a unique identifier for each record. Item Name/Number: Name for each matrix item. Matrix Type: Possible… Continue reading How to update Matrix item by Using CSV import
Commerce Categories
Commerce Categories For creating a Commerce category you’ve to first Create a Commerce Catalog. Commerce categories are managed in the context of a commerce catalog. Navigate to Commerce > Content Management > Commerce Catalogs > New and enter the following: Site Name Name DESCRIPTION – Enter a meaningful description for the catalog. Save the record… Continue reading Commerce Categories