you can do both, and share the logic in an shared ...
# suitescript
b
you can do both, and share the logic in an shared custom module