###### tags: `Good Finance`,`CMA` # 目前期貨入金相關流程 ```plantuml @startuml |#lightYellow| 銀行期貨入金服務系統 | start :A.客戶入金通知; |#lightgray| 美好-COBOL | :B.入金登帳; end @enduml ``` ## 管理介面參考 ![image](https://hackmd.io/_uploads/HyAWVPrHT.png) ## 期貨專戶網銀查詢參考 ![image (1)](https://hackmd.io/_uploads/rJL94DHHa.png) ### 錯誤情況一:銀行期貨入金系統有資料,COBOL沒有資料 處理方式:在管理介面查詢到該筆資料,可以重送 重複入金檢查:COBOL 針對入金相關欄位(日期、交易序號...)組合成 Key 值,萬一 operator 重複重送,不會重複入金。 ### 錯誤情況二:銀行期貨入金系統沒有資料,COBOL沒有資料,網銀入金已成功 處理方式:根據網銀查詢資料,在 COBOL 進行人工入金補登 ,儲存時一樣會根據 Key 做重複入金檢查。 重複入金檢查:銀行期貨入金系統入資料恢復,進行 COBOL 傳送,一樣會被 Key 值檢查擋住,不會重複入金。 備註:錯誤發生,銀行會寄送錯誤通知 Email # 分戶帳相關流程 ## High level 入金流程 ```plantuml @startuml |#lightYellow| 中國信託 | start :A.客戶入金通知; |#lightBlue| 美好-Banking Gateway | :B.資料處理/轉送COBOL; |#lightgray| 美好-COBOL | :C.入金登帳; end @enduml ``` ## 入金錯誤 Scenario 1 ```plantuml @startuml |#lightYellow| Tech PM | start :1.聯繫分戶帳專戶銀行緊急重送; |#lightBlue| 分戶帳專戶銀行 | :2.入金重送; |#lightgray| 美好-Banking Gateway | :3.入金 Process(略); end @enduml ``` ## 入金錯誤 Scenario 2 ```plantuml @startuml |#lightYellow| 分戶帳專戶銀行 | start :1.分戶帳系統發生錯誤; |#pink| 總公司營運經辦 | :2.確認客戶入金資料與相關證明; :3.根據客戶提供證明與企網銀資料,在 backoffice 輸入入金匯款明細; |#lightgray| 美好-Banking Gateway | :4.根據明細紀錄入金 disabled 交易; :5.傳送補登格式入金資訊; | COBOL | :6.補登格式入金登帳; end |#lightYellow| 分戶帳專戶銀行 | :7.錯誤修復後,入金傳送; | 美好-Banking Gateway | if (8.是否為 disabled 入金交易?) then (yes) :9.註記狀態為疑似重複入金; |#pink| 總公司營運經辦 | if (10.確認是否重複入金?) then (yes) :11.在 backoffice 註記狀態為重複入金; end else (no) :12.在 backoffice 變更狀態為正常入金,儲存後正常入金送往 COBOL; | COBOL | :13.入金登帳; end endif else (no) | 美好-Banking Gateway | :14.正常入金後送; | COBOL | :15.入金登帳; end endif @enduml ``` ### 中信網銀查詢畫面 ![image (7)](https://hackmd.io/_uploads/SJjLquBH6.png) ## 入金錯誤 Scenario 3 ```plantuml @startuml |#lightYellow| Tech PM | start :1.發起便簽; |#lightBlue| Fintech product department head | :2.Approve; |#lightgray| CMA 結算交割 team | :3.COBOL 人工補登(要輸入 uuid); |#pink| 總公司營運放行主管 | :4.放行補登結果; end @enduml ```