Copy field content from one entity to another

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • roxt
    Junior Member
    • Oct 2018
    • 3

    Copy field content from one entity to another

    Hi,
    I created a new entity and would like to copy the field from an existing entity to it: E.g. using Quotes>Quote Number and copy it to the new entity Invoices> Quote Number.

    I tried the following: I created a link between Quotes and Invoices and created a field "number" in Invoices of similar type as in Quotes (number, Quote Number, varchar). Then I added this field in the Layout Manager to the List and Detail views of Invoices. However, by creating a new Invoice from an existing Quote, the field Quote Number is not copied. What is my mistake?

    Thank you very much!
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hi,
    What is the field type using for Invoice Quote Number field?

    Comment

    • roxt
      Junior Member
      • Oct 2018
      • 3

      #3
      Hi,
      it is the same as for the Quote entity: Varchar.

      Thanks

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        How did you try to copy this field? Maybe foreign field will be enough

        Comment

        Working...