Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Data models  define how data is connected to each other. Emakin BPM uses data model connections in the forms.

Firstly we will open a new data model in the process.

  • 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.

Secondly we will create expense form data model.

The following screen shows the expense form data model example. We will compose three form section in data model. To follow the owner, the form information and expense list sections:


Owner

We will create owner section in data model. This section will have two element, identity and department.

  • Click "Add New Element" button, elements design window will open.
  • Select the type of container.
  • Enter "Owner" name in to name field.
       * Click "Details" button near the edit button, "Add New Element" button will appear.
       * Click "Add New Element" button below the owner title, select the type of string and enter "Identity" name in to name field.

       * Click "Add New Element" button below the owner title,  select the type of string and enter "Department" name in to name field.    

Form Information

We will create form information section in data model. This section will have one element, date.

  • Click "Add New Element" button under the owner title, elements design window will open.
  • Select the type of container.
  • Enter "FormInformation" name in to name field.
       * Click "Details" button near the edit button, "Add New Element" 
       * Click "Add New Element" button below the form in formation title, select the type of date and enter "Date" name in to name field.

Expense List

We will create expense list section in data model. This section will have container element and sub-elements.

    • Click "Add New Element" 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 Element" 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 Element" button below the expense title, select the type of string and enter "Reason" name in to name field.


       * Click "Add New Element" button below the reason title, select the type of container and enter "ExpenseGroup" name in to name field.
             * Click "Add New Element" button below the expense group title, select the type of string and enter "Name" name in to name field.         

             * Click "Add New Element" button below the name title, select the type of number and enter "Id" name in to name field.

      * Click "Add New Element" button below the form in expense group title, select the type of date and enter "Date" name in to name field.
      * Click "Add New Element" button below the form in date title, select the type of number and enter "Amount" name in to name field.

       * Click "Add New Element" button below the amount title, select the type of container and enter "Unit" name in to name field.

            * Click "Add New Element" button below the unit title, select the type of string and enter "Name" name in to name field.
            * Click "Add New Element" button below the name title, select the type of number and enter "Id" name in to name field.

       *Click "Add New Element" button below the unit title, select the type of container and enter "VAT" name in toname field.

            * Click "Add New Element" button below the VAT title, select the type of string and enter "Name" name in to name field.     
            * Click "Add New Element" button below the name title, select the type of number and enter "Id" name in to name field   

 

  • No labels