https://github.com/simplicitesoftware/module-demo-dashboard
Demo custom dashboard
https://github.com/simplicitesoftware/module-demo-dashboard
Last synced: 5 months ago
JSON representation
Demo custom dashboard
- Host: GitHub
- URL: https://github.com/simplicitesoftware/module-demo-dashboard
- Owner: simplicitesoftware
- Created: 2020-06-08T21:10:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-19T16:35:36.000Z (7 months ago)
- Last Synced: 2024-12-29T10:45:04.680Z (7 months ago)
- Language: JavaScript
- Size: 582 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

* * *`DemoDashboard` module definition
=================================### 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)