Calculated Fields

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • animax
    Senior Member
    • Jun 2018
    • 155

    Calculated Fields

    Hi,

    in my EspoCRM i have an entity "Statistics".
    There are several number and text fields with numbers.
    One field should be the "Total" from 2 Fields.
    For example:

    Entity Statistics
    Fieldname1 + Fieldname2 = Fieldname3

    I've read the documentation, but im not an expert.
    Is it possible to give me an example how i can manage this simple problem in the Entity Manager?

    Thank you very much.
  • peterberlin
    Active Community Member
    • Mar 2015
    • 1004

    #2
    Hello,
    give it a try
    Feldname3= Feldname1 + Feldname2;
    Are both fields "Numbers" fields or "Text" fields?
    I haven't tried adding text fields yet.

    Comment

    • animax
      Senior Member
      • Jun 2018
      • 155

      #3
      Hallo Peter, du klingst Deutsch .-)
      Es sind alles Ganzzahl-Felder.
      Ich hab eigentlich gedacht ob Zahl oder Zahl als Text ist egal, weil PHP das ja sowieso managed.
      Ich probiere das mal.

      Comment

      • animax
        Senior Member
        • Jun 2018
        • 155

        #4
        Hi Peter,

        es funktioniert tatsächlich!
        Wie simpel!

        Großartig . Vielen Dank!

        Comment

        Working...