# Blueprint
<style>
/*
html, body, .ui-content {
background-color: black;
color: lightgray;
}
*/
.markdown-body { max-width: 1500px; }
.div-mermaid { max-width: 3000px; }
</style>
:::info
:information_source: [Apps](https://hackmd.io/uhpwmOWLQgqIBC1NdnsQ5g?view)
:::
[toc]
# <font color='dodgerblue'>Blueprint (Miro)</font>

## <font color='dodgerblue'>Infra Layer</font>
### File Sharing
```mermaid
graph
subgraph File-Sharing
subgraph ALTIRISDB
atrdb([X4.24.213])
end
subgraph HQ-FS
hqfs([X2.1.54])
end
subgraph NETBACKUP01
nb1([X4.24.107])
end
subgraph NETBACKUP02
nb2([X4.24.108])
end
subgraph NETBACKUP03
nb3([X2.1.53])
end
end
classDef system color: gray, stroke: gray, stroke-dasharray: 6 6
classDef server color: gray, fill: gold, stroke: gray
class File-Sharing system
class ALTIRISDB,HQ-FS,NETBACKUP01,NETBACKUP02,NETBACKUP03 server
```
### HRIS
```mermaid
graph
subgraph HRIS
subgraph HRIS01
hris1([X4.24.61])
end
subgraph HRIS02
hris2([X4.24.62])
end
subgraph HRISDB
hrisdb([X4.24.65])
end
end
classDef system color: gray, stroke: gray, stroke-dasharray: 6 6
classDef server color: gray, fill: gold, stroke: gray
class HRIS system
class HRIS01,HRIS02,HRISDB server
```
### Nok CRM
```mermaid
graph
subgraph NokCRM
subgraph CRMAPP01
crma1([X4.23.91])
end
subgraph CRMAPP02
crma2([X4.23.92])
end
subgraph CRMDB01
crmd1([X4.23.93])
end
subgraph CRMDB02
crmd2([X4.23.94])
end
crma1 -.- crmd1
crma2 -.- crmd2
classDef system color: gray, stroke: gray, stroke-dasharray: 6 6
classDef server color: gray, fill: gold, stroke: gray
class NokCRM system
class CRMAPP01,CRMAPP02,CRMDB01,CRMDB02 server
end
```
### Nok DD
```mermaid
graph
subgraph NokDD
subgraph Cluster
subgraph NOKDDFE01
ndd1([X4.23.121])
end
subgraph NOKDDFE02
ndd2([X4.23.122])
end
ncl[VIP<br>X4.23.xx]
end
ncl -.- nsql1
subgraph NDDSQL01
nsql1([X4.23.123])
end
subgraph NDDSQL02
nsql2([X4.23.124])
end
subgraph NOKDDTEST_2008R2
nddt([X2.1.48])
end
end
classDef system color: gray, stroke: gray, stroke-dasharray: 6 6
classDef server color: gray, fill: gold, stroke: gray
class NokDD system
class NOKDDFE01,NOKDDFE02,NDDSQL01,NDDSQL02,NOKDDTEST_2008R2 server
```
- OG: Can have downtime 02:00-04:00 everyday `20jul23`
<br><br>
### Nok Fanclub
```mermaid
graph
subgraph Nok-FanClub
subgraph VIP
vip([X4.23.88])
end
subgraph NOKFANCLUB01
nfc1([X3.40.19])
end
subgraph NOKFANCLUB02
nfc2([X3.40.20])
end
vip -.- nfc1
vip -.- nfc2
subgraph WEBSQL01
wsql1([X4.23.81])
end
subgraph WEBSQL02
wsql2([X4.23.82])
end
subgraph WEBDB01
wdb1([X4.23.165])
end
subgraph WEBDBA
wdba([X4.23.161])
end
subgraph LOADBALANCER02
lb2([X4.24.132])
end
end
classDef system color: gray, stroke: gray, stroke-dasharray: 6 6
classDef server color: gray, fill: gold, stroke: gray
classDef check color: red, fill: gold, stroke: red
class Nok-FanClub system
class NOKFANCLUB01,NOKFANCLUB02,WEBSQL01,WEBSQL02,WEBDB01,WEBDBA,LOADBALANCER02 server
class VIP,LOADBALANCER02 check
```
### Nok POS
```mermaid
graph
subgraph Nok-POS
subgraph NOKPOS1
np1([X4.24.221])
end
subgraph NOKPOS2
direction TB
np2([X4.24.222])
np21([X4.24.226<br>POSCluster])
np22([X4.24.225<br>PostOffice])
np23([X4.24.226<br>PostDB])
end
subgraph POSDBTEST
pdbt([X4.24.26])
end
end
classDef system color: gray, stroke: gray, stroke-dasharray: 6 6
classDef server color: gray, fill: gold, stroke: gray
class Nok-POS system
class NOKPOS1,NOKPOS2,POSDBTEST server
```
### NokSmart
```mermaid
graph
subgraph NokSmart
subgraph NOKSMART01
nsm1([X4.23.51])
end
subgraph NOKSMART02
nsm2([X4.23.52])
end
subgraph SMARTREPORT
nsr([X4.23.53])
end
end
classDef system color: gray, stroke: gray, stroke-dasharray: 6 6
classDef server color: gray, fill: gold, stroke: gray
class NokSmart system
class NOKSMART01,NOKSMART02,SMARTREPORT server
```
### IT UR
```mermaid
graph
subgraph IT-UR
subgraph NOKREQUEST
nr([X4.24.243])
end
subgraph SHAREPOINTDB01
spdb1([X4.24.116])
end
end
classDef system color: gray, stroke: gray, stroke-dasharray: 6 6
classDef server color: gray, fill: gold, stroke: gray
class IT-UR system
class NOKREQUEST,SHAREPOINTDB01 server
```
### iWork/iDoc
```mermaid
graph
subgraph iWork
subgraph IWORK2
iw2([X4.24.117])
end
subgraph SHAREPOINTDB
spdb([X4.24.115])
end
subgraph NOKSHAREPOINT02
nsp2([X4.24.112])
end
subgraph NOKPURCHASE01
npc1([X4.23.24])
end
subgraph ARC_APPLOG
aal([X2.1.77])
end
end
classDef system color: gray, stroke: gray, stroke-dasharray: 6 6
classDef server color: gray, fill: gold, stroke: gray
class iWork system
class IWORK2,SHAREPOINTDB,NOKSHAREPOINT02,NOKPURCHASE01,ARC_APPLOG server
```
### Navision
```mermaid
graph
subgraph Navision
subgraph Navision01
nv1([X4.24.198])
end
subgraph Navision02
nv2([X4.24.199])
end
subgraph NAV-STAGING
nv3([X4.24.206])
end
subgraph NAVISIONAPPTEST
nvt([X4.1.56])
end
subgraph NAVISIONDB
nvdb([X4.24.195])
end
nv1 --- nvdb
nv2 --- nvdb
end
classDef system color: gray, stroke: gray, stroke-dasharray: 6 6
classDef server color: gray, fill: gold, stroke: gray
class Navision system
class Navision01,Navision02,NAV-STAGING,NAVISIONAPPTEST,NAVISIONDB server
```
## <font color='dodgerblue'>Application Layer</font>
## <font color='dodgerblue'>All Application</font>
```mermaid
flowchart TB
subgraph AirFase
frc([Flight Record])
end
subgraph AltirisDB
fsr([File Sharing])
end
subgraph BI Gateway
bigw([BI])
end
subgraph iWork/iDoc
direction LR
pr([PR])
bg([Budget])
mcd([Merchandise])
end
subgraph HRIS
direction LR
pro([Payroll])
es([Employee Service])
end
subgraph a2["MSCRM"]
direction RL
rf([Refund])
cm([Customer Case])
end
subgraph Navision
nav([Accounting<br>System])
end
```
```mermaid
flowchart TB
subgraph Nok CRM
direction LR
rqti([Request Tax Inv])
pti([Print Tax Inv])
ulti([Unlock Tax Inv])
end
subgraph a1["Nok DD"]
direction LR
cn([Checkin])
cg([Cargo])
fim([FIM])
rp([Report])
gh([Ground Handling])
pm([Passenger Manifest])
end
subgraph Nok Fan Club
nfc([NFC])
end
subgraph Nok Gateway
atm([ATM])
cs([Counter Service])
qr([QR])
end
subgraph Nok Intranest
nitn([Intranet])
end
subgraph Nok Purchase
vdm([Vendor<br>Management])
end
subgraph Nok Request
ur([UR])
end
subgraph Nok Smart
nsrp([Reports])
end
```
```mermaid
flowchart TD
subgraph POS
ptiv([Tax Inv])
st([Sale<br>Transaction])
end
subgraph Port Go
pg([???])
end
subgraph Radixx Open VPN
rdov([VPN??])
end
subgraph Rusada
rsd([Envision])
end
subgraph Web API
wapi([Web API])
end
subgraph Zulu
zl([???])
end
classDef system color: gray, stroke: gray, stroke-dasharray: 4 4
class xx system
```
## <font color='dodgerblue'>Apps Functions</font>
### <font color='skyblue'>iWork/iDoc</font>
- <font color='lightblue'>Accounting</font>
- Merchandise
- Merchandise Interface
- เรียกรายงานรับ-เบิกสินค้า
- เรียกรายงานขายสินค้า
- <font color='lightblue'>LAD</font>
### <font color='skyblue'>MS CRM</font>
- <font color='lightblue'>Accounting</font>
- เรียกรายงานคำร้องขอใบแทน
- วางข้อมูลส่งเรื่องคืนเงินให้ลูกค้า
- วางข้อมูลการส่งไปรษณีย์ใบกำกับภาษี (ลงทะเบียน, EMS)
- Guidline หน่วยงานที่เกี่ยวข้องเรื่องใบกำกับภาษีกลุ่ม B2C
- ตรวจสอบข้อมูลเคสคืนเงินค่าโดยสาร
### <font color='skyblue'>Nok CRM</font>
- <font color='lightblue'>Accounting</font>
- รับ Request Tax Invoice
- Print Tax Invoice
- Unlock Tax Invoice
### <font color='skyblue'>Nok DD</font>
- <font color='lightblue'>Accounting</font>
- Cargo
- Cargo Interface จาก Nok DD เข้า Navision
- FIM
- FIM IN - นาวิชั่น Interface มาพร้อม Booking ขายตั๋ว แต่แยก FIM IN ไว้ Batch ต่างหาก
- Ground Handling
- ตรวจสอบข้อมูลจากสถานี เพื่อเป็นข้อมูลในการออกใบแจ้งหนี้เรียกเก็บเงินลูกค้า หรือออกใบเสร็จรับเงิน/ใบกำกับภาษี
- Passenger Manifest
- Charter flight เช่น กอ รมน.
### <font color='skyblue'>Navision</font>
- Accounting System
- ออกใบกำกำกับภาษีกลุ่ม B to C
- ออกใบแจ้งหนี้เรียกเก็บเงินลูกค้า
- ออกใบเสร็จรับเงิน
- ออกใบลดหนี้
- บันทึกบัญชี
- เรียกรายงาน
- Interface
- Other Interface
- Sale & Receiveable
- Credit memo
- Gen.Tax invoice (B2B)
### <font color='skyblue'>Nok Smart</font>
- <font color='lightblue'>Accounting</font>
- Reports
- รายงานภาษีขาย (Summary) จากระบบ POS ตาม Format ของบัญชี ที่ระบบ POS ไม่มี
- Voucher Payment Report ตาม Basic code (Sponsor ID)
- Agent payment Report
- OTA Payment Report
- Booking summary (Flight Detail)
- Payment summary (Flight Detail)
- อื่นๆ ที่อยู่ภายใต้ เมนู Accounting Report
- ตรวจสอบสถานะใบกำกับภาษี
- เรียกรายงาน Open Booking (Voucher)
### <font color='skyblue'>POS</font>
- <font color='lightblue'>Accounting</font>
- POS HQ (Nok POS) เพื่อตรวจสอบรายการขายและเอกสารได้ทั้งหมดและทุกประเภท
- ตรวจสอบสถานะใบกำกับภาษีอย่างย่อหรือเต็มรูป
- ปริ้นสำเนา ออกใบแทนใบกำกับภาษี
- Nok Lounge ลูกค้า Walk in (Close shift,ใบกำกับอย่างย่อ,เต็มรูป)
- Cargo สถานี NST, TST ออกใบเสร็จจาก POS ไม่ได้ ต้องเขียนเล่มใบเสร็จ Manual แทน
# <font color='salmon'>Links</font>
- [Apps Matrix](https://nok365.sharepoint.com/:x:/r/sites/NokIT/Shared%20Documents/General/Blueprint/Blueprint%20-%20Apps%20questionnaire.xlsx?d=wb7ea5bf8341342d7b0360aed4fc5661d&csf=1&web=1&e=TDqSrB)
Nok Intranest
- LAD
- Form ต่างๆ
GO Checkin ได้หรือไม่
เลื่อนมาเป็น 21:00 ถ้า go checkin ไม่ได้