Showing results for 
Search instead for 
Do you mean 

Custom Company Sub-Entity

New Member
Posts: 1
Country: Philippines

Custom Company Sub-Entity

Does anyone have sample code on creating custom sub-entity on company?



Copper Super Contributor
Posts: 138
Country: United States

Re: Custom Company Sub-Entity

Take a look at the Custom Sub-Entity Sample on the ACT! Developer Network Downloads page.


In the CreateCustomSubEntity method, there is a parentEntities arguement.  You can associate a sub-entity to the Contact, Group or Company Entity.  You can associate it to more than one, for example:

ParentEntity.Contacts | ParentEntity.Groups | ParentEntity.Companies


This would associate your sub-entity to all three Entities.


So for associating your sub-entity to just Company, specify "ParentEntity.Companies" as your parentEntity on the method. 


Hope this helps.


Bill Blakey
ACT! Development Team
Sage Software