Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
bug with setting record and recordtype fields on a message record
As an ugly, embarrassing and last-ditch-effort hack to be able to attach a message to a custom record from Web Services I devised the following plan:
[LIST=1]
[*]Create message and attachment in web services (easy)
[*]Insert special text into the body of message (to be parsed by a SSS) (EG: ##ATTACHTORECORD_<recordTypeID>_<recordID>##)
[*]SSS UE parses record type ID and record id from message
[*]SSS UE sets message's 'record' and 'recordtype' fields (listed in the docs as supported!)
[*]SSS UE scrub the BS "special text" from the message and allow it to save
[/LIST]
Now, it's not pretty, but as far as I can tell (and have been told) I have no other options.
Steve Klett | Senior Developer
NetValue Technology