Written by

Sr Application Development Analyst at The Ohio State University Wexner Medical Center
Question Scott Roth · Mar 15, 2023

Business Partner (Contact Information)

We are migrating to new servers, and I need to copy the information from Business Partner's over to the new server. Is this information in a Global or SQL table somewhere that I can export and import into the new IRIS environment?

Thanks

Scott

Product version: Caché 2018.1

Comments

Justin Owens · Mar 28, 2023

You can export and import the Business Partners from terminal.

To export you can use the command where FileName is a file where you want the data to be exported to. I usually save it to a .xml file.

do##class(Ens.Config.BusinessPartner).%ExportAll(FileName)

Then you can move that file to the other server and import it using the import command. The parameters are: 

  1. File to import
  2. Replace anything with the same name.
  3. Verbose logging
  4. Delete all entries before importing.
do##class(Ens.Conifg.BusinessPartner).%Import(FileName,1,0,1)
0