Extend Data Validation Business Logic for Expense Reports
When you submit expense reports, DPS can extend the data validation business logic to process custom validation rules using Web services.
To extend the data validation business logic when submitting time sheets:
- On the Navigation menu, click in the desktop application.
- On the Web Services form, click to enter a row in the grid for custom expense report validation.
- Select Expense Reports from the Application drop-down list.
-
Enter one of the following in the
Web Service Location field:
- A location or a file path for the WSDL file generated for the Web service.
- A URL to the WSDL file located on a Web server.
- For Web services written in ASP.NET, it can also be a URL to the Web service ‘asmx’ page with “?WSDL” added at the end. This parameter generates the WSDL information automatically.
For example:
- WSDL File URL: http://Serv1/ExpenseReportValService/ExpenseReportVal.wsdl
- ASMX page URL: http://Serv1/ExpenseReportValService/ExpenseReportVal.asmx?wsdl
Based on the information contained in the WSDL file, DPS populates the Web Service Method drop-down list with a list of available Web methods in the Web service.
- Select an appropriate method for expense report validation.
- Click Save.