Vorheriges Thema: API Reference List

Nächstes Thema: Map

Translation Script Objects

By default, the translation script runs in safe mode using the safe objects listed in this section.

Translation Script Overview

Insights into existing commit rules & behaviour

The following insights may help understanding the existing resource/ changeset commit behavior.

  1. A resource/resource group cannot have multiple uncommitted changes in two separate change sets.
  2. A resource/resource group cannot have multiple uncommitted changes over two separate dates.
  3. Changing any of the following fields of a resource/resource group (from a particular effective date) cause the resource (and only that particular resource) to have uncommitted changes:
  4. Changing any of the following fields of a resource/resource group (from a particular effective date) cause the resource and the related resource/resource groups to have uncommitted changes:
  5. When creating a new resource/resource group, a change set is passed. Two pieces of information are taken from this change set:
    1. The change set that the uncommitted change should be in, and
    2. The effective date from the resource is copied from the change set at the time of creating a new resource

Other miscellaneous resource rules

Use of "Tools.CommitChangeSets" or "Tools.CommitResources"

Ideally "Tools.CommitChangeSets" or "Tools.CommitResources" should be called only after the change set has over 500 uncommitted resources, or at the end of the script.

Reasons to call "Tools.CommitChangeSets" other than this are before/after are: