Showing results for 
Search instead for 
Do you mean 

Company custom table association

Copper Contributor
Posts: 29
Country: Ecuador

Company custom table association

[ Edited ]

I am trying to get a a custom table, created from a pluging that is associated with the company table. Every entity of my custom table can be associated with many companies and every company can be associated with many custom entities. Is there a way to get for a given company all associated custom table entities?


My custom table is called Branch. I am trying to use th Association manager like this  


AssociationManager associationManager = ACTFM.Associations.GetAssociationManager("Company", "Branch");

 Act.Framework.Entities.EntityList entityList = associationManager.GetAssociatedEntities(null, cmp); // where cmp is the given company!


How do I go on from here?Am I on the right path?