RE: Is it possible to load an entities “Other relationships” using SuiteScript?

We have successfully created a linked customer record from a vendor record by creating a customer and then merging it to the vendor using an entity deduplication task.

I am currently struggling to find a way to load a customer OR a vendor and programmatically access the “Other relationships”

For example if I were to load a vendor, is there a way to access the linked customer record?

nickladieu Rookie Asked on September 21, 2021 in SuiteScript.
Add Comment
3 Answers

Use N/query’s entity table to tell which entity has which other relationship. The type column gives information about the types, and there are specific joins for each  other relationship an entity could have

Advanced Answered on September 21, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.