2 6 2 Diagram of the Field Rule and Trigger Processes

LANSA for i

2.6.2 Diagram of the Field Rule and Trigger Processes

This diagram represents the processing flow used when working with DICTIONARY LEVEL, FILE LEVEL or PROCESS LEVEL field rules and triggers.

                                        ______________________

                                       |                      |      

                                       | Add,rev,chg, or dlt  |

                                   --->|                      |

                                   |   | RANGE OF VALUES RULE |

                                   |   |______________________|

                                   |    ______________________

                                   |   |                      |      

                                   |   | Add,rev,chg, or dlt  |

                                   |-->|                      |

                                   |   | LIST OF VALUES RULE  |

                                   |   |______________________|

                  ____________     |    ______________________

                 |            |    |   |                      |      

                 |  Display   |    |   | Add,rev,chg, or dlt  |

Choose           |  existing  |    |   |                      |

field(s)   ----> | DIC/FIL/PRO|--->|-->| CODE/TABLE FILE      |

method varies    | rules and  |    |   |   LOOKUP RULE        |

for each         | triggers   |    |   |______________________|

validation       |____________|    |    ______________________

level                  |           |   |                      |      

           ADD command |           |   | Add,rev,chg, or dlt  |

            key used   |           |-->|                      |

                  _____|______     |   | SIMPLE LOGIC RULE    |

                 |            |    |   |______________________|

                 | Choose type|    |    ______________________

                 | of rule or |--->|   |                      |      

                 | trigger to |    |   | Add,rev,chg, or dlt  |

                 | be added   |    |-->|                      |

                 |____________|    |   | COMPLEX LOGIC RULE   |

                                   |   |______________________|

                                   |    ______________________

                                   |   |                      |      

                                   |   | Add,rev,chg, or dlt  |

                                   |-->|                      |

                                   |   | DATE/RANGE RULE      |

                                   |   |______________________|

                                   |    ______________________

                                   |   |                      |   

                                   |   | Add,rev,chg, or dlt  |

                                   --->|                      |

                                       | TRIGGER              |

                                       |______________________|