Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simplicitesoftware/module-demo-dashboard

Demo custom dashboard
https://github.com/simplicitesoftware/module-demo-dashboard

Last synced: about 14 hours ago
JSON representation

Demo custom dashboard

Awesome Lists containing this project

README

        

![](https://docs.simplicite.io//logos/logo250.png)
* * *

`DemoDashboard` module definition
=================================

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=simplicite-modules-DemoProject&metric=alert_status)](https://sonarcloud.io/dashboard?id=simplicite-modules-DemoProject)

### Introduction

This module contains a custom dashboard for the demo **order management** application.:

### Prerequisites

The `Demo` module **must** be installed and configured before importing this addon module.

### Import

To import this module:

- Create a module named `DemoDashboard`
- Set the settings as:

```json
{
"type": "git",
"origin": {
"uri": "https://github.com/simplicitesoftware/module-demo-dashboard.git"
}
}
```

- Click on the _Import module_ button

`DemoStats1` business object definition
---------------------------------------

Statistics per statuses

### Fields

| Name | Type | Required | Updatable | Personal | Description |
|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|
| `demoOrdStatus` | enum(30) using `DEMO_ORD_STATUS` list | yes | yes | | Order status |
| `demoStsCount` | int(10) | | yes | | - |
| `demoStsQuantities` | int(10) | | yes | | Ordered quantities |
| `demoStsTotals` | float(10, 2) | | yes | | Ordered amount |

### Lists

* `DEMO_ORD_STATUS`
- `P` Pending status
- `H` On hold
- `V` Validated status
- `D` Shipped status
- `C` Canceled status

`DemoStats2` business object definition
---------------------------------------

Stats per products

### Fields

| Name | Type | Required | Updatable | Personal | Description |
|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|
| `demoStsRowId` link to **`DemoProduct`** | id | | yes | | - |
| _Ref. `demoStsRowId.demoPrdReference`_ | _regexp(10)_ | | | | _Product reference_ |
| _Ref. `demoStsRowId.demoPrdName`_ | _char(100)_ | | | | _Product name_ |
| _Ref. `demoStsRowId.demoPrdAvailable`_ | _boolean_ | | | | _Available product?_ |
| _Ref. `demoStsRowId.demoPrdStock`_ | _int(11)_ | | | | _Current stock for product_ |
| `demoStsCount` | int(10) | | yes | | - |
| `demoStsQuantities` | int(10) | | yes | | Ordered quantities |
| `demoStsTotals` | float(10, 2) | | yes | | Ordered amount |

### Custom actions

* `DEMO_STS2_AVAILABLE`:
* `DEMO_STS2_NOT_AVAILABLE`:

`DemoDashboard` external object definition
------------------------------------------

Demo dashboard (using Google charts)