{"id":18780583,"url":"https://github.com/simplicitesoftware/module-demo","last_synced_at":"2025-08-23T17:49:07.732Z","repository":{"id":38107285,"uuid":"187215987","full_name":"simplicitesoftware/module-demo","owner":"simplicitesoftware","description":"Demo module for Simplicité","archived":false,"fork":false,"pushed_at":"2025-02-18T11:13:35.000Z","size":18074,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-18T12:25:38.718Z","etag":null,"topics":["low-code","order-management","simplicite"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplicitesoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-17T12:52:43.000Z","updated_at":"2025-01-28T16:40:34.000Z","dependencies_parsed_at":"2023-10-16T18:26:46.664Z","dependency_job_id":"9f25f62b-dfad-46e4-bec0-310c81756e2e","html_url":"https://github.com/simplicitesoftware/module-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplicitesoftware","download_url":"https://codeload.github.com/simplicitesoftware/module-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239697156,"owners_count":19682361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["low-code","order-management","simplicite"],"created_at":"2024-11-07T20:27:13.369Z","updated_at":"2025-08-23T17:49:07.716Z","avatar_url":"https://github.com/simplicitesoftware.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n ___ _            _ _    _ _    __\n/ __(_)_ __  _ __| (_)__(_) |_ /_/\n\\__ \\ | '  \\| '_ \\ | / _| |  _/ -_)\n|___/_|_|_|_| .__/_|_\\__|_|\\__\\___|\n            |_| \n--\u003e\n![](https://platform.simplicite.io//logos/logo250.png)\n* * *\n\n`Demo` module definition\n========================\n\n### Introduction\n\nThis is a demo **order management** application (backend and frontend).\n\n### Import\n\nTo import this module:\n\n- Create a module named `Demo`\n- Set the settings as:\n\n```json\n{\n\t\"type\": \"git\",\n\t\"origin\": {\n\t\t\"uri\": \"https://github.com/simplicitesoftware/module-demo.git\"\n\t}\n}\n```\n\n- Click on the _Import module_ button\n\n### Configure\n\nIn order to have the frontend examples working the password for the\nwebservices-only user `website` must be `simplicite`.\n\nThis can be achieved by importing the following XML:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003csimplicite xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.simplicite.fr/base\" xsi:schemaLocation=\"http://www.simplicite.fr/base https://www.simplicite.io/resources/schemas/base.xsd\"\u003e\n\u003cobject\u003e\n\t\u003cname\u003eUserPwd\u003c/name\u003e\n\t\u003caction\u003eupdate\u003c/action\u003e\n\t\u003cdata\u003e\n\t\t\u003cusr_login_read\u003ewebsite\u003c/usr_login_read\u003e\n\t\t\u003cusr_password\u003esimplicite\u003c/usr_password\u003e\n\t\u003c/data\u003e\n\u003c/object\u003e\n\u003c/simplicite\u003e\n```\n\n### Load data\n\nSome sample data is provided as a module's dataset. It contains:\n\n- Sample providers\n- Sample products\n- Sample customers\n\nOpen this dataset and click on the _Apply_ button after having imported the module and made a full clear cache.\n\n`DemoContact` business object definition\n----------------------------------------\n\nThe **contact** object holds the interactions with the clients.\n\nA contact can be linked or not a an order of the selelcted client\n(when linked to an order the `demoCtcOrdId` field is set).\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `demoCtcDatetime`                                            | datetime                                 | yes*     |           |          | Contcat date and time                                                            |\n| `demoCtcType`                                                | enum(10) using `DEMO_CTC_TYPE` list      | yes      | yes       |          | Contact type                                                                     |\n| `demoCtcSubType`                                             | enum(10) using `DEMO_CTC_SUBTYPE` list   |          | yes       |          | Contact sub type                                                                 |\n| `demoCtcCanal`                                               | enum(10) using `DEMO_CTC_CANAL` list     | yes      | yes       |          | Canal used for contact                                                           |\n| `demoCtcPriority`                                            | boolean                                  | yes      | yes       |          | Contact priority                                                                 |\n| `demoCtcStatus`                                              | enum(1) using `DEMO_CTC_STATUS` list     | yes      | yes       |          | Contact status                                                                   |\n| `demoCtcCliId` link to **`DemoClient`**                      | id                                       | yes*     | yes       |          | Contact customer                                                                 |\n| _Ref. `demoCtcCliId.demoCliCode`_                            | _regexp(10)_                             |          |           |          | _Customer code_                                                                  |\n| _Ref. `demoCtcCliId.demoCliFirstname`_                       | _char(100)_                              |          |           | yes      | _Customer first name_                                                            |\n| _Ref. `demoCtcCliId.demoCliLastname`_                        | _char(100)_                              |          |           | yes      | _Customer last name_                                                             |\n| _Ref. `demoCtcCliId.demoCliEmail`_                           | _email(50)_                              |          |           | yes      | _Customer email address_                                                         |\n| _Ref. `demoCtcCliId.demoCliHomePhone`_                       | _phone(20)_                              |          |           | yes      | _Customer home phone number_                                                     |\n| _Ref. `demoCtcCliId.demoCliWorkPhone`_                       | _phone(20)_                              |          |           | yes      | _Customer work phone number_                                                     |\n| _Ref. `demoCtcCliId.demoCliMobilePhone`_                     | _phone(20)_                              |          |           | yes      | _Customer mobile phone number_                                                   |\n| _Ref. `demoCtcCliId.demoCliFax`_                             | _phone(20)_                              |          |           | yes      | _Customer fax number_                                                            |\n| `demoCtcOrdId` link to **`DemoOrder`**                       | id                                       |          | yes       |          | Contact order                                                                    |\n| _Ref. `demoCtcOrdId.demoOrdNumber`_                          | _int(11)_                                |          |           |          | _Order number (automatically calculated at creation)_                            |\n| _Ref. `demoCtcOrdId.demoOrdDate`_                            | _date_                                   |          |           |          | _Order date_                                                                     |\n| _Ref. `demoCtcOrdId.demoOrdStatus`_                          | _enum(30) using `DEMO_ORD_STATUS` list_  |          |           |          | _Order status_                                                                   |\n| _Ref. `demoCtcOrdId.demoOrdCliId`_                           | _id_                                     |          |           |          | _Order customer_                                                                 |\n| _Ref. `demoOrdCliId.demoCliCode`_                            | _regexp(10)_                             |          |           |          | _Customer code_                                                                  |\n| _Ref. `demoCtcOrdId.demoOrdPrdId`_                           | _id_                                     |          |           |          | _Order product_                                                                  |\n| _Ref. `demoOrdPrdId.demoPrdSupId`_                           | _id_                                     |          |           |          | _Product supplier_                                                               |\n| _Ref. `demoPrdSupId.demoSupCode`_                            | _regexp(50)_                             |          |           |          | _Supplier unique code (e.g. `MYSUP`)_                                            |\n| _Ref. `demoPrdSupId.demoSupUsrId`_                           | _id_                                     |          |           |          | _User responsible of supplier_                                                   |\n| _Ref. `demoOrdPrdId.demoPrdReference`_                       | _regexp(10)_                             |          |           |          | _Product reference_                                                              |\n| _Ref. `demoOrdPrdId.demoPrdName`_                            | _char(100)_                              |          |           |          | _Product name_                                                                   |\n| _Ref. `demoCtcOrdId.demoOrdQuantity`_                        | _int(11)_                                |          |           |          | _Product quantity ordered_                                                       |\n| `demoCtcFile`                                                | document                                 |          | yes       |          | Contact attached file                                                            |\n| `demoCtcPicture`                                             | image                                    |          | yes       |          | -                                                                                |\n| `demoCtcMessages`                                            | notepad(50000)                           | yes      | yes       |          | Messages                                                                         |\n\n### Lists\n\n* `DEMO_CTC_TYPE`\n    - `INF` Information\n    - `REQ` Request\n    - `CMP` Complaint\n    - `OTH` Other\n* `DEMO_CTC_SUBTYPE`\n    - `EMPTY` \n* `DEMO_CTC_CANAL`\n    - `PHONE` Code PHONE\n    - `EMAIL` Code EMAIL\n    - `CHAT` Code CHAT\n    - `WEB` Code WEB\n* `DEMO_CTC_STATUS`\n    - `O` Open\n    - `C` Closed\n    - `P` Processing\n* `DEMO_ORD_STATUS`\n    - `P` Pending status\n    - `H` On hold\n    - `V` Validated status\n    - `D` Shipped status\n    - `C` Canceled status\n\n`DemoContactHistoric` business object definition\n------------------------------------------------\n\n**Contact** object history, tracks changes on:\n\n- Status\n- Type and/or subtype\n- Comments\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `row_ref_id` link to **`DemoContact`**                       | id                                       | yes*     |           |          | Record row ID                                                                    |\n| `row_idx`                                                    | int(11)                                  | yes*     | yes       |          | History record index                                                             |\n| `created_by_hist`                                            | char(100)                                | yes*     |           |          | Created by                                                                       |\n| `created_dt_hist`                                            | datetime                                 | yes*     |           |          | Created date                                                                     |\n| `demoCtcStatus`                                              | enum(1) using `DEMO_CTC_STATUS` list     | yes      | yes       |          | Contact status                                                                   |\n| `demoCtcType`                                                | enum(10) using `DEMO_CTC_TYPE` list      | yes      | yes       |          | Contact type                                                                     |\n| `demoCtcSubType`                                             | enum(10) using `DEMO_CTC_SUBTYPE` list   |          | yes       |          | Contact sub type                                                                 |\n\n### Lists\n\n* `DEMO_CTC_STATUS`\n    - `O` Open\n    - `C` Closed\n    - `P` Processing\n* `DEMO_CTC_TYPE`\n    - `INF` Information\n    - `REQ` Request\n    - `CMP` Complaint\n    - `OTH` Other\n* `DEMO_CTC_SUBTYPE`\n    - `EMPTY` \n\n`DemoOrder` business object definition\n--------------------------------------\n\nThe **order** business object corresponds to the\nproduct orders placed by clients.\n\nAn order is for one single product.\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `demoOrdNumber`                                              | int(11)                                  | yes*     |           |          | Order number (automatically calculated at creation)                              |\n| `demoOrdDate`                                                | date                                     |          |           |          | Order date                                                                       |\n| `demoOrdStatus`                                              | enum(30) using `DEMO_ORD_STATUS` list    | yes      | yes       |          | Order status                                                                     |\n| `demoOrdDeliveryDate`                                        | datetime                                 |          | yes       |          | Order delivery date                                                              |\n| `demoOrdCliId` link to **`DemoClient`**                      | id                                       | yes*     | yes       |          | Order customer                                                                   |\n| _Ref. `demoOrdCliId.demoCliCode`_                            | _regexp(10)_                             |          |           |          | _Customer code_                                                                  |\n| _Ref. `demoOrdCliId.demoCliFirstname`_                       | _char(100)_                              |          |           | yes      | _Customer first name_                                                            |\n| _Ref. `demoOrdCliId.demoCliLastname`_                        | _char(100)_                              |          |           | yes      | _Customer last name_                                                             |\n| _Ref. `demoOrdCliId.demoCliEmail`_                           | _email(50)_                              |          |           | yes      | _Customer email address_                                                         |\n| _Ref. `demoOrdCliId.demoCliAddress1`_                        | _char(100)_                              |          |           | yes      | _Customer address (line 1)_                                                      |\n| _Ref. `demoOrdCliId.demoCliAddress2`_                        | _char(100)_                              |          |           | yes      | _Customer address (line 2)_                                                      |\n| _Ref. `demoOrdCliId.demoCliZipCode`_                         | _char(10)_                               |          |           | yes      | _Customer postal code_                                                           |\n| _Ref. `demoOrdCliId.demoCliCity`_                            | _char(50)_                               |          |           | yes      | _Customer city_                                                                  |\n| _Ref. `demoOrdCliId.demoCliCountry`_                         | _enum(30) using `DEMO_COUNTRY` list_     |          |           | yes      | _Customer country_                                                               |\n| `demoOrdPrdId` link to **`DemoProduct`**                     | id                                       | yes*     | yes       |          | Order product                                                                    |\n| _Ref. `demoOrdPrdId.demoPrdReference`_                       | _regexp(10)_                             |          |           |          | _Product reference_                                                              |\n| _Ref. `demoOrdPrdId.demoPrdName`_                            | _char(100)_                              |          |           |          | _Product name_                                                                   |\n| _Ref. `demoOrdPrdId.demoPrdType`_                            | _enum(50) using `DEMO_PRD_TYPE` list_    |          |           |          | _Product type_                                                                   |\n| _Ref. `demoOrdPrdId.demoPrdPicture`_                         | _image_                                  |          |           |          | _Product picture_                                                                |\n| _Ref. `demoOrdPrdId.demoPrdSupId`_                           | _id_                                     |          |           |          | _Product supplier_                                                               |\n| _Ref. `demoPrdSupId.demoSupCode`_                            | _regexp(50)_                             |          |           |          | _Supplier unique code (e.g. `MYSUP`)_                                            |\n| _Ref. `demoPrdSupId.demoSupName`_                            | _char(100)_                              |          |           |          | _Supplier name_                                                                  |\n| _Ref. `demoPrdSupId.demoSupLogo`_                            | _image_                                  |          |           |          | _Supplier logo_                                                                  |\n| _Ref. `demoPrdSupId.demoSupUsrId`_                           | _id_                                     |          |           |          | _User responsible of supplier_                                                   |\n| _Ref. `demoOrdPrdId.demoPrdStock`_                           | _int(11)_                                |          |           |          | _Current stock for product_                                                      |\n| _Ref. `demoOrdPrdId.demoPrdUnitPrice`_                       | _float(11, 2)_                           |          |           |          | _Unit price of product_                                                          |\n| `demoOrdUnitPrice`                                           | float(11, 2)                             |          |           |          | Product unit price for order                                                     |\n| `demoOrdQuantity`                                            | int(11)                                  | yes      | yes       |          | Product quantity ordered                                                         |\n| `demoOrdTotal`                                               | float(11, 2)                             |          |           |          | Total order amount                                                               |\n| `demoOrdVAT`                                                 | float(11, 2)                             |          |           |          | VAT for order                                                                    |\n| `demoOrdComments`                                            | notepad(50000)                           |          | yes       |          | Comments on order                                                                |\n\n### Lists\n\n* `DEMO_ORD_STATUS`\n    - `P` Pending status\n    - `H` On hold\n    - `V` Validated status\n    - `D` Shipped status\n    - `C` Canceled status\n* `DEMO_COUNTRY`\n    - `FR` France\n    - `UK` United Kingdom\n    - `SP` Spain\n* `DEMO_PRD_TYPE`\n    - `LAPTOP` Laptop\n    - `DESKTOP` Desktop\n    - `TABLET` Tablet\n    - `SMARTPHONE` Smartphone\n    - `OTHER` Other\n\n`DemoOrderHistoric` business object definition\n----------------------------------------------\n\n**Order** object history, tracks changes on:\n\n- Status\n- Quantity\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `row_ref_id` link to **`DemoOrder`**                         | id                                       | yes*     |           |          | Record row ID                                                                    |\n| `row_idx`                                                    | int(11)                                  | yes*     | yes       |          | History record index                                                             |\n| `created_by_hist`                                            | char(100)                                | yes*     |           |          | Created by                                                                       |\n| `created_dt_hist`                                            | datetime                                 | yes*     |           |          | Created date                                                                     |\n| `demoOrdStatus`                                              | enum(30) using `DEMO_ORD_STATUS` list    | yes      | yes       |          | Order status                                                                     |\n| `demoOrdQuantity`                                            | int(11)                                  | yes      | yes       |          | Product quantity ordered                                                         |\n\n### Lists\n\n* `DEMO_ORD_STATUS`\n    - `P` Pending status\n    - `H` On hold\n    - `V` Validated status\n    - `D` Shipped status\n    - `C` Canceled status\n\n`DemoProductHistoric` business object definition\n------------------------------------------------\n\n**Product** object history, tracks changes on:\n\n- Product name\n- Unit price\n- Availability\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `row_ref_id` link to **`DemoProduct`**                       | id                                       | yes*     |           |          | Record row ID                                                                    |\n| `row_idx`                                                    | int(11)                                  | yes*     | yes       |          | History record index                                                             |\n| `created_by_hist`                                            | char(100)                                | yes*     |           |          | Created by                                                                       |\n| `created_dt_hist`                                            | datetime                                 | yes*     |           |          | Created date                                                                     |\n| `demoPrdReference`                                           | regexp(10)                               | yes*     | yes       |          | Product reference                                                                |\n| `demoPrdName`                                                | char(100)                                | yes      | yes       |          | Product name                                                                     |\n| `demoPrdUnitPrice`                                           | float(11, 2)                             | yes      | yes       |          | Unit price of product                                                            |\n| `demoPrdAvailable`                                           | boolean                                  | yes      | yes       |          | Available product?                                                               |\n\n`DemoSupplier` business object definition\n-----------------------------------------\n\nThe **supplier** business object corresponds to the\nsuppliers of products that can be ordered.\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `demoSupCode`                                                | regexp(50)                               | yes*     | yes       |          | Supplier unique code (e.g. `MYSUP`)                                              |\n| `demoSupName`                                                | char(100)                                | yes      | yes       |          | Supplier name                                                                    |\n| `demoSupDescription`                                         | html(1000000)                            |          | yes       |          | Supplier description                                                             |\n| `demoSupPhone`                                               | phone(20)                                |          | yes       |          | Supplier phone number                                                            |\n| `demoSupFax`                                                 | phone(20)                                |          | yes       |          | Supplier fax number                                                              |\n| `demoSupWebsite`                                             | url(100)                                 |          | yes       |          | Supplier website URL                                                             |\n| `demoSupEmail`                                               | email(20)                                |          | yes       |          | Supplier email address                                                           |\n| `demoSupLogo`                                                | image                                    |          | yes       |          | Supplier logo                                                                    |\n| `demoSupUsrId` link to **`User`**                            | id                                       |          | yes       |          | User responsible of supplier                                                     |\n| _Ref. `demoSupUsrId.usr_login`_                              | _regexp(100)_                            |          |           | yes      | _Login_                                                                          |\n| `demoSupComments`                                            | notepad(50000)                           |          | yes       |          | Comments on supplier                                                             |\n\n`DemoProduct` business object definition\n----------------------------------------\n\nThe **product** business object corresponds to the\nproducts that can be ordered.\n\nIts reference is unique per supplier.\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `demoPrdSupId` link to **`DemoSupplier`**                    | id                                       | yes*     | yes       |          | Product supplier                                                                 |\n| _Ref. `demoPrdSupId.demoSupCode`_                            | _regexp(50)_                             |          |           |          | _Supplier unique code (e.g. `MYSUP`)_                                            |\n| _Ref. `demoPrdSupId.demoSupName`_                            | _char(100)_                              |          |           |          | _Supplier name_                                                                  |\n| _Ref. `demoPrdSupId.demoSupLogo`_                            | _image_                                  |          |           |          | _Supplier logo_                                                                  |\n| _Ref. `demoPrdSupId.demoSupUsrId`_                           | _id_                                     |          |           |          | _User responsible of supplier_                                                   |\n| `demoPrdReference`                                           | regexp(10)                               | yes*     | yes       |          | Product reference                                                                |\n| `demoPrdName`                                                | char(100)                                | yes      | yes       |          | Product name                                                                     |\n| `demoPrdType`                                                | enum(50) using `DEMO_PRD_TYPE` list      | yes      | yes       |          | Product type                                                                     |\n| `demoPrdDescription`                                         | text(1000000)                            |          | yes       |          | Product description                                                              |\n| `demoPrdPicture`                                             | image                                    |          | yes       |          | Product picture                                                                  |\n| `demoPrdEan13`                                               | char(13)                                 |          | yes       |          | EAN13 code                                                                       |\n| `demoPrdEan13Image`                                          | image                                    |          |           |          | EAN13 code image                                                                 |\n| `demoPrdStock`                                               | int(11)                                  | yes      | yes       |          | Current stock for product                                                        |\n| `demoPrdUnitPrice`                                           | float(11, 2)                             | yes      | yes       |          | Unit price of product                                                            |\n| `demoPrdAvailable`                                           | boolean                                  | yes      | yes       |          | Available product?                                                               |\n| `demoPrdFeatured`                                            | boolean                                  | yes      | yes       |          | Featured product?                                                                |\n| `demoPrdDocumentation`                                       | html(1000000)                            |          | yes       |          | Product documentation                                                            |\n| `demoPrdBrochure`                                            | document                                 |          | yes       |          | Product brochure                                                                 |\n| `demoPrdOnlineDoc`                                           | url(255)                                 |          | yes       |          | Online product documentation URL                                                 |\n| `demoPrdComments`                                            | notepad(50000)                           |          | yes       |          | Comments on product                                                              |\n\n### Lists\n\n* `DEMO_PRD_TYPE`\n    - `LAPTOP` Laptop\n    - `DESKTOP` Desktop\n    - `TABLET` Tablet\n    - `SMARTPHONE` Smartphone\n    - `OTHER` Other\n\n### Custom actions\n\n* `DEMO_DECSTOCK`: Product stock **decrement** triggered by the order\nstate transition to _shipped_ status.\n* `DEMO_PRD_EMAIL`: Send product information by email\n* `DEMO_INCSTOCK`: Sample action for product stock **increment**\n(by `N` specified in the product business object code).\n\n`DemoClient` business object definition\n---------------------------------------\n\nThe **client** business object corresponds\nto the customer who places order.\n\nHis address is geolocalized using GoogleMaps\u0026reg; API.\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `demoCliCode`                                                | regexp(10)                               | yes*     | yes       |          | Customer code                                                                    |\n| `demoCliFirstname`                                           | char(100)                                | yes      | yes       | yes      | Customer first name                                                              |\n| `demoCliLastname`                                            | char(100)                                | yes      | yes       | yes      | Customer last name                                                               |\n| `demoCliAddress1`                                            | char(100)                                | yes      | yes       | yes      | Customer address (line 1)                                                        |\n| `demoCliAddress2`                                            | char(100)                                |          | yes       | yes      | Customer address (line 2)                                                        |\n| `demoCliZipCode`                                             | char(10)                                 | yes      | yes       | yes      | Customer postal code                                                             |\n| `demoCliCity`                                                | char(50)                                 | yes      | yes       | yes      | Customer city                                                                    |\n| `demoCliCountry`                                             | enum(30) using `DEMO_COUNTRY` list       | yes      | yes       | yes      | Customer country                                                                 |\n| `demoCliCoords`                                              | geocoords                                |          | yes       | yes      | Customer geoccordinates                                                          |\n| `demoCliEmail`                                               | email(50)                                |          | yes       | yes      | Customer email address                                                           |\n| `demoCliHomePhone`                                           | phone(20)                                |          | yes       | yes      | Customer home phone number                                                       |\n| `demoCliWorkPhone`                                           | phone(20)                                |          | yes       | yes      | Customer work phone number                                                       |\n| `demoCliMobilePhone`                                         | phone(20)                                |          | yes       | yes      | Customer mobile phone number                                                     |\n| `demoCliFax`                                                 | phone(20)                                |          | yes       | yes      | Customer fax number                                                              |\n| `demoCliType`                                                | enum(30) using `DEMO_CLI_TYPE` list      | yes      | yes       |          | Customer type                                                                    |\n| `demoCliComments`                                            | html(1000000)                            |          | yes       |          | Useful comments on customer                                                      |\n| `demoCliPlacemapLabel`                                       | char(100)                                |          | yes       |          | Customer place map label                                                         |\n\n### Lists\n\n* `DEMO_COUNTRY`\n    - `FR` France\n    - `UK` United Kingdom\n    - `SP` Spain\n* `DEMO_CLI_TYPE`\n    - `T1` Code T1\n    - `T2` Code T2\n    - `T3` Code T3\n\n`DemoOrderCreate` business process definition\n---------------------------------------------\n\n**Order entry** activity workflow\n\n### Activities\n\n* `Begin`: Begin activity\n* `ClientSelect`: Customer selection activity\n* `SupplierSelect`: Supplier selection activity\n* `ProductSelect`: Selected supplier's product selection activity\n* `OrderCreate`: Order creation form activity\n* `End`: End activity\n\n`DemoCatalog` external object definition\n----------------------------------------\n\nCustom JSON web service for getting the product catalog\n\n\n`DemoCounters` external object definition\n-----------------------------------------\n\nCounters\n\n\n`DemoOrderAgenda` external object definition\n--------------------------------------------\n\nOrder delivery agenda\n\n\n`DemoPlaceNewOrder` external object definition\n----------------------------------------------\n\nPlace new order internal page\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplicitesoftware%2Fmodule-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplicitesoftware%2Fmodule-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplicitesoftware%2Fmodule-demo/lists"}