Deferred methods - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

In some cases where you are creating a number of objects that form a compound object or a package, you may want to validate the whole package before you can commit it to the database.

An example of this is a ProgressWorkpack. This consists of a number of steps and timestrings many different objects, and relationships. When all the objects have been created (not placed in the database), you then have an opportunity to validate the whole package as a deferred process.

Deferred methods are the name given to methods on an object that are called during the commit process. They are normally for validation purposes. They are deferred until commit so you can be sure that all the events that create, update, and remove objects or relationships have been fired.