How to get data from table's display method

I need to replicate the project contract from one company to other company. While inserting the data from projinvoicetable from one company to other all fields are getting but customer account no and name’s display method is present in proj invoice table so how could i get the data from that method and replicate it into other company. If any one having idea about it please give reply.