Step 3. Test Salary Review Application
FRM095 - Calling a Function
1. Select form iiiCOM17 on the Last Opened tab. Use the right mouse menu to Execute it. Run it as a Windows Application. You are running the form locally on the desktop, with no connection to the IBM i server.
2. Enter a department code such as ADM. Enter a percentage figure, such as 5.50 and click the Submit button.
3. After a slight delay, the List View should be filled and the Cost of Increase field should contain a value. Your form has called function iiiFN21 locally.
4. Close the form.
5. Execute the form again, using the right mouse menu. Execute the form as a
.Your form attachs to a job on the server, via the LANSA Listener.
6. Enter a department and percentage value and click the Submit button.
After a short delay the list view and Cost of Increase field should be populated.
Your form has called function iiiFN21on the server, using the CALL_SERVER_FUNCTION BIF. Function iiiFN21 has returned a working list of employees to the calling form.
7. Close your form.