Code Monkey home page Code Monkey logo

Comments (12)

fbmteam avatar fbmteam commented on September 26, 2024 1

Field4 = string\concatenate(Entity.field1 , Entity.field2 , Entity.field3)

ifThenElse(CONDITION, CONSEQUENT, ALTERNATIVE)

from atrocore.

atrolex avatar atrolex commented on September 26, 2024

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.

from atrocore.

Vladzimir avatar Vladzimir commented on September 26, 2024

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.

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.

from atrocore.

fbmteam avatar fbmteam commented on September 26, 2024

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.
We have already spoken with Atrocore and this topic has already been resolved. Thanks

from atrocore.

Vladzimir avatar Vladzimir commented on September 26, 2024

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. We have already spoken with Atrocore and this topic has already been resolved. Thanks

Can you give an example of your script in new realities?

from atrocore.

Vladzimir avatar Vladzimir commented on September 26, 2024

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?

from atrocore.

fbmteam avatar fbmteam commented on September 26, 2024

We have already spoken with Atrocore and this topic has already been resolved. Thanks

from atrocore.

Vladzimir avatar Vladzimir commented on September 26, 2024

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?

from atrocore.

atrolex avatar atrolex commented on September 26, 2024

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.

from atrocore.

Vladzimir avatar Vladzimir commented on September 26, 2024

Dear @Vladzimir, we approach 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.

from atrocore.

atrolex avatar atrolex commented on September 26, 2024

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..

from atrocore.

Vladzimir avatar Vladzimir commented on September 26, 2024

new data type "script", so you can create a field or an attribute of type script.

How can I make changes to another field using this module?
Previously I used a function like name = nameOther
Whenever a product was changed, the field was automatically saved with the required value.
How can I do this now?

from atrocore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.