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/If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks. -
Hi,
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