Nofa Aulia
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Transaction Management Improvement ```plantuml !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml ``` ## Architecture Diagram - Brand Dashboard - Existing ```plantuml !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml title Transaction Management - Brand Dashboard Person(brand_admin, "Brand Admin") System_Boundary(brand_web_system, "Brand Administration Web Application") { Container(browser, "Browser", "Software System", "All supported browser") Container(brand_dashboard, "Brand Dashboard", "Nuxt.js", "Provides management functionalities to brand admin via their web browser") } System_Boundary(api_endpoint, "API Endpoint") { Container(brand_api, "evermos-brand-be API", "PHP", "Provides brand management functionalities via HTTPS / REST / JSON API") Container(order_api, "evm-order API", "PHP", "Provides order management functionalities via HTTPS / REST / JSON API") Container(admin_api, "evermos-admin-be API", "PHP", "Provides admin management functionalities via HTTPS / REST / JSON API") Container(gss_api, "evm-gss API", "PHP", "Provides GSS management functionalities via HTTPS / REST / JSON API") } System_Boundary(db, "Databases") { ContainerDb(db_evm, "Database", "MySQL", "evm schema") ContainerDb(db_itr, "Database", "MySQL", "itr schema") } ContainerDb(gss, "Database", "GraphSQL", "open search") Rel_R(brand_admin, browser, "Request", "Client Device") Rel_R(browser, brand_dashboard, "Access", "HTTPS") Rel_R(brand_dashboard, brand_api, "Makes API calls to", "HTTPS / REST / JSON") Rel(brand_api, order_api, "Makes API calls to", "HTTPS / REST / JSON") Rel(brand_api, admin_api, "Makes API calls to", "HTTPS / REST / JSON") Rel(order_api, gss_api, "Makes API calls to", "HTTPS / REST / JSON") Rel(brand_api, db_evm, "Reads from & Writes to", "TCP/IP") Rel(brand_api, db_itr, "Reads from & Writes to", "TCP/IP") Rel_R(admin_api, db_evm, "Reads from & Writes to", "TCP/IP") Rel(admin_api, db_itr, "Reads from & Writes to", "TCP/IP") Rel_R(order_api, db_evm, "Reads from & Writes to", "TCP/IP") Rel(gss_api, gss, "Reads from & Writes to", "TCP/IP") ``` ## Architecture Diagram - Mimin Dashboard - Existing ```plantuml !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml title Transaction Management - Mimin Dashboard Person(admin, "Admin") System_Boundary(admin_web_system, "Evermos Administration Web Application") { Container(browser, "Browser", "Software System", "All supported browser") Container(admin_dashboard, "Admin Dashboard", "Nuxt.js", "Provides management functionalities to evermos admin via their web browser") } System_Boundary(api_endpoint, "API Endpoint") { Container(admin_api, "evermos-admin-be API", "PHP", "Provides admin management functionalities via HTTPS / REST / JSON API") } System_Boundary(db, "Databases") { ContainerDb(db_evm, "Database", "MySQL", "evm schema") ContainerDb(db_itr, "Database", "MySQL", "itr schema") } Rel_R(admin, browser, "Request", "Client Device") Rel_R(browser, admin_dashboard, "Access", "HTTPS") Rel_R(admin_dashboard, admin_api, "Makes API calls to", "HTTPS / REST / JSON") Rel_R(admin_api, db_evm, "Reads from & Writes to", "TCP/IP") Rel(admin_api, db_itr, "Reads from & Writes to", "TCP/IP") ``` ## Architecture Diagram - Open - Existing ```plantuml !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml title Transaction Management - Open API Person(admin, "Admin") System_Boundary(jubelio_web_system, "Jubelio Administration Web Application") { Container(browser, "Browser", "Software System", "All supported browser") Container(jubelio_dashboard, "Jubelio Dashboard", "", "Provides management functionalities for jubelio admin via their web browser") } System_Boundary(api_endpoint, "API Endpoint") { Container(jubelio_api, "jubelio API", "", "Provides jubelio management functionalities via HTTPS / REST / JSON API") Container(shipment_api, "evm-shipment API", "PHP", "Provides order management functionalities via HTTPS / REST / JSON API") Container(order_api, "evm-order API", "PHP", "Provides order management functionalities via HTTPS / REST / JSON API") } System_Boundary(db, "Databases") { ContainerDb(db_evm, "Database", "MySQL", "evm schema") ContainerDb(db_itr, "Database", "MySQL", "itr schema") } Rel_R(admin, browser, "Request", "Client Device") Rel_R(browser, jubelio_dashboard, "Access", "HTTPS") Rel_R(jubelio_dashboard, jubelio_api, "Makes API calls to", "HTTPS / REST / JSON") Rel_R(jubelio_api, shipment_api, "Makes API calls to", "HTTPS / REST / JSON") Rel_R(shipment_api, order_api, "Makes API calls to", "HTTPS / REST / JSON") Rel(order_api, db_evm, "Reads from & Writes to", "TCP/IP") Rel(order_api, db_itr, "Reads from & Writes to", "TCP/IP") ``` ### Process Order in Brand Dashboard ```plantuml skinparam responseMessageBelowArrow true title Process Order - Existing Interaction Diagram participant "client" as c participant "evermos-brand-be" as ebb participant "evm-order" as eo participant "notif-service" as ns database "evm" as e database "itr" as i database "gss" as g c -> ebb : process order \nadmin/order-list/v2/process-order activate ebb alt if order 4PL ebb -> eo : process order\n/v1/worker/order/{domain}/receipt/process activate eo alt if order evermos eo -> e :process order activate e return order data end alt if order itr eo -> i :process order activate i return order data end return order data end alt if order evm ebb -> e : process order activate e return order data end alt if order itr ebb -> i : process order activate i return order data end ebb -> ns: send notification activate ns return ebb -> eo: sync order data\n/v1/internal/order/{domain}/sync activate eo eo -> g: sync order data activate g return order data return order data return order data ``` ### Generate Waybill in Brand Dashboard ```plantuml skinparam responseMessageBelowArrow true title Generate Waybill - Existing Interaction Diagram participant "client" as c participant "evermos-brand-be" as ebb participant "evermos-admin-be" as eab participant "jne" as jne participant "popaket" as pop participant "evm-order" as eo database "evm" as e database "itr" as i database "gss" as g c -> ebb : generate waybill\n(admin/order-list/v2/generate-waybill) activate ebb ebb -> eab : generate waybill\n(admin/order-list/v2/generate-waybill) activate eab alt if courier = "jne" eab -> jne : generate waybill jne -> eab : success/error end alt if courier = "popaket" eab -> pop : generate waybill pop -> eab : success/error end alt if platform = "evermos" eab -> e : update waybill e -> eab : success/error end alt if platform = "berikhtiar" eab -> i : update waybill i -> eab : success/error end return success/error ebb -> eo : sync order\n(/v1/internal/order/{domain}/sync) activate eo eo -> g : sync order activate g return success/error return success/error return success/error ``` ### Input Waybill in Brand Dashboard ```plantuml skinparam responseMessageBelowArrow true title Input Waybill - Existing Interaction Diagram participant "client" as c participant "evermos-brand-be" as ebb participant "evm-order" as eo participant "jne" as jne participant "popaket" as pop database "evm" as e database "itr" as i database "gss" as g c -> ebb : update waybill\n(admin/order-list/v2/update-waybill) activate ebb alt if platform = "evermos" ebb -> e : update inventory status activate e return end alt if platform = "berikhtiar" ebb -> i : update inventory status activate i return end ebb -> eo : sync order\n(/v1/internal/order/{domain}/sync) activate eo eo -> g : sync order activate g return success/error return success/error alt if courier = "jne" ebb -> jne : register tracking jne -> ebb : success/error end alt if courier = "popaket" ebb -> pop : generate waybill pop -> ebb : success/error end return success/error ``` ### Batch Input Waybill in Brand Dashboard ```plantuml skinparam responseMessageBelowArrow true title Batch Input Waybill - Existing Interaction Diagram participant "client" as c participant "evermos-brand-be" as ebb participant "evm-order" as eo participant "jne" as jne participant "popaket" as pop database "evm" as e database "itr" as i database "gss" as g c -> ebb : update waybill batch \n(admin/order-list/v2/update-waybill-batch) activate ebb alt if platform = "evermos" ebb -> e : update inventory status activate e return end alt if platform = "berikhtiar" ebb -> i : update inventory status activate i return end alt if courier = "jne" ebb -> jne : register tracking jne -> ebb : success/error end alt if courier = "popaket" ebb -> pop : generate waybill pop -> ebb : success/error end ebb -> eo : sync order\n(/v1/internal/order/{domain}/sync) activate eo eo -> g : sync order activate g return success/error return success/error return success/error ``` ### Process Order in Mimin Dashboard ```plantuml skinparam responseMessageBelowArrow true title Process Order - Existing Interaction Diagram participant "client" as c participant "evermos-admin-be" as eab database "evm" as e database "itr" as i c -> eab : process order\n(admin/order-list/detail-by-id) activate eab alt if platform = "evermos" eab -> e : update waybill e -> eab : success/error end alt if platform = "berikhtiar" eab -> i : update waybill i -> eab : success/error end return success/error ``` ### Generate Waybill in Mimin Dashboard ```plantuml skinparam responseMessageBelowArrow true title Generate Waybill - Existing Interaction Diagram participant "client" as c participant "evermos-admin-be" as eab participant "jne" as jne participant "popaket" as pop database "evm" as e database "itr" as i c -> eab : generate waybill\n(order/generate-waybill-jne) activate eab alt if courier = "jne" eab -> jne : generate waybill jne -> eab : success/error end alt if courier = "popaket" eab -> pop : generate waybill pop -> eab : success/error end alt if platform = "evermos" eab -> e : update waybill e -> eab : success/error end alt if platform = "berikhtiar" eab -> i : update waybill i -> eab : success/error end return success/error ``` ### Process Order ```plantuml skinparam responseMessageBelowArrow true title Process Order - Open API - Interaction Diagram participant "jubelio" as j participant "evm-shipment" as es participant "evm-order" as eo participant "notif-service" as ns database "evm" as e database "itr" as i j -> es : accept order \n(/open/v1/order/accept) activate es es -> eo : update status order\n/v1/order/{domain}/detail/inventory-status activate eo alt if platform = "evermos" eo -> e : update status e -> eo : success/error end alt if platform = "berikhtiar" eo -> i : update status i -> eo : success/error end eo -> ns : send notification activate ns return success/error return success/error return success/error ``` ### Generate Waybill in Brand Dashboard ```plantuml skinparam responseMessageBelowArrow true title Generate Waybill - Open API - Existing Interaction Diagram participant "jubelio" as j participant "evm-shipment" as es participant "jne" as jne participant "popaket" as pop participant "evm-order" as eo database "evm" as e database "itr" as i database "gss" as g j -> es : generate waybill\n(/open/v1/awb) activate es alt if courier = "jne" es -> jne : generate waybill jne -> es : success/error end alt if courier = "popaket" es -> pop : generate waybill pop -> es : success/error end es -> eo : update awb\n(/open/v1/order/waybill) activate eo alt if platform = "evermos" eo -> e : update waybill e -> eo : success/error end alt if platform = "berikhtiar" eo -> i : update waybill i -> eo : success/error end return success/error return success/error ``` ## Database Design - Existing System ```plantuml hide circle 'skinparam linetype ortho skinparam class { ArrowColor #FF7878 BackgroundColor #FFF89A BorderColor #694E4E } title EVM Database Schema entity "[evm] brand" as b { *id: bigint(20) -- brandParentId: bigint(20) <<FK>> warehouseShelfId: bigint(20) <<FK>> warehouseZoneId: bigint(20) <<FK>> partnershipId: bigint(20) <<FK>> code: varchar(20) slug: text name: varchar(100) type: enum ... } entity "[evm] order" as o { *id: bigint(20) -- orderCode: varchar(60) status: int(11) userId: bigint(20) <<FK>> totalPrice: decimal(12, 2) totalPayment: decimal(12, 2) totalCustomerPrice: decimal(12, 2) totalQuantity: int(11) totalWeight: int(11) ... } entity "[evm] order_detail" as od { *id: bigint(20) -- orderId: bigint(20) <<FK>> orderReceiptId: bigint(20) <<FK>> productId: bigint(20) <<FK>> normalPrice: decimal(12, 2) discountPrice: decimal(12, 2) quantity: int(11) totalPrice: decimal(12, 2) waybill: varchar(100) ... } entity "[evm] order_receipt" as or { *id: bigint(20) -- orderId: bigint(20) <<FK>> userAddressId: bigint(20) <<FK>> orderAddressId: bigint(20) <<FK>> orderReceiptCode: varchar(60) waybill: varchar(100) ... } entity "[evm] product" as p { *id: bigint(20) -- productModelId: bigint(20) <<FK>> name: text code: text ... } entity "[evm] product_model" as pm { *id: bigint(20) -- brandId: bigint(20) <<FK>> name: text code: text ... } b ||-right|{ pm pm ||--|{ p or ||--|{ od o ||--|{ od p ||--|{ od or ||-left|{ o ``` ## Architecture Diagram - Brand Dashboard - Proposed Solution ```plantuml !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml title Transaction Management - Brand Dashboard Person(brand_admin, "Brand Admin") System_Boundary(brand_web_system, "Brand Administration Web Application") { Container(browser, "Browser", "Software System", "All supported browser") Container(brand_dashboard, "Brand Dashboard", "Nuxt.js", "Provides brand management functionalities to brand admin via their web browser") } System_Boundary(api_endpoint, "API Endpoint") { Container(evm_brand, "evm-brand API", "Golang", "Provides brand management functionalities via HTTPS / REST / JSON API") Container(evm_shipment, "evm-shipment API", "Golang", "Provides shipment management functionalities via HTTPS / REST / JSON API") Container(evm_order, "evm-order API", "Golang", "Provides order management functionalities via HTTPS / REST / JSON API") Container(gss, "GSS API", "", "Provides transaction data via HTTPS / REST / JSON API") } ContainerDb(db_evm, "Database", "MySQL", "evm schema") ContainerDb(db_itr, "Database", "MySQL", "itr schema") ContainerDb(db_os, "Database", "GraphQL", "open search") Rel_R(brand_admin, browser, "Register Brand", "Client Device") Rel_R(browser, brand_dashboard, "Access", "HTTPS") Rel(brand_dashboard, evm_brand, "Makes API calls to", "HTTPS / REST / JSON") Rel_L(evm_brand, evm_shipment, "Makes API calls to", "HTTPS / REST / JSON") Rel(evm_brand, db_evm, "Reads from & Writes to", "TCP/IP") Rel(evm_brand, db_itr, "Reads from & Writes to", "TCP/IP") Rel_R(evm_brand, evm_order, "Makes API calls to", "HTTPS / REST / JSON") Rel_R(evm_order, gss, "Makes API calls to", "HTTPS / REST / JSON") Rel(gss, db_os, "Reads from & Writes to", "TCP/IP") Rel(evm_order, db_evm, "Reads from & Writes to", "TCP/IP") Rel(evm_order, db_itr, "Reads from & Writes to", "TCP/IP") Rel_R(evm_shipment, evm_order, "Makes API calls to", "HTTPS / REST / JSON") ``` ## Architecture Diagram - Mimin Dashboard - Proposed Solution ```plantuml !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml title Transaction Management - Mimin Dashboard Person(admin, "Admin") System_Boundary(admin_web_system, "Evermos Administration Web Application") { Container(browser, "Browser", "Software System", "All supported browser") Container(mimin_dashboard, "Mimin Dashboard", "Nuxt.js", "Provides management functionalities to evermos admin via their web browser") } System_Boundary(api_endpoint, "API Endpoint") { Container(evm_brand, "evm-brand API", "Golang", "Provides brand management functionalities via HTTPS / REST / JSON API") Container(evm_shipment, "evm-shipment API", "Golang", "Provides shipment management functionalities via HTTPS / REST / JSON API") Container(evm_order, "evm-order API", "Golang", "Provides order management functionalities via HTTPS / REST / JSON API") Container(gss, "GSS API", "", "Provides transaction data via HTTPS / REST / JSON API") } ContainerDb(db_evm, "Database", "MySQL", "evm schema") ContainerDb(db_itr, "Database", "MySQL", "itr schema") ContainerDb(db_os, "Database", "GraphQL", "open search") Rel_R(admin, browser, "Register Brand", "Client Device") Rel_R(browser, mimin_dashboard, "Access", "HTTPS") Rel(mimin_dashboard, evm_brand, "Makes API calls to", "HTTPS / REST / JSON") Rel_L(mimin_dashboard, evm_shipment, "Makes API calls to", "HTTPS / REST / JSON") Rel(evm_brand, evm_order, "Makes API calls to", "HTTPS / REST / JSON") Rel(evm_shipment, evm_order, "Makes API calls to", "HTTPS / REST / JSON") Rel_R(evm_order, gss, "Makes API calls to", "HTTPS / REST / JSON") Rel(gss, db_os, "Reads from & Writes to", "TCP/IP") Rel(evm_order, db_evm, "Reads from & Writes to", "TCP/IP") Rel(evm_order, db_itr, "Reads from & Writes to", "TCP/IP") Rel_R(evm_shipment, evm_order, "Makes API calls to", "HTTPS / REST / JSON") ``` ## Database Design - Proposed Solution ```plantuml hide circle 'skinparam linetype ortho skinparam class { ArrowColor #FF7878 BackgroundColor #FFF89A BorderColor #694E4E } title EVM Database Schema entity "[evm] brand" as b { *id: bigint(20) -- brandParentId: bigint(20) <<FK>> warehouseShelfId: bigint(20) <<FK>> warehouseZoneId: bigint(20) <<FK>> partnershipId: bigint(20) <<FK>> code: varchar(20) slug: text name: varchar(100) type: enum ... } entity "[evm] order" as o { *id: bigint(20) -- orderCode: varchar(60) status: int(11) userId: bigint(20) <<FK>> totalPrice: decimal(12, 2) totalPayment: decimal(12, 2) totalCustomerPrice: decimal(12, 2) totalQuantity: int(11) totalWeight: int(11) ... } entity "[evm] order_detail" as od { *id: bigint(20) -- orderId: bigint(20) <<FK>> orderReceiptId: bigint(20) <<FK>> productId: bigint(20) <<FK>> brand: bigint(20) <<FK>> normalPrice: decimal(12, 2) discountPrice: decimal(12, 2) quantity: int(11) totalPrice: decimal(12, 2) waybill: varchar(100) ... } entity "[evm] order_receipt" as or { *id: bigint(20) -- orderId: bigint(20) <<FK>> userAddressId: bigint(20) <<FK>> orderAddressId: bigint(20) <<FK>> orderReceiptCode: varchar(60) waybill: varchar(100) ... } entity "[evm] product" as p { *id: bigint(20) -- productModelId: bigint(20) <<FK>> name: text code: text ... } entity "[evm] product_model" as pm { *id: bigint(20) -- brandId: bigint(20) <<FK>> name: text code: text ... } b ||-right|{ pm b ||--|{ od pm ||--|{ p or ||--|{ od o ||--|{ od p ||--|{ od or ||-left|{ o ``` ### Process Order ```plantuml skinparam responseMessageBelowArrow true title Process Order - Proposed Interaction Diagram participant "client" as c participant "evm-brand" as eb participant "evm-order" as eo participant "notif-service" as ns database "evm" as e database "itr" as i database "gss" as g c -> eb : process order \n/v2/{tenant}/order/process activate eb alt if order 4PL eb -> eo : process order\n/v1/worker/order/{domain}/receipt/process activate eo alt if order evermos eo -> e :process order activate e return order data end alt if order itr eo -> i :process order activate i return order data end eo -> g: sync order data activate g return order data return order data end alt if not order 4PL eb -> eo : process order\nv2/internal/order/{domain}/receipt/process activate eo alt if order evermos eo -> e :process order activate e return order data end alt if order itr eo -> i :process order activate i return order data end eo -> g: sync order data activate g return order data end return order data eb -> ns: send notification activate ns return return order data ``` ### Generate Waybill in Brand Dashboard ```plantuml skinparam responseMessageBelowArrow true title Generate Waybill - Proposed Interaction Diagram participant "client" as c participant "evm-brand" as eb participant "evm-shipment" as es participant "jne" as jne participant "popaket" as pop participant "evm-order" as eo database "evm" as e database "itr" as i database "gss" as g c -> eb : generate waybill\n(v2/{tenant}/order/waybill) activate eb eb -> es : generate waybill\n/v2/awb activate es alt if courier = "jne" es -> jne : generate waybill jne -> es : success/error end alt if courier = "popaket" es -> pop : generate waybill pop -> es : success/error end es -> eo : update order detail data\n/v1/order/{domain}/detail/inventory-status activate eo alt if order evermos eo -> e : update waybill e -> eo : success/error end alt if order itr eo -> i : update waybill i -> eo : success/error end eo -> g : sync order activate g return success/error return success/error return success/error return success/error ``` ### Generate Waybill in Mimin Dashboard ```plantuml skinparam responseMessageBelowArrow true title Generate Waybill - Proposed Interaction Diagram participant "client" as c participant "evm-shipment" as es participant "jne" as jne participant "popaket" as pop participant "evm-order" as eo database "evm" as e database "itr" as i database "gss" as g c -> es : generate waybill\n/v1/awb activate es alt if courier = "jne" es -> jne : generate waybill jne -> es : success/error end alt if courier = "popaket" es -> pop : generate waybill pop -> es : success/error end es -> eo : update order detail data\n/v1/order/{domain}/detail/inventory-status activate eo alt if order evermos eo -> e : update waybill e -> eo : success/error end alt if order itr eo -> i : update waybill i -> eo : success/error end eo -> g : sync order activate g return success/error return success/error return success/error ``` ### Process Order in Mimin Dashboard ```plantuml skinparam responseMessageBelowArrow true title Process Order - Mimin - Proposed Interaction Diagram participant "client" as c participant "evm-order" as eo database "evm" as e database "itr" as i c -> eo : process order\nv2/internal/order/{domain}/receipt/process activate eo alt if order evermos eo -> e :process order activate e return order data end alt if order itr eo -> i :process order activate i return order data end return order data ``` ### Input Waybill in Brand Dashboard ```plantuml skinparam responseMessageBelowArrow true title Input Waybill - Propose Interaction Diagram participant "client" as c participant "evm-brand" as eb participant "evm-shipment" as es participant "evm-order" as eo database "evm" as e database "itr" as i database "gss" as g c -> eb : update waybill\n(v2/{tenant}/order/update-waybill) activate eb eb -> es: update waybill\n(v2/awb/non-cashless) activate es es -> eo: update waybill\n(v2/order/waybill) activate eo alt if order evermos eo-> e : update order detail activate e return success/error end alt if order itr eo -> i : update order detail activate i return success/error end return success/error return success/error eb -> eo : sync order\n(/v1/internal/order/{domain}/sync) activate eo eo -> g : sync order activate g return success/error return success/error return success/error ``` ### Batch Input Waybill in Brand Dashboard ```plantuml skinparam responseMessageBelowArrow true title Input Waybill Batch - Propose Interaction Diagram participant "client" as c participant "evm-brand" as eb participant "evm-shipment" as es participant "evm-order" as eo database "evm" as e database "itr" as i database "gss" as g c -> eb : update waybill\n(v2/{tenant}/order/update-waybill-batch) activate eb eb -> es: update waybill\n(v2/awb/non-cashless) activate es es -> eo: update waybill-batch\n(v2/order/waybill) activate eo alt if order evermos eo-> e : update order detail activate e return success/error end alt if order itr eo -> i : update order detail activate i return success/error end return success/error return success/error eb -> eo : sync order\n(/v1/internal/order/{domain}/sync) activate eo eo -> g : sync order activate g return success/error return success/error return success/error ```

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully