Page History
What is a Trigger Function?
A trigger function is a type of LANSA function which will be invoked automatically when a specific type of I/O operation occurs to a table and when a specific set of conditions are met.
...
When the order is canceled it may "trigger" the following:
Activity A | Flag Order Historical Details |
|---|---|
Activity B | Print Outstanding Credit Invoices |
Activity C | Send a Message to the Sales Department |
...
In fact, there may be several sources from which an Order may be canceled:
Source 1 | The typical interactive "Cancel an Order" transaction. |
|---|---|
Source 2 | Monthly Batch Automatic Canceling of Unfilled Orders. |
Source 3 | Requests arriving via LANSA Open transactions from sales people using dial up PC systems. |
and the most "dangerous" source of all:
Source X | The transaction will be defined by someone else in 2 years time. |
|---|
...