You are here: LANSA for i User Guide > Appendix C. Technical Notes > Function Routing

Function Routing

What is Function Routing?

Function Routing allows you, at execution time, to automatically (re)route all invocations of a function to another function.

This automatic facility has been provided specifically for the use of software vendors who ship applications to customers and need to customize parts of the application to exactly match their customers' requirements.

So, if you are a software vendor and always ship basic function A with your package but need to make a customized version of function A for a particular customer, Function Routing allows you to automatically (re)route, for that customer, all invocations of function A to the new function, named A1.

The original variant (A) stays intact, exactly as you ship it, and the variants (e.g.: A1, A2, A3, etc) can be modified to match unique customer requirements. A special table called the Function Routing Table manages the automatic routing of an invocation of function A to A1.

All LANSA generated applications, be they IBM i or PC based, support the concept of function routing.

Also see

What is the Function Routing Table?

Creating a Function Routing Table

Editing a Function Routing Table

Rules You Must Understand Before Using a Function Routing Table

What Type of Functions Can Be (re)Routed?

How is the Function Routing Table Used?