You can definitely write what you want to a custom...
# suitescript
m
You can definitely write what you want to a custom record