· 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?



Product version: Caché 2018.1
Discussion (2)2
Log in or sign up to continue

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)