so, you just use record.transform() to transform customer to vendor (for example, when the customer is created)
b
battk
02/15/2020, 7:58 AM
you can see what the parameters are like from the urls in those suiteanswer articles
s
suitedev
02/15/2020, 8:04 AM
It seems to work… I just used record.transform() and used ‘ignoreMandatoryFIelds’ upon save.
When saved, both record types are created with the same internal id.
b
battk
02/15/2020, 8:05 AM
last person i told tried and had intermittent errors
s
suitedev
02/15/2020, 8:07 AM
hmm.. this attempt was successful.. I’ll keep an eye on it.. would be fantastic if it worked consistently upon create of the Customer..
n
NElliott
02/15/2020, 9:06 AM
Wonder what happens if you have a vendor with internal id of 7 and a customer of 7 and transform the customer? Maybe that's when you see an error if it doesn't increment the id?
b
battk
02/15/2020, 9:46 AM
entities share the same internal id pool
👍 1
battk
02/15/2020, 9:46 AM
if you have a vendor and a customer with the same internal id, then you already have the other relationship