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?
Load the other record, it will have the same internal id, but different record type
Appreciate your response. We would basically try to load related entities by ID and if they are present then they exist
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