RE: Sublist Addfield – set field to be first in the list

Hello,

 

I want to insert a new custom field with beforeload function to item sublist in Sales Order form.

This is the easy part, but added field is shown by last field in the grid.

Is there any change to set this field to be populated as first column in the item sublist.

 

Vesku

Vesku1980 Rookie Asked on October 4, 2019 in SuiteScript.
Add Comment
1 Answers

Based on the documentation, it doesn’t look like there is an “insertBefore” or “insertAfter” parameter that you see on other serverWidget creations like “tab”.

 

Perhaps you should add the field through the UI and then you’d be free to move it around on the form. It will still be accessible via your script using whatever field name you give it on your setup in the UI.

 

Beginner Answered on October 7, 2019.

Hi, do you know if there is possibility to add select options via script to field what is added through UI.

I think i can’t save the cústom field as select field, without selecting the sourcelist in UI.

on October 7, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.