Announcement
Collapse
No announcement yet.
Condition in the workflow
Collapse
X
-
Hi,
Needs coding. You need to create a formula function. See https://www.espocrm.com/documentatio...on-in-formula/
-
Originally posted by yurikuzn View PostHi,
Needs coding. You need to create a formula function. See https://www.espocrm.com/documentatio...on-in-formula/
Tell me please how to get Activities related to Opportunity?
Comment
-
I tried to do this, but my code does not work
PHP Code:$dostavki = $this->getEntityManager()->getEntity('Dostavki', $entity->get('Id'));
$opportunity = $this->getEntityManager()->getEntity($entity->get('parentType'), $entity->get('parentId'));
$parentType = $entity->get('parentType');
$parentName = $this->get('parentName');
$parentId = $entity->get('parentId');
PHP Code:$Dostavkilist = $entityManager->getRepository('Dostavki')->where(array(
'parentName' => $parentName, 'parentId' => $parentId ))->find();
Comment
Comment