Jump to content


Add accountContactAffiliation within Account

contactAccountAffiliation Account contact modules

  • Please log in to reply
No replies to this topic

#1 jamesGO3D


    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 03 March 2014 - 06:29 PM

Could you please explain how I could go about creating an accountContactAffiliation when submitting an Account? By creating a 'Contact' field called "Customer" and using an 'Account' field, I want to create a accountContactAffiliation between the 'Contact' and the 'Account' with a role of "Customer" when the form is submitted. I know this is done in the DefaultController.php and have attempted to replicate the processEdit functions as well as its "parent?" functions to no avail(actionCreateFromRelation & actionEdit). Is there a simpler way to do this using these two fields to create an affiliation? Please explain in as much detail as you are able to. I feel like I'm so close (and also understand that there will be more functions required to delete the affiliation etc.).

Also tagged with one or more of these keywords: contactAccountAffiliation, Account, contact, modules

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users