Has anyone been able to work with the ‘otherrelati...
# suitescript
s
Has anyone been able to work with the ‘otherrelationships’ field on Entity records via Server-Side SuiteScript? SA: 74233 suggests that we call an application URL which requires session information. SA 85880 suggests that we create a new user and pass a NLAuth header with a custom role. Seems like a good candidate for an enhancement to record.transform()
a
""SA 85880 suggests that we create a new user and pass a NLAuth header with a custom role."" Following ths approach worked for me, if you want further details you can DM me.
s
Thanks @Agustin Aste! I really dislike the idea of making a http request with a bogus user/header. I was actually able to use record.transform successfully, as long as I use ignoreMandatoryFields on save, it works!