-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entity formulas menu unavailable #928
Comments
We decided to remove this functionality as nobody of known us customers is using it. It was "inherited" from EspoCRM and we never supported it. With the module "Advanced Data Types" you can create a field of type "script" and define the calculation logic there. Calculation is always done on the fly. Module price is 690 EUR. |
Can you give an example of the formula? Because there is not a word about this either in the documentation or in the demo! Therefore, it is not at all clear how to transfer your formulas and connect your third-party PHP scripts to the module you specified.
|
Good afternoon. The functionality existed and was available at the level of each entity in the menu where the entity's DELETE is located. This functionality was removed in the latest software update. If there is no information about the functionality in the documentation, it does not mean that the functionality did not exist. We use this functionality to concatenate fields to create composite keys that validate the record as unique. |
Can you give an example of your script in new realities? |
Field4 = string\concatenate(Entity.field1 , Entity.field2 , Entity.field3) ifThenElse(CONDITION, CONSEQUENT, ALTERNATIVE) |
Not quite clear. Does it work without the above module, if so how, or does it work with it? |
We have already spoken with Atrocore and this topic has already been resolved. Thanks |
Why is it so difficult to answer how you solved this problem, instead of answering with riddles? |
Dear @Vladzimir, we "inherited" dynamic calculations directly from Espo. This can be done using the paid Advanced Data Type module. You can also develop your own module to calculate something on the fly. We are discontinuing the formula functionality we inherited from EspoCRM, it is too difficult for us to support it. |
But in the docks for this module there is not a word about this functionality, as well as examples of use. |
yes, docs are still behind, With the module you get a new data type "script", so you can create a field or an attribute of type script. Script is some Twig script, which can take any input and calculates anything on the fly, when requested. It return a value of real data type, like integer, float, string, etc.. |
How can I make changes to another field using this module? |
Hello,
In the last update of Atrocore and AtroPIM, the FORMULAS option (menu) no longer appeared in the entity, where functions are used, for example, to concatenate fields and create composite keys. Has this feature been discontinued, or is there another way to do the same? Thank you very much
Core 1.7.6
PIM 1.10.1
DAM 1.6.1
The text was updated successfully, but these errors were encountered: