Field filled in automatically in Account

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lukasz412
    Member
    • Sep 2016
    • 50

    Field filled in automatically in Account

    Hi
    Is it possible to create a field in Account, which will be filled in automatically with the field value from Opportunity?​
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    Yes it is, it require coding. You mean during the "Create" right? If it something else like a Foreign field then my answer below does not count.

    You can watch a how-to here: https://www.youtube.com/watch?v=MdaJIGxOWpU

    And based on that, you can read some of the code I create here: https://forum.espocrm.com/forum/gene...3754#post83754

    Comment

    • lukasz412
      Member
      • Sep 2016
      • 50

      #3
      I am looking for a solution without coding. Unfortunately, I have no programming knowledge.

      Comment

      • shalmaxb
        Senior Member
        • Mar 2015
        • 1603

        #4
        relationship and formula

        Comment

        • victor
          Active Community Member
          • Aug 2022
          • 728

          #5
          Hi lukasz412,

          You need a workflow that will have a Trigger Type "After record updated" and Action (Update Related Record) screenshot 1.
          Note that with such a workflow, if an Account has one, two, or a hundred related Opportunities, the values ​​of the Account fields will be copied to each of them.
          Attached Files
          Last edited by victor; 11-22-2022, 09:08 AM.

          Comment

          • lukasz412
            Member
            • Sep 2016
            • 50

            #6
            Thanks for the answer.
            I understand that the workflow is in the Advanced Pack.
            Is there any other option or do I have to purchase the Advanced Pack?​

            Comment

            • esforim
              Active Community Member
              • Jan 2020
              • 2204

              #7
              Other option is code, and you not willing to watch the video to learn the code so the next best bet is Workflow... which yes: cost money to use.

              PS. I went with the code method as there is a video guide on how-to. And also I don't have Advanced Pack

              Comment

              • lazovic
                Super Moderator
                • Jan 2022
                • 809

                #8
                Hi lukasz412,

                The best option for you would be to use a field with the Foreign type: https://docs.espocrm.com/administration/fields/#foreign.

                Comment

                Working...