TreeMover File Rules

TreeMover reads these records in the following strict order during an import:

  1. PeopleTools Version (optional).

    This record is needed only if loading data from an 8.1 or later PeopleSoft database.

  2. Tree Structure (optional).

    This record is needed only if the structures do not already exist. One or more structure records can be loaded.

  3. Tree Definition (required).

    The information needed to create a tree. Only one tree definition record can exist in the input file.

  4. Tree Level Data (optional).

    The detailed level data for a tree. One or more level data records can exist in the input file.

  5. Tree Levels (required for leveled trees).

    The levels defined for the tree. Must include enough to define all the nodes. One or more level records can exist in the input file.

  6. Tree Node Data (optional).

    The detailed tree node information: description, effective date, and so on.

  7. Tree nodes and leaves (required).

    Tree node and detail information. Each node must contain either a parent node or a previous sibling node. The referenced node—parent or sibling—must precede the node that references it in the input file.

    Detail values for a tree must exist in the database before importing the tree.

    One or more node records listed in level plus sibling order—that is, the root node on the first level, nodes on the second level, and so on—can exist in the input file.