Forum Discussion
Will_H
2 years agoMYOB Moderator
Hi gwomacks ,
I believe this should be possible by specifying the
DefaultCompanyId
On an update/create request for a contact, as this _should_ swap the company the contact is assigned to the new one.
Let me know how the above gets on. I don't have a specific example of this in my postman collection currently.
Note: If you want to manage full multi-entity relationship mapping (Which Exo Business can do) then the API does not have that level of smarts, in that case you would need to either set up some kind of database trigger on an extra field, or a custom table with logic (trigger, or stored procedure called somehow) to create the relevant links for you.
gwomacks
2 years agoMember
Thanks Will. As mentioned in the post, I've tried setting the default company, but this seems to be an entirely different concept. For example, after setting the default company, the contact won't show up when listing that debtor's contacts.
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.