Oracle Forms generates master/detail triggers automatically when a master/detail relation is defined between blocks. The default master/detail triggers enforce coordination between records in a detail block and the master record in a master block. Unless developing custom block-coordination schemes, you do not need to define these triggers. Instead, simply create a relation object, and let Oracle Forms generate the triggers required to manage coordination between the master and detail blocks in the relation.
Trigger |
Typical Usage |
---|---|
Fires when Oracle Forms attempts to delete a record in a block that is a master block in a master/detail relation. |
|
Fires when Oracle Forms needs to clear records in a block that is a detail block in a master/detail relation because those records no longer correspond to the current record in the master block. |
|
Fires when Oracle Forms needs to fetch records into a block that is the detail block in a master/detail relation so that detail records are synchronized with the current record in the master block. |