---
# System prepended metadata

title: SOP mgmt v1.0 SIT

---

# SOP mgmt v1.0 SIT


| Epic    | Test Date         | Created by  | Result |
| --- | ----------------- | ----------- | ------ |
|   [MOP-11754](https://morrisonexpress.atlassian.net/browse/MOP-11754)  | 20221207-20221214 | JillccHuang |  Pass    |


 

 ### Task 11822- Create SOP
 :::info
[MOP-11822](https://morrisonexpress.atlassian.net/browse/MOP-11822) Test Result   
  - [x] Pass

#### 1.狀態列留空 
![](https://i.imgur.com/D2XlNxD.png)

SOP No在create且publish後依照SOP category自動產生流水號
流水號邏輯: Standard SOP類: SP0001~SPXXXX , Customer SOP類: CU0001~CUXXXX
![](https://i.imgur.com/WsdAoIo.png)


#### 2.Step 1: Set up SOP category

Process category為SOP Category的子階層

![](https://i.imgur.com/v5QQnZh.gif)

Customer code可多選->query頁可以從VIP name查找到該筆customer code資料
![](https://i.imgur.com/iUHPFIv.png)

![](https://i.imgur.com/sKoMY9S.png)


Version格式為兩個數字中間必須有.
![](https://i.imgur.com/xzaBMkZ.png)
![](https://i.imgur.com/Rze8aCL.png) 
![](https://i.imgur.com/LgKVeTQ.png)
![](https://i.imgur.com/5sTugHo.png)
![](https://i.imgur.com/RLgEubS.png)

Valid From預設當天日期(測試當天為20221214)
![](https://i.imgur.com/trHeXDW.png)


Valid To 可卡控不可大於Valid From
![](https://i.imgur.com/XEGI6YR.png)


#### 3.Step 2: Decide applied station(s)

* 預設有一列
* 每次add新增一列shipmode-station type-station
* [station]為多選，其餘單選，新增後必填
* 點垃圾桶可刪除整筆
![](https://i.imgur.com/tq3fKEF.gif)


#### 4.Step 3: Select one or multiple files

* 可新增與刪除,可下載檢視檔案
* 上傳檔案格式無限制
* 檔案數量上限3個

![](https://i.imgur.com/6VRskQE.gif)

不允許重複上傳檔名完全相同的檔案
![](https://i.imgur.com/yqc5Gwf.png)

* Instruction box可輸入free text
* URL box phase1支援1組url且驗證url格式

![](https://i.imgur.com/1skQyje.png)


欄位驗證符合以下規格

| Field Name| 單/多選| Length|	Format|	必填?|	預設|
| -------- | -------- | -------- | --- | --- | --- |
|SOP category|	多|N/A|		drop list|	Mandatory|||
|Process category|	多|	N/A|	drop list|	Mandatory	||
|SOP Name	|N/A|	300|Text	|Mandatory	||
|Customer code|多 | N/A | async-multi-select| Optional| | 
|Version|	N/A	|N/A|	Number.number|	Mandatory|	|
|Valid from	|N/A|N/A|		short date|	Mandatory|	Today||
|Valid to|	N/A	|N/A|	short date|	Optional|	null||
|Shipmode|	單	|N/A|	drop list|	Mandatory|	Air||
|Station Type|	單|N/A	|	drop list|	Mandatory	|Export station||
|Instruction|	N/A	|1000|	text|	Optional|	
|URL|	N/A	|1000|	text|	Optional||	



整合操作:可成功建立SOP
![](https://i.imgur.com/MDnJ2jF.gif)



 :::


 ### Task 11824- Query& Download SOP
:::info
[MOP-11824](https://morrisonexpress.atlassian.net/browse/MOP-11824)  Test Result   
  - [x] Pass

#### 1.Query區10個欄位: 欄位設定見附件excel


VIP Name: query頁可以從VIP name查找到該筆customer code資料
![](https://i.imgur.com/iUHPFIv.png)

![](https://i.imgur.com/sKoMY9S.png)


Validity: Validity預設=Valid，查詢當天不落在valid from/to的區間=invalid, 否則valid

Status: Status預設=Approved，Publish的SOP=Approved，被刪除的SOP=Canceled


Station: 搜尋TPE 搜尋結果為Station只要設定其中一項Statio type有TPE都能找到
![](https://i.imgur.com/OOiF3jr.png)

SOP No: 模糊搜尋1 結果為所有sop no有1的都有找到
![](https://i.imgur.com/QXzTk10.png)

#### 2.Result table 20欄

每一列是一個SOP，可呈現多個附檔icon，滑鼠hover過去顯示檔名，點選icon後直接下載
![](https://i.imgur.com/11vSw21.gif)
icon支援JPG,PNG,BMP,JPEG,XLS,XLSX,DOC,DOCX,PDF,TXT,PPT,PPTX
![](https://i.imgur.com/AA4LIuU.png)

搜尋結果預設按SOP no排序:SOP NO數字越大越上面
![](https://i.imgur.com/rFDAHxX.png)



欄位驗證符合以下規格

| Field Name| 單/多選| Length|	Format|	必填?|	預設|
| -------- | -------- | -------- | --- | --- | --- |
|SOP category|	單|N/A|		drop list|	Optional||
|Process category|	多|	N/A|	drop list|	Optional	||
|VIP Name|	多	|N/A|	async-multi-select|	Optional||	
|Customer code|多 | N/A | async-multi-select| Optional| | 
|SOP Name	|N/A|	300|Fuzzy search	|Optional	||
|SOP No|	N/A|	N/A|	Fuzzy search|	Optional||	
|Shipmode|	多	|N/A|	drop list|	Optional|	||
|Station |	多|N/A	|	async-multi-select|	Optional|登入者的station||
|Validity	|單|N/A|		drop list|	Optional|	Valid||
|Status	|多|N/A|		drop list|	Optional|	Approved||



:::


 ### Task 11825- 新增SOP Admin role
  :::info
 [MOP-11825](https://morrisonexpress.atlassian.net/browse/MOP-11824)  Test Result   
  - [x] Pass
 
1. 已新增SOP mgmt role並切分4種功能權限(Query/Create/Update/Delete) 
![](https://i.imgur.com/UrRdG7r.png)
2. 測試設定SOP_Test只有Query權限，而且把這個權限放在SOP_demo@gmail.com身上
![](https://i.imgur.com/0CqmwAo.png)
3. SOP_demo@gmail.com登入後Create跟Edit按鈕消失
但可正常使用query功能
![](https://i.imgur.com/wa1GgGE.gif)
4. 有完整權限(Admin權限)的可看到Create跟Edit按鈕
![](https://i.imgur.com/c5ksyyt.png)


:::



### Task 11826-Edit& Delete SOP
:::info
 [MOP-11826](https://morrisonexpress.atlassian.net/browse/MOP-11826)  Test Result   
  - [x] Pass

SOP既有資料都要帶進來
#### 1.狀態列:  帶進該筆資料，填入狀態列，Status為Approved  ，如下:

![](https://i.imgur.com/Oa24BQ5.png)


#### 2. Step 1:  Set up SOP category

SOP Category: Disabled
![](https://i.imgur.com/Y1LNYY6.png)


Version卡控不能改的比現有版號小 
![](https://i.imgur.com/uCOiWhH.gif)

 欄位驗證符合以下規格
 
| Field Name| 單/多選| Length|	Format|	必填?|	預設|
| -------- | -------- | -------- | --- | --- | --- |
|SOP category|	多|N/A|		drop list|	Mandatory|不可填|
|Process category|	多|	N/A|	drop list|	Mandatory	||
|SOP Name	|N/A|	300|Text	|Mandatory	||
|Customer code|多 | N/A | async-multi-select| Optional| | 
|Version|	N/A	|N/A|	Number.number|	Mandatory|	|
|Valid from	|N/A|N/A|		short date|	Mandatory|	||
|Valid to|	N/A	|N/A|	short date|	Optional|	||
|Shipmode|	單	|N/A|	drop list|	Mandatory|	||
|Station Type|	單|N/A	|	drop list|	Mandatory	|||
|Instruction|	N/A	|1000|	text|	Optional|	
|URL|	N/A	|1000|	text|	Optional||	


 :::
 
 

 ### Task 12254-Quick Guide
  :::info
  [MOP-12254](https://morrisonexpress.atlassian.net/browse/MOP-12254)  Test Result   
  - [x] Pass
*   點選可正常展開quick guide且可左右換頁
*   Title與Subtitle顯示正確
  
  
![](https://i.imgur.com/XXVqAUu.gif)




   :::