HTML for Component S_176DDESC

LANSA

HTML for Component S_176DDESC
<P><FONT FACE="Arial" SIZE=2" COLOR="DARKBLUE"><B>The only purpose of this function is to provide an interface
to enter the amount of an order against one or both of the shipped customers.
The generic idea behind this example is to show one way of integrating LANSA features to deliver one possible result to
a business scenario. In this case we have a situation where a customer places an order. Adding the amount of this order
to the existing credit that the customer already holds, results in the customers assigned credit limit to be
exceeded. At that point in time the normal processing of the order is stopped and its status is PENDING an action
to be undertaken.<BR><BR>
In technical terms, a LANSA trigger function is activated when an order exceeds a customers credit limit. The trigger builds
three URLs that link to a single LANSA for the WEB function each of those URLs passing the order number, customer code and
a possible action to be taken. The URL links are then sent in an email using LANSA email to the Credit Manager who would have the
option of either Approve, Hold or Review the order by clicking on the appropriate link.<BR><BR>
Type in an amount in either or both browselist input fields and click on the Create Order button. If the amount of the order added to
the already accumulated credit exceeds the customers credit limit, you will receive an email at the address specified in the box
below. If it is blank or incorrect, please change it so that you can receive the email sent by the trigger at your email address.
The other two fields, Host Location and Port are the ones that the trigger will use to build the links. Again, if blank or incorrect, please
modify them.
All three values (email address, host location and port) will be remembered by a system variable and used in subsequent executions
until changed.
Use the Reset Credit button to go back to the original shipped data.
</B></FONT></P>