Announcement

Collapse
No announcement yet.

Virtual Fields

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Virtual Fields

    Hello,

    i would find it useful if we could have virtual fields were we can put a formula in it.
    For example if i have an entity A, that can linked to entitiy B or C, and want to display a field from B or C.

    I know this can be workaround with entity formula and an extra field when entity A (B, C) is saved, but this feels weird.

  • #2
    for using a field of related records you can create foreign field in Entity Manager.
    Also you can create notStorable fields with calculation manually in entityDefs
    https://forum.espocrm.com/forum/gene...2-float-fields
    Job Offers and Requests

    Find Developer
    Find Customer

    Comment


    • #3
      Can you help me with the notStorable field?
      How looks the formula for this: "select": "<select field A if not empty else select field B>".

      Comment


      • #4
        https://stackoverflow.com/questions/...ql-ifnull-else
        Job Offers and Requests

        Find Developer
        Find Customer

        Comment


        • #5
          Thanks, for the answer, didnt know that we can use all php functions there.

          Comment

          Working...
          X