Replace Data Examples

SuiteBundler uses the following rules when you update a bundle that contains record data with parent-child relationships and use the Replace Data option:

Note:

The examples in this section assume that the source bundle has already been installed one time in the target account.

The following table includes bundle update examples for the Replace Data update option:

Change Made In Account ...

Description of Changes

Effect on Source Account

Effect on Target Account

Source

Remove parent-child relationship a : b in the source account.

After upgrade, relationship is removed in the target account.

Before edit:

Effect on source account before edit.

After edit:

Effect on source account after edit.

Before update:

Effect on target account before update.

After update:

Effect on target account after update.

Source and target

In the source account, rename parent record, b to p, with a child record.

In the target account, edit parent-child relationship, b : c to b : n, where n is a non-bundle record.

After upgrade, parent-child relationship b : n is overwritten in the target account and non-bundle node n is removed.

Before edit:

Effect on source account before edit.

After edit:

Effect on source account after edit.

After target edit and before update:

Effect on target account after target edit and before update.

After update:

Effect on target account after update.

Source

In the source account, delete parent record e in a parent-child relationship e : f.

In the target account, the parent-child relationship is removed, and the parent record is removed.

Before edit:

Effect on source account before edit.

After Edit:

Effect on source account after edit.

Before update:

Effect on target account before update.

After update:

Effect on target account after update.

Source and target

In the source account, add two new records with the parent-child relationship v : w.

In the target account, add two new records with the parent-child relationship y : z.

After upgrade, the two new records and the relationship are copied to the target account. The two new records and the relationship in the target account are removed.

Before edit:

Effect on source account before edit.

After edit:

Effect on source account after edit.

Before edit:

Effect on target account before edit.

After edit:

Effect on target account after edit.

After update:

Effect on target account after update.
Note:

For more examples for the Merge Data or Preserve Data preferences, see Merge Data Examples or Preserve Data Examples.

Related Topics

Hierarchical Custom Record Data Handling on Bundle Update
Merge Data Examples
Preserve Data Examples

General Notices