try wrapping the customRecord: in an anonymous arr...
# suitescript
r
try wrapping the customRecord: in an anonymous array, I don’t know if it’ll work, but it seems like it should from the API’s code