This article demonstrates how to create an elegant message banner across the top of the estimate form.
This will display when there is an informative note about a customer.
Another application may be to trigger a banner to show when there is a past due amount.
This design pattern utilizes a client script, the SuiteScript message module and a custom body field on the customer record.
Our Client wanted to display notable information about a customer to the employee on transaction creation or edit.
Any given customer may or may not have a custom alert note.
The following is not intended to say that this is the only way to accomplish this outcome nor is it intended to be a lesson in suitescript theory or otherwise.
It is meant to serve as a general outline.
We take great care to be good stewards in a NetSuite environment.
Note the internal id naming convention.
We follow a strict structure where in the above screenshot << _ep_ >> is a two character abbreviation representing the company.
This indicator allows a client to readily identify things that they have customized as opposed to what was created by a third-party bundle.
Line 13: pageInit() is used to trigger evaluation if the transaction was spawned from the add new button on the customer record or was previously created and is simply being edited.
Line 21: fieldChanged() is used to trigger evaluation if the transaction was spawned (customer independent) from the add new button located above the NetSuite center tab on any page.
Line 31: lookupFields function is used in the search SuiteScript module to get our custom entity field value from the customer.
Line 46: hide the banner if the employee has switched the customer and the new customer has no custom alert.
If you need help doing more with your NetSuite instance, give us a call.
We're here to be your NetSuite system experts.
This way you can remain focused on the needs of your customers and growing your business.
Here's what we've been up to recently.
This article is relevant to you if you are running your business on Oracle NetSuite and would like to add an isolated custom note on a transaction line. This article demonstrates a simple end to end architecture to customize and extend the capabilities of NetSuite.
This article will be relevant for you if your company is using NetSuite ERP, uses standard inventory items and a new business requirement arises where you now need the functionality of Serialized or Matrix for an existing item.
From us to your inbox.