hi there,
we have cases, where many contacts from different acounts are involved.
is there any reason, why you can only assign one account (company) to a case (project)?
and on the other side you can assign many contacts (projectmembers) from different accounts.
just an idea.. how about to remove this field, and show aditionally the companies of the contacts, which where assigned.
this would ease the selection of accounts and contacts, remove possible inconsitency and also would work, when you choose in the layout manager to work with contact instead of contacts.
thanks
edit:
wow.. just found out i can tweak the cases in entity manager, and add a n:n relationship to accounts. thats really astonishing!!
but this new field does not behave like contacts, and i have to manage both (accounts and contacts).
can this be done with a formula?
like
we have cases, where many contacts from different acounts are involved.
is there any reason, why you can only assign one account (company) to a case (project)?
and on the other side you can assign many contacts (projectmembers) from different accounts.
just an idea.. how about to remove this field, and show aditionally the companies of the contacts, which where assigned.
this would ease the selection of accounts and contacts, remove possible inconsitency and also would work, when you choose in the layout manager to work with contact instead of contacts.
thanks
edit:
wow.. just found out i can tweak the cases in entity manager, and add a n:n relationship to accounts. thats really astonishing!!
but this new field does not behave like contacts, and i have to manage both (accounts and contacts).
can this be done with a formula?
like
Code:
$newaccountsIds = list(); $newaccountsNames = list(); $accountid=''; $i=0; ifThen(entity\isAttributeChanged(contactsIds), ( while( array\length(accountsIds)>0, array\removeAt(accountsIds, length(accountsIds)-1); array\removeAt(accountsNames, length(accountsIds)-1); ) ); while( $i < array\length(contactsIds), ( $accountid = record\attribute('Contacts', array\at(contactsIds, $i), 'accountid'); array\push($newaccountsIds, $accountid); array\push($newaccountsNames, record\attribute('Accounts', $accountid, 'accountName')); $i = $i + 1; ) set accountsIds=$newaccountsIds; set accountsNames=$newaccountsNames; ); ) )
Comment