Imagine you need to display information on a form without allowing users to edit it. A read-only field can be used to show data sourced from another record, ensuring that the latest information is always retrieved when the page loads. This prevents unintended changes while keeping important details visible and up to date.
For example, you want users to see a customer’s credit limit on an invoice without allowing them to change it.
In this case, you can create a custom read-only field that sources data from the customer record. Every time the invoice page loads, the field automatically pulls in the latest credit limit. Since the field is read-only, users can view the information but can’t modify it, ensuring accuracy while keeping the data easily accessible.
To do this you may follow steps below:
1.Either edit a custom field, or create a new custom field.
For example, a new custom field that will show a customer’s credit limit on an invoice.
2.Navigate to Customization > List, Record & Fields > Transaction Body Fields > New
3. Set the fields below:
Label: <Enter your field label here>
Type: Free-form Text
Store Value: Unchecked
4. In the Display subtab, set the following:
Display Type: Disabled
5. In the Sourcing and Filtering tab, set the following:
Source List: Customer
Source From: <Field that you want the data to be sourced from>
6. Click Save
Result:
On the invoice page, the custom field automatically pulls in the latest credit limit from the customer record once it loads. The field is not editable and can be only be read.
Invoice:
Customer Record:
For more information, you may check out the following articles:
New To NetSuite | How to Restrict Custom Fields for Specific Roles (View/Edit)
New To NetSuite | Custom Fields: Display
To our members! Have any of you given this customization a whirl? Don’t keep your thoughts to yourself—spill the beans! Your insights could be a game-changer for us and our fellow experts!