how do i get a action link to appear in a custom r...
# ask-stanley-ai
u
how do i get a action link to appear in a custom record Sublist ?
c
AI generated answer (using internal Slack threads):
****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** To get a custom record to appear as a sublist on another custom record in NetSuite, you need to create a custom field on the second record. This field should be of type List/Record and should reference the first custom record. There is a checkbox on the field definition that says
record is parent
. You need to check this box. This will make your first custom record appear as a sublist on the second custom record. If you want to add an action link to a sublist, you could add a button to the sublist. When this button is pressed, you can capture the line index, open a SuiteLet in a window, and process whatever you want there. You can also do this on a column, but it might only work in VIEW mode as you'd be adding an HTML field with a link/inline script. Please note that a link on view would need to include some robust reference that you can use to identify the line. Alternatively, you can have a button on edit and a link on view. This provides a slightly different user experience but might be more suitable depending on your specific needs.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847168
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.844055176
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83972168
Please provide your feedback on this answer.