v7.3.0
SupportExamplesFree Trial

ProTransaction
internal

A Scheduler Pro-specific STM transaction that extends the base Transaction with awareness of the scheduling engine's calculated fields. When the project recalculates after a user edit, both the user input and the engine-computed results are recorded as separate actions in the same transaction.

This class merges and filters those actions so that only user-initiated changes are kept for undo/redo purposes, since calculated values will be automatically recomputed by the engine when a transaction is undone or redone. It also tracks the input generation number to correctly associate user actions with their corresponding calculated results.

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • Last generation of the user input actions. Some transactions may contain conflict resolutions or just be a manual transaction, grouping several user actions and project calculations. This number represents the current number of user input stages. Used internally to count and group them.

    Has a corresponding runtime inputGeneration property.

  • Transaction title

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class

Source path

SchedulerPro/data/stm/ProTransaction.js

Contents