@startuml start switch (點貨作業) case() :列印出貨面單; :選擇通路代碼; :列印 shipment_out(); case() :袋進倉 bag_in(); case() :進站; :選擇通路代碼; :wh_in(); case() :出站; :選擇通路代碼; :指定下一站; :wh_out(); case() :配送; :deliver_out(); case() :簽收; :選擇通路代碼; :簽收類別(成功/異常) 簽收人(本人/代收/警衛); :sign(); case() :二次出貨; :選擇通路代碼; :whout_again(); case() :退貨; :選擇通路代碼; :選擇倉別/儲區; :s_return(); case() :重印面單 reprint(); case() :面單批次列印; :查詢條件; :batch_print(); case() :刷退條碼; :選擇通路代碼; :print_return(); endswitch stop @enduml