Hi all, Is there something specific you should do...
# suitescript
m
Hi all, Is there something specific you should do to add a record to the Other Relationships field? other than
setValue("otherrelationships", id);
*No Server Side API Access*: there is no mechanism via server-side SuiteScript to create the "Other Relationships".
b
its used to represent when an entity is multiple types, like a customer and a vendor
m
Yeah, so I can't just create UserEvent script to create the record I want and add it here, right?
b
the most stable workaround to create that relationship is to create both the customer and the vendor, and then use a EntityDeduplicationTask to merge the two
🙏 1
the more convenient but more unstable method is that customer to vendor is actually transform type that you can use with _*record.transform*_
m
Yeah I know, but they want to transform a Partner to a Vendor, which is not supported.
👀 1
I may end up using the first solution.
Thanks 🙏