Data models define how data is connected to each other. Emakin BPM uses data model connections in the forms.
We will compose four form part in data model.
- Click the data model step below the unknown title. Data model design screen will open on the same screen. You will see your application name below the elements title.
- Click details button below "expense form" title.
1.Part: Owner
We will create first part in data model. First part will have two element, identity and department.
- Click "Add New Elements" button, elements design window will open.
- Select the type of container.
- Enter "Owner" name in to name field.
* Click "Add New Elements" button below the owner title, select the type of string and enter "Identity" name in to name field.
* Click "Add New Elements" button below the owner title, select the type of string and enter "Department" name in to name field.
2.Part: Form Information
We will create second part in data model. Second part will have one element, date.
- Click "Add New Elements" button under the owner title, elements design window will open.
- Select the type of container.
- Enter "FormInformation" name in to name field.
* Click "Add New Elements" button below the form in formation title, select the type of date and enter "Date" name in to name field.
3.Part: Expense List
We will create third part in data model. Third part will have container element and sub-elements.
- Click "Add New Elements" button under the form information title, elements design window will open.
- Select the type of container.
- Enter "ExpenseList" name in to name field.
- Click "Add New Elements" button under the expense list title, elements design window will open.
- Select the type of container.
- Enter "Expense" name in to name field.
- Choose the "Yes, use multiple copies" below "Is list Item?" title.
* Click "Add New Elements" button below the expense title, select the type of string and enter "Reason" name in to name field.
* Click "Add New Elements" button below the reason title, select the type of container and enter "ExpenseGroup" name in to name field.
* Click "Add New Elements" button below the expense group title, select the type of string and enter "Name" name in to name field.
*Click "Add New Elements" button below the name title, select the type of number and enter "Id" name in to name field.
* Click "Add New Elements" button below the expense group title, select the type of number and enter "CrossRate" name in to name field.
* Click "Add New Elements" button below the cross rate title, select the type of number and enter "ConvertedAmount" name in toname field.
* Click "Add New Elements" button below the converted amount title, select the type of date and enter "Date" name in toname field.
* Click "Add New Elements" button below the date title, select the type of number and enter "Amount" name in toname field.
* Click "Add New Elements" button below the amount title, select the type of container and enter "Unit" name in to name field.
* Click "Add New Elements" button below the unit title, select the type of string and enter "Name" name in to name field.
* Click "Add New Elements" button below the name title, select the type of number and enter "Id" name in to name field.
*Click "Add New Elements" button below the unit title, select the type of container and enter "VAT" name in toname field.
* Click "Add New Elements" button below the VAT title, select the type of string and enter "Name" name in to name field.
* Click "Add New Elements" button below the name title, select the type of number and enter "Id" name in to name field.