Expense Reports
When expense reports are submitted in DPS, the existing data validation business logic can be extended to process custom validation rules using Web services.
The custom validation process is treated as a part of single ‘submit’ transaction. In other words, based on the success or failure of the extended custom data validation, the entire submit operation is either completed or stopped.
The custom data validation process can return messages as errors or warnings, and the returned messages and errors are displayed in DPS. If no messages are returned, custom data validation was successful and the expense report is submitted and saved.
All of the custom data validation rules need to be encapsulated in one single Web service and one Web method is designated to be invoked when expense reports are submitted. In DPS, an expense report configuration option is available to specify the Web service and the Web method that need to be invoked when expense reports are submitted.
The Web service that is associated with the data validation of expense reports can also be used to launch other events and services that are outside and independent of DPS. At this time, it is not possible to invoke any internal workflow processes in DPS through the same Web service.