Scenario
Customize sublist of Lot Numbered Assembly Item and Serialized Assembly Item/s.User may be required to add field(s) on the sublist of the item record. To add field on the sublist, there are two requirements: a Custom Entity field and a Script.A custom record is needed to store the information that is being entered on the vendor sublist of the item record. The script set/sets the value of the custom field from/to the sublist, and create the column on the sublist as well. Create a custom record that will store the values of the custom fields.
Solution
Create the custom record field:
- Navigate to Customization > Lists, Records & Fields> Record Types > New
- Set Label: (name of custom record)
- Set Id:
- Click Save
Create fields in custom record:
- Click the New Field button to create custom field that will link the custom record and item record
- Set the following:
Label: Item
ID: _item
Type: List/Record
List/Record: Item
Store Value: checked. - Click Save
- Click the New Field button to create custom field that will store the value of the custom field.
- Set the following:
Label: (name of the field)
ID: _custom_field_1
Type: Free-Form Text (you can choose any type depending on the requirement)
Store Value: checked - Click Save