Proposal For Auto Invoice Creation From Item Fulfilments

Proposal summary   This proposal covers the development plan for the automated invoice generation in the client’s NetSuite account for orders placed through Magento. Requirement   The client wants to have a functionality to automatically generate invoices for item fulfillment records when they are created through Magento. Currently, they follow the manual process and the user has… Continue reading Proposal For Auto Invoice Creation From Item Fulfilments

Proposal For Consolidated Packing Slip Of Sales Orders

Proposal summary This proposal covers the scope of the consolidated packing slip printing functionality with a single button for multiple records. Requirement The client wants to have a ‘Print Packing Slip’ printing functionality to print a single packing slip for a sales order even if multiple fulfillment records are present. Currently, when each item is… Continue reading Proposal For Consolidated Packing Slip Of Sales Orders

Proposal For Customized Generate Statement Page

Proposal summary   This proposal covers the scope of the customized ‘Generate Statement’ page. Using the custom page, statements can be generated and mailed to the custom-invoice email field value provided by the client. Requirement  The client wants to generate statements for all customers in bulk. They also need to email these statements to the customers… Continue reading Proposal For Customized Generate Statement Page

How to create a Project Task record through Suitescript

We can use a ‘Project Task’ record to track the progress of tasks, assign them to employees, and manage them through approval by supervisors/managers.These can be created via Suitescript as well. For this use the ‘N/record’ module and record.create() functionThe required fields for creating a ‘Project Task’ are:company: This is a ‘Project Name’ type field… Continue reading How to create a Project Task record through Suitescript

Attach email data to a record without sending an email

Emails attached to the records can be seen under the communication subtab. We can add a new email entry here by using the ‘N/message’ record without actually sending any email. Message records can be edited only during the create operation. After they are created and submitted, existing message records cannot be edited. Existing message records… Continue reading Attach email data to a record without sending an email

Show custom HTML tables/components inside the NetSuite record

We can add custom HTML tables/components inside any NetSuite record body or subtabs using an ‘Inline HTML’ field. For this first create a ‘inline HTML’ field inside the required record. Add the HTML code in the ‘Default value’ field under the ‘Validation & Defaulting’ subtab in the field record. For this, we can check the… Continue reading Show custom HTML tables/components inside the NetSuite record

Fetch the workflow field values related to the record deployed in suite-script using a saved search

Recently I had to fetch the values of workflow fields from within a Suitelet that is triggered by a button action. Workflow fields can be updated based on field value updates in a NetSuite record but there is no direct way of fetching these values in a script. For this, I used a saved search… Continue reading Fetch the workflow field values related to the record deployed in suite-script using a saved search

Add search query as the data source to a template

We can pass search query as a data source to a template instead of a single record data.Use the function TemplateRenderer.addQuery(options) for this. This is a part of the N/render module and is available for all server scripts(of the 2.x version).The parameters require are: ‘options.id’ of string type which stores the id of search if… Continue reading Add search query as the data source to a template

Add custom values as the data sources to a template

We can pass custom objects, and XML values as data sources to a template instead of a single record data.Use the function TemplateRenderer.addCustomDataSource(options) for this. This is a part of the N/render module and is available for all server scripts(of the 2.x version).The parameters require are: ‘options.alias’ of string type which stores alias for the… Continue reading Add custom values as the data sources to a template