8 Replies Latest reply on Jan 23, 2012 11:12 AM by AntonChuykin

    Best way to copy record from one table to another?

    AntonChuykin

      Title

      Best way to copy record from one table to another?

      Post

      Hello there!

         I have a very simple task: I have table with order confirmations and when the deal is done I need to issue invoice. 90% of information in my invoice is my order confirmation. Of course i don't want to make double work, so I just want to copy full record in one table and place it in another.

      But there are 2 complicated issues:

      1. of course I want to have another serial numbering and dates for invoicing, so this fields i would like to skip

      2. I have portal table in my order confirmation, so it should be copied too. 

      What is the best way to do it? I read around, that copy+paste features are not recommended. I thought about export into temp. file, them move to new layout and import from this file again?

      please check attached screenshot of my future table.

      Thank you for all your advices!

      %D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2012-01-15_%D0%B2_22.57.35.png