Can I set the custom form through suitescript?
# suitescript
a
Can I set the custom form through suitescript?
b
N/record Default Values tends to be the best for it
s
I read that wrong earlier. I agree with battk or you can set the value: rec.setValue({fieldId: 'customform', value: 1234}); EDIT: if you're trying to force users to use a particular form, you can simply restrict a role to the form and assign it to the user.
a
@battk This is what I needed. May I ask why should it be set it the default fields?
b
different fields are available on different forms
you dont want to use a form that doesnt have the fields you are interested in
a
I was under the impression that or was on the record, but not exposed.
Am I wrong?
b
sadly forms are more than just views
functionality is related to forms
notable for transaction forms are item filters
a
Appreciate the insight.
b
there are also things like different transformation linked to different forms
return authorization going to credit or cash
or sales orders going to cash sales or invoice