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
two issues with nlapiMergeTemplate()
I've encountered two issues with nlapiMergeTemplate that I don't like I wanted to bring them up here to see what you all think... if the behavior should be changed.[LIST=1]
[*]MUST specify a record type and id to perform a merge. This might seem obvious, but there are cases when you would not want to do this (EG: A Task record is not supported with nlapiMergeTemplate (throws UNEXPECTED ERROR) so in order to fill the gap where NetSuite decided to ignore the sendEmail field we need to merge and email on our own - the only LOGICAL record is the task but we can't use it). It seems that since we can pass a custom tag hash we shouldn't be required to specify a valid record.
Steve Klett | Senior Developer
NetValue Technology