It is possible to mimic custom fields (Created from Customization > Lists, Records, & Fields) in the same tab as fields created through SuiteScript by creating dummy fields in SuiteScript to represent the custom fields and creating them all through script. Then set the actual fields using SuiteScript Before Submit. See example below.
Note: Advanced functionality such as Sourcing & Filtering is not possible to replicate doing this. Defaulting can be replicated using the setDefault() method. Access and Translation would also not be duplicated but could be made to work via scripting.
No comments:
Post a Comment