ANS-0716 · SUITESCRIPT DEVELOPMENT

Why Does a NetSuite Note Record Appear Client Scripted When Help Says It Cannot Be?

Discover how client scripts deployed directly on a custom form can affect records like Notes, even if the record type itself is not client-scriptable.

Short answer

While NetSuite's Help documentation indicates certain records, such as the Note record, are not client-scriptable, a client script might still appear to affect them. This often occurs when the script is deployed directly on a custom form associated with that record type, rather than on the record itself. Such scripts execute upon page initialization, influencing the form's behavior.

Scenario

A NetSuite user observes client script behavior on a record, such as a Note record, despite NetSuite Help stating that this specific record type cannot be client scripted. This discrepancy leads to confusion regarding the source and deployment of the script affecting the record's form.

Solution

Certain records in NetSuite are not client-scriptable, a detail confirmed within the NetSuite Help documentation. However, a common reason for unexpected client script behavior on such records is that the client script is not deployed directly on the record itself, but rather on the custom form associated with that record type. When a client script is deployed on a custom form, it triggers upon page initialization, affecting the form's behavior regardless of the record's inherent scriptability. To identify such a script, administrators should review the client scripts deployed on the specific custom form being used for the record.

Expert NetSuite Support

Need help with this NetSuite issue?

SuiteScript Development consulting and configuration support

Talk to a consultant