fill in a field based on the number of records

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vinybarreto
    Member
    • Feb 2020
    • 30

    fill in a field based on the number of records

    I would like to know if there is a possibility for me to create a field where the data that will be filled in is based on reference and some other information within the system for example has a field called meetings delivered however this field needs to be filled out according to the number of meetings created ie the total number within it is the total number of meetings created I need a way to count the number of meetings created and the information within that field appears
  • vinybarreto
    Member
    • Feb 2020
    • 30

    #2
    yuri

    Comment

    • eymen-elkum
      Active Community Member
      • Nov 2014
      • 472

      #3
      Originally posted by vinybarreto
      I would like to know if there is a possibility for me to create a field where the data that will be filled in is based on reference and some other information within the system for example has a field called meetings delivered however this field needs to be filled out according to the number of meetings created ie the total number within it is the total number of meetings created I need a way to count the number of meetings created and the information within that field appears
      This needs you to write some codes by yourself, or you can ask for paid help from here.

      Basically espocrm offers formula for calculated field, but the function you need maybe not included, you can write your own formula regarding the count of meeting records.

      To me I prefer to do this using the "beforeSave" function on the repository class of the target entity.

      Best Regards
      CEO of Eblasoft
      EspoCRM Expert since 2014
      Full Stack Web Developer since 2008
      Creator of Numerous Successful Extensions & Projects​

      Comment

      • vinybarreto
        Member
        • Feb 2020
        • 30

        #4
        Originally posted by ayman.alkom

        This needs you to write some codes by yourself, or you can ask for paid help from here.

        Basically espocrm offers formula for calculated field, but the function you need maybe not included, you can write your own formula regarding the count of meeting records.

        To me I prefer to do this using the "beforeSave" function on the repository class of the target entity.

        Best Regards
        TKS for the suggest, i will verify this possibility of the paid help.

        Comment

        Working...