You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/UserGuide.md
+69-27Lines changed: 69 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ and efficient Graphical User Interface interaction.
17
17
18
18
1. Ensure you have Java `11` or above installed in your Computer.
19
19
20
-
1. Download the latest `addressbook.jar` from [here](https://github.com/se-edu/addressbook-level3/releases).
20
+
1. Download the latest `CLInic.jar` from [here](https://github.com/AY2021S1-CS2103-W14-4/tp/releases).
21
21
22
22
1. Copy the file to the folder you want to use as the _home folder_ for your AddressBook.
23
23
@@ -27,17 +27,29 @@ and efficient Graphical User Interface interaction.
27
27
1. Type the command in the command box and press Enter to execute it. e.g. typing **`help`** and pressing Enter will display instructions on various commands.<br>
28
28
Some example commands you can try:
29
29
30
-
***`view supplier supplierA`** : Displays all the information associated with supplierA e.g. address, contact, email, products sold by the supplier etc.
31
-
32
-
***`add`**` p/PANADOL SUSP id/1 t/FEVER` : Adds product named `PANADOL SUSP` with product id of 1 with a `FEVER` tag to CLI-nic.
with the name warehouseA located at John street, block 123, #01-01. The warehouse is noted to be the “First warehouse”.
32
+
33
+
***`add`**` s/Philips Pharmaceutical p/00000000 e/philipsPharm@gmail.com sn/largest contractor` : Adds a
34
+
supplier named Philips Pharmaceutical. His contact number is 00000000 and his email is
35
+
philipsPharm@gmail.com. The supplier is noted to be the “largest contractor”.
36
+
37
+
***`add`**` s/SupplierA p/PANADOL SUSP t/FEVER` : Adds the product PANADOL SUSP to list of products from
38
+
supplierA. This indicates that supplierA is selling this product. PANADOL SUSP also has a tag of FEVER.
39
+
40
+
***`clear`** : Deletes all contacts.
33
41
34
42
***`delete`**` delete supplier 12` : Removes supplier at index 12 from the list of suppliers.
35
43
36
-
***`clear`** : Deletes all contacts.
37
-
38
44
***`exit`** : Exits the app.
39
45
40
-
***`find PANADOL warehouse`** : Displays all the warehouses managed by the manager that has a product named PANADOL.
46
+
***`find`**` PANADOL warehouse`** : Displays all the warehouses managed by the manager that has a product
47
+
named PANADOL.
48
+
49
+
***`update`**` w/WarehouseA p/Panadol q/10` : Updates the quantity of Panadol in WarehouseA to 10. The
50
+
quantity of Panadol in WarehouseA can be more than 10 or lesser than 10 before the update is done.
51
+
52
+
***`view supplier supplierA`** : Displays all the information associated with supplierA e.g. address, contact, email, products sold by the supplier etc.
41
53
42
54
43
55
1. Refer to the [Features](#features) below for details of each command.
@@ -77,29 +89,46 @@ Examples:
77
89
*`help` Display entire list of commands and their description
78
90
*`help add` Displays the detailed description, input format and an input example of add command.
*`add s/Philips Pharmaceutical p/00000000 e/philipsPharm@gmail.com sn/largest contractor` : Adds a
110
+
supplier named Philips Pharmaceutical. His contact number is 00000000 and his email is philipsPharm@gmail.com. The supplier is noted to be the “largest contractor”.
93
111
94
-
### **Creating a purchase order : `create`**
95
-
* Create a purchase order to track the purchase of medical products from a supplier to a store.
* The number specified for PRODUCT_ID cannot exceed the total number of products. All the IDs must be identifiable
98
-
* The number of arguments specified for PRODUCT_QUANTITY and PRODUCT_ID must match
99
-
* EXPECTED_DELIVERED_DATE must be after current time and of the form YYYY-MM-DD
112
+
### Adding a product to a supplier : `add`
100
113
101
-
***Examples**:
102
-
*`create sid/01 s/123 id/1 2 4 8 qty/100 200 400 800 date/2020-12-12` : Creates a purchase order for the delivery of 100, 200, 400 and 800 of products with ID 1, 2, 4 and 8 respectively from supplier ID of 01 to store ID of 123 by December 12, 2020.
114
+
Adds product information to a supplier; associates a particular product with the supplier in the CLI-nic application.
* The number specified for PRODUCT_ID cannot exceed the total number of products. All the IDs must be identifiable
196
+
* The number of arguments specified for PRODUCT_QUANTITY and PRODUCT_ID must match
197
+
* EXPECTED_DELIVERED_DATE must be after current time and of the form YYYY-MM-DD
198
+
199
+
***Examples**:
200
+
*`create sid/01 s/123 id/1 2 4 8 qty/100 200 400 800 date/2020-12-12` : Creates a purchase order for the delivery of 100, 200, 400 and 800 of products with ID 1, 2, 4 and 8 respectively from supplier ID of 01 to store ID of 123 by December 12, 2020.
0 commit comments