Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This script runs through all tables which are defined in the target.xml file and generates for each record a unique ID. This is a character of 36 bytes, example 1ET:a6e06d912fb315bc7114285ef8eb725c


Database changes which need to be synchronized with zTable


The zTable is necessary to assign selfHdl values. So it is necessary to add only new tables to the zTable list.

If you already have generated the target.xml in step 2 you can use this xml file as source.xml.

Generate the new target.xml, which contains synchronized data from the database:

RUN Akioma/Swat/Util/buildTableDefinitionFile.p("D:/temp/source.xml", "D:/temp/target.xml", "<DBName>", ?).

In the next step, import the data definition to the zTable:

RUN Akioma/Swat/Util/ImportTableDefinitionFile.p("D:/temp/target.xml").