Transfer assigned entries from one entity to another

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • boris
    Junior Member
    • Apr 2019
    • 17

    Transfer assigned entries from one entity to another

    I am just starting with formula script and have one problem:
    I have a 1:n relation between contacts and products (each person can have several products). Once a year I create an invoice for the products, For this I have ab entity invoice which also has a 1: n relation to contacts (one contact can hace several invoices).
    How is it possible to copy the products assigned to a contact to each new invoice I create?

    Many thanks
    Boris
  • victor
    Active Community Member
    • Aug 2022
    • 815

    #2
    Try the Sales Pack extension functionality. You can test it for free in the following ways: https://www.espocrm.com/demo/.

    Comment

    • boris
      Junior Member
      • Apr 2019
      • 17

      #3
      I found out myself, that it could also be done by a workflow for the entity invoices like: produkteIds = targetEntity\attribute('produkteIds')

      Comment

      Working...