RE: How to create a vendor record from a customer record? and attach it to “other relationship” field by SuiteScript?
i am creating a customer record in an userevent aftersubmit script. After that i need to create and attach a vendor record with same name, in the
other relationship field in the relationships tab on the customer record.
Not supported in the SuiteScript API, as you found. But Prolecto has a “hack” using a URL in the browser (so maybe you can simulate a URL call in your script). Also there *MAY* be a back-door method to create a Vendor record. Now you have a Customer record and a Vendor record. And then use the Duplicate detection function to merge them into 1 surviving record. I don’t know. Never done it. Just an idea to explore.