Ordinarily, you may not handle the expense report data with a BPM object. You might, instead, use a pointer, perhaps an ID to access a record in a corporate database. Nevertheless, you will always handle at least some information within the BPM process. In this activity we do this by defining a BPM object.
To begin, examine the expense report form that follows:
This is a simple form for submitting an expense report. In a paper process, the employee would submit this form along with the receipts for the items listed in it.
This form contains three sections:
Both header and footer contain simple fixed information fields--such as names, dates, a yes/no option, and so forth--while the items section contains a variable number of entries. Since the items section is a bit more difficult to implement, we begin with the fixed fields. As a preparatory step, we list these fields along and the type of data each contains. Gathering this information now will help us later when we actually define the expense report object in Studio.
| Field Name | Data Type |
|---|---|
| Submitted By | String |
| Submit Date | Date |
| Description | String |
| Cost Center | Integer |
| Total | Money |
| Reviewed By | String |
| Comments | String |
| Approved | Boolean |