I'How do I get a field like "Additional Pricing" (...
# suitescript
s
I'How do I get a field like "Additional Pricing" (as shown in the picture) in a record sublist which - will open a pop up form ? Is It can be done functionally? or is there any technical workaround . ? Slack Conversation
t
I don’t think netsuite allows you to create custom subrecords, the closest you can get is a child record on this record, which can work as a popup and store your relevant information. But that will be separate sublist alltogether, not the item one.
s
Yes @tuli, i understand that. I just wanted a filed on edit or create mode on the Sublist to open a "suitelet page". Where I'll fill in details and store it in the custom record.
n
You could add a button to a sublist and when it's pressed 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 I suspect only on VIEW as you'd be adding an html field with a link/inline script.
s
Yes @NElliott. You are right . It's comming up only on view mode.
n
You would probably want a custom button as you will want to know the line index and you cannot select a line in VIEW mode. This removes the need for a link on the line although it's a slightly different user experience. Alternatively, have a button on edit and a link on view.
A link on view would need to include some robust reference that you can use to identify the line though.
s
Yeah right @NElliott.