DDO Propagation Summary
It is critical that you understand how Data Dictionary operations behave and propagate. If you do, you can accurately predict how your views will behave. Below is a summary of the Data Dictionary operations and their behaviors.
Data Dictionary Operations
| Operation | Normal Behavior | Relates-To Constraint Behavior |
|---|---|---|
| Clear_All | Clears all connected DDOs. | Same |
| Clear | Clears DDO and all updated DDOs. | Propagates up. Clears DDO and all updated DDOs unless a relates-to constraint is encountered. The clear up that branch will be halted. Child DDOs with a relates-to constraint are notified of the new blank record. It will clear or find as required. |
| Request_Save | Saves DDO record and updates all parent-file DDOs. | Propagates up. Same |
| Request_Delete | Deletes DDO record and updates all parent table DDOs. | Child records are deleted if their DDOs update the parent DDO and Cascade_Delete_State is true. Propagates up and (conditionally) down. Same |
| Finding | Find, Request_Find, FindByRowId | Finds record for the requested table. A relate is performed. All DDOs are notified of the change, setting each DDO's current record (CurrentRowId) as needed. Any DEO that uses any affected DDO is refreshed. If the table’s DDO has a relates-to constraint in effect, only records will be found that satisfy the constraint's requirements. Child DDOs with a relates-to constraint are notified of the new record. It will clear or find as required. |