CP112 Global Functionality

Learn about CP112 standard functionality

CP112 is designed to offer standard functionalities across the platform in order to perform operations on the GLOBAL ENTITIES or DATA MODEL ENTITIES and to provide consistent user experience when using the platform. The standard operations that can be performed on the entities are: CRUD operations (CReate, Update, Delete), sorting, searching, filtering and creating parent-child or non parent-child relations.


CRUD operations

Each section of CP112 is dedicated to a certain type of entities. Click on the button below to read more about the CP112 sections.



Within each section the entities are shown in TABLE/LIST MODE (this is the default view mode). On top of each table you will notice at least the buttons that allows you to perform CRUD operations on the entities shown in the table (where applicable, other buttons are shown also but not for CRUD operations). These operations can be performed as following:

  • Use the "Create" button to create a new entity
  • Click on the entity row (not on the entity name) to update the selected entity
  • Click on the entity name and click delete to delete the selected entity (additional confirmation will be required for removing the entity)

Filtering

For quick filtering the entities in a table, click on the filter icon above the table ant start typing in the boxes that will appear above each column. Press Enter and the records from the table will be filtered accordingly. To remove filtering click again on the filter icon.


Full screen mode

Each table can be seen in full screen mode (useful for large tables). Click on the "Detach" button above the table in order to have the table shown in full screen mode. All table functions and operations are available in full screen mode too.


Sorting

Hover on the head of each column and you will notice a pair of up and down arrows. Click the up arrow to sort the table in ascending order based on selected column. Click the down arrow to sort the table in descending order based on selected column. Multiple column sorting is not allowed, the table can be sorted by one column at the time.


Searching

On top of each table, on the right side of the window you will notice a magnifier icon. Click on the magnifier icon for activating the advanced search function. A search form will slide from the right. The search form is adapted to the context (CP112 section). Input your search criteria and click "Search" on the top-left corner box in which you typed the search criteria. The table will show only the records found according to your search criteria and the search form will slide out.

Click again on the magnifier icon. The search for will slide back in and you will notice that your previous/last search criteria is shown. Click "Reset" on the top-right corner of the box in which you see the search criteria and the table will show all records. At this moment the search form will slide out.


Parent-Child relations

Each entity can have a single parent of the same type. Click on the name of the entity for which you want to set a parent. The entity details dialog will open. On the "Details" tab you will notice a dropdown list named "Parent". Click on the list, select the parent (you can type the first letters in order to quick identify the parent in the list) and click "Save" in the entity dialog.

One entity can have a single parent on its type. Parent-child relations between entities of different types are not allowed.

Note that, some sections provides also the option to group the records in the able according to the parent-child relations. In such cases you will notice above the table a button named "Hierarchy View". Click on this button and the records in the table will be shown based on the parent-child relations. Each record will have a right arrow before the name of the entity. Click the right arrow and the row will be expanded showing the children of the selected entity. Expanding the rows is available to the last child level. Click on the arrow before the name of an expanded record/entity to collapse it.

Note that only parent-child relations can be shown in the "Hierarchy View" of a table. Non parent-child relations are shown for each entity in the entity dialog, "Relationships" tab.


Non Parent-Child relations

Non parent-child relations (also named non hierarchic relations) are allowed between any types of entities and one entity can have multiple relationships of this kind.

When entering one of the CP112 sections, above each table you will notice two buttons, SINGLE and MULTI. SINGLE allows you to display the table as described above and perform all the operations described above. MULTI allows you to create non parent-child (non hierarchic) between any entities from CP112. You can switch between SINGLE and MULTI at any time.

Click on MULTI when you want to create non parent-child (non hierarchic) relations between entities. You will observe that two panels will be shown on the screen. The left panel (active by default and marked with a different colour) is adapted to your context. In the dropbox shown on top of the panel you will notice the entity type related to the current CP112 section. CRUD operations are available here also, you will notice the related buttons under the dropbox. The list of entities of the type that is visible in the dropbox is shown in the panel. Select the entity you want to connect with other entities. If you cannot see it, scroll the table until the desired entity is shown or search for the entity using the magnifier icon shown on right of the page, above the panels.

Note that the search operation is always applicable for the active panel.

After you select the entity in the left panel, click anywhere on the right panel in order to activate it. Repeat the search in order to identify the entities that you want to connect with. Once you identified them, select them by clicking the check box shown before each entity name. After selecting the entities, observe the "Relationship" box above the panels. Click on "Create" button to create the non parent-child relations.

Please note that the same operations shall be performed for removing the non parent-child relations between entities. After the selections click "Remove" button from the "Relationship" box above the panels.