{"text_format":"2","workbook":"xlsx","n_sheets":5,"sheets":["過站卡控檢查條件","過站邏輯","Table整理","Sheet1","條碼刷入新修Table"],"not_rendered":{"charts":0,"images":0,"macros":0,"external_links":0,"defined_names":1,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"run_cost":"one","rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"過站卡控檢查條件","index":0,"n_rows":28,"n_cols":4,"rows_kept":28,"cut":false,"hidden":false,"merged":[[0,1,0,2],[6,1,6,2],[14,1,14,2]]}
["ITEM","確認序號 的狀態"]
[1,"是否存在於工單範圍","WIP_BARCODE"]
[2,"是否報廢","BARCODE_INFO"]
[3,"是否外部序號","WIP_BARCODE_OTHER"]
[4,"是否被鎖定","BARCODE_LOCK"]
[]
["ITEM","確認工單 的狀態"]
[1,"是否存在","WIP_INFO"]
[2,"是否存在於該線","WIP_INFO"]
[3,"是否已開工","WIP_LOG"]
[4,"是否已完工","WIP_INFO"]
[5,"是否被鎖定","WIP_LOCK"]
[6,"是否為重工工單","WIP_INFO"]
[]
["ITEM","確認組件的狀態"]
[1,"數量是否正確","MATERIAL_KP"]
[2,"碼長及前置碼是否正確","MATERIAL_KP"]
[3,"確認是否有亂碼出現(Config設定)","X"]
[4,"組件是否 重複","X"]
[5,"組件是否為在製 狀態 (ex.板卡)","BARCODE_INFO"]
[6,"確認MAC是否在設定區間及群組內","WIP_MAC"]
[]
["ITEM","確認製程 的狀態"]
[1,"過站的製程是否存在","FACTORY_UNIT"]
[2,"過站的站別是否存在","STATIONS"]
[3,"前製程式否投產 (T D or B , P → T)","WIP_INFO","BARCODE_INFO"]
[4,"檢查燒機時間","MAT_PROPERTY"]
[5,"同一站過站達 n 次，鎖定(測試站)","MAT_PROPERTY","WIP_LOCK"]

{"sheet":"過站邏輯","index":1,"n_rows":8,"n_cols":17,"rows_kept":8,"cut":false,"hidden":false,"merged":[]}
[]
["條碼是否已經 報廢","BARCODE_INFO",null,null,"是否投入\n已 經 完工","WIP_INFO",null,null,"過\n站製程\n是否 存在","FACTORY_UNIT",null,null,null,"檢查生產序號當前站別是否為抽驗站，是則不更新","WIP_INFO","STATION_TYPE","BARCODE_STATION"]
["查看刷入的序號是否為外部序號根據外部序號所查出的內部序號做過站","WIP_BARCODE","WIP_BARCODE_OTHER",null,"條碼是否\n第二次過\n包裝","BARCODE_STATION",null,null,"過站站別\n是否存在","STATIONS"]
["確認使用\n者帳號是\n否存在","USER_INFO",null,null,"判断REASON CODE 指向","X",null,null,"投入站不\n可以刷不\n良","STATIONS","STATION_TYPE"]
["自動開線，T2 自動建工單邏輯 待畫流程",null,null,null,"過第一 站时流程未结束判斷是否為重工工單","WIP_INFO","BARCODE_INFO",null,"解除\nGroup 作業","BARCODE_GROUP"]
["條碼\n在當\n前站別是\n否被鎖定","BARCODE_LOCK",null,null,"後工單不能抵前工單","WIP_BARCODE","LINE_INFO",null,"生產序號過站\n1.\n新增\n2.\n更新","BARCODE_INFO","BARCODE_STATION","BAROCDE_WIP"]
["條碼\n所對\n應的工單\n在當前站\n別是否被\n鎖定","WIP_LOCK",null,null,"組件和條碼是否同時出現相同序號","BARCODE_ITEM","WIP_BARCODE",null,"生產序號\n是否超過 n\n次 Fail ，超\n過鎖定","BARCODE_STATION"]
[{"$nulls":4},"组件是否存在生產序號中，存在則判斷組件 狀態","BARCODE_INFO",null,null,"工單自動完工\n1.計畫量 完工量 產出量\n2.工單狀態不為 E\n3.該工單中序號没 有 WIP 存在","WIP_INFO","BARCODE_INFO"]

{"sheet":"Table整理","index":2,"n_rows":55,"n_cols":6,"rows_kept":55,"cut":false,"hidden":false,"merged":[[1,0,9,0],[10,0,11,0],[12,0,14,0],[15,0,18,0],[19,0,20,0],[22,0,28,0],[29,0,30,0],[31,0,34,0],[38,0,39,0],[40,0,41,0],[44,0,45,0],[46,0,47,0],[1,1,9,1],[10,1,11,1],[12,1,14,1],[15,1,18,1],[19,1,20,1],[22,1,28,1],[29,1,30,1],[31,1,34,1],[38,1,39,1],[40,1,41,1],[44,1,45,1],[46,1,47,1],[1,4,9,4],[10,4,11,4],[12,4,14,4],[15,4,18,4],[19,4,20,4],[22,4,28,4],[29,4,30,4],[31,4,34,4],[38,4,39,4],[40,4,41,4],[44,4,45,4],[46,4,47,4],[1,5,9,5],[10,5,11,5],[12,5,14,5],[15,5,18,5],[19,5,20,5],[22,5,28,5],[29,5,30,5],[31,5,34,5],[38,5,39,5],[40,5,41,5],[44,5,45,5],[46,5,47,5]]}
["TableName","資料表名稱","過站卡控條件","判斷欄位","新增","更新"]
["WIP_INFO","工單基本資料文件","是否存在","wipno?wipid?"]
[null,null,"是否存在於該線","wipno?wipid?"]
[null,null,"前製程式否投產 (T D or B , P → T)"]
[null,null,"是否已完工","status_no =Y"]
[null,null,"是否為重工工單"]
[null,null,"檢查生產序號當前站別是否為抽驗站，是則不更新"]
[null,null,"過第一 站时流程未结束判斷是否為重工工單","WIP_TYPE:S|R"]
[null,null,"工單自動完工\n1.計畫量 完工量 產出量\n2.工單狀態不為 E\n3.該工單中序號没 有 WIP 存在"]
[null,null,"是否投入已經完工"]
["WIP_LOG","工單投產纪錄資料文件","是否已開工","status_no =A"]
[null,null,"自動開線，T2 自動建工單邏輯 待畫流程"]
["WIP_LOCK","工單鎖定資料檔","是否被鎖定","wipno & lockstaus=0"]
[null,null,"同一站過站達 n 次，鎖定(測試站)"]
[null,null,"條碼所對應的工單在當前站別是否被鎖定","wipno & lockstaus=0"]
["WIP_BARCODE","工單條碼起迄資料檔","是否存在於工單範圍 "]
[null,null,"查看刷入的序號是否為外部序號根據外部序號所查出的內部序號做過站?"]
[null,null,"後工單不能抵前工單"]
[null,null,"組件和條碼是否同時出現相同序號"]
["WIP_BARCODE_OTHER","工單條碼區間設定檔（除内部SN）","是否外部序號"]
[null,null,"查看刷入的序號是否為外部序號根據外部序號所查出的內部序號做過站"]
["WIP_MAC","工單MAC資料檔","確認MAC是否在設定區間及群組內"]
["BARCODE_INFO","條碼資料檔","是否報廢","RULE_STATUS=?"]
[null,null,"組件是否為在製 狀態 (ex.板卡)"]
[null,null,"前製程式否投產 (T D or B , P → T)"]
[null,null,"過第一 站时流程未结束判斷是否為重工工單"]
[null,null,"组件是否存在生產序號中，存在則判斷組件 狀態"]
[null,null,"生產序號過站1.新增2.更新"]
[null,null,"工單自動完工\n1.計畫量 完工量 產出量\n2.工單狀態不為 E\n3.該工單中序號没 有 WIP 存在"]
["BARCODE_LOCK","條碼鎖定資料表","是否被鎖定","LOCK_STATUS=0"]
[null,null,"條碼在當前站別是否被鎖定"]
["BARCODE_STATION","條碼過站資料檔","條碼是否第二次過包裝"]
[null,null,"生產序號是否超過 n次 Fail ，超過鎖定"]
[null,null,"生產序號過站1.新增2.更新"]
[null,null,"檢查生產序號當前站別是否為抽驗站，是則不更新"]
["BARCODE_ITEM","條碼组件資料檔","組件和條碼是否同時出現相同序號"]
["BARCODE_WIP","條碼工單資料檔","生產序號過站1.新增2.更新"]
["BARCODE_GROUP","條碼關聯資料檔","解除Group 作業"]
["MATERIAL_KP","料號KP資訊資料檔","數量是否正確"]
[null,null,"碼長及前置碼是否正確"]
["MAT_PROPERTY","料號属性代碼基本檔","檢查燒機時間"]
[null,null,"同一站過站達 n 次，鎖定(測試站)"]
["USER_INFO","使用者資料檔","確認使用者帳號是否存在"]
["FACTORY_UNIT","生產單位別(製程)","過站的製程是否存在","UNIT_NO"]
["STATIONS","工作站基本資料(小製程)","過站站別是否存在"]
[null,null,"投入站不可以刷不良"]
["STATION_TYPE","過站狀態檔","投入站不可以刷不良"]
[null,null,"檢查生產序號當前站別是否為抽驗站，是則不更新"]
["LINE_INFO","線別基本資料","後工單不能抵前工單"]
[]
["待確認"]
["判断REASON CODE 指向"]
["自動開線，T2 自動建工單邏輯 待畫流程"]
["確認是否有亂碼出現(Config設定)"]
["組件是否 重複"]

{"sheet":"Sheet1","index":3,"n_rows":6,"n_cols":1,"rows_kept":6,"cut":false,"hidden":false,"merged":[]}
["三筆一樣工單，是否條碼都一樣"]
["判斷刷入是條碼？內外條碼？組件條碼？不良代碼？"]
["不良代碼？是否有對應生產單位"]
[]
["BarcodeInfo 建立?"]
["組件刷MAC"]

{"sheet":"條碼刷入新修Table","index":4,"n_rows":21,"n_cols":5,"rows_kept":21,"cut":false,"hidden":false,"merged":[[1,0,3,0],[4,0,5,0],[6,0,9,0],[10,0,12,0],[13,0,17,0],[1,1,3,1],[4,1,5,1],[6,1,9,1],[10,1,12,1],[13,1,17,1],[1,2,3,2],[10,3,12,3],[13,3,17,3]]}
["Table","Table Name","新增","更新"," 刪除"]
["WIP_INFO","工單基本資料文件","不新增","STATUS_NO=?"]
[null,null,null,"COMPLETE_QTY要更新嗎?"]
[null,null,null,"WIP_TIMES要更新嗎?"]
["BARCODE_INFO","條碼資料檔","STATUS_NO=?有甚麼方式判斷是STM or BAB","同樣內部序號換工單時，WIP_ID要更新嗎?"]
[null,null,"RULE_STATUS抓 RULES.rule_status ? RULE_STATION.station_type"]
["BARCODE_STATION","條碼過站資料檔","LINE_ID要新增嗎?","STATION_FLAG?"]
[null,null,"STATION_FLAG?","STATION_TIMES?"]
[null,null,"STATION_TIMES?"]
[null,null,"RULE_STATUS同上?"]
["BARCODE_ITEM","條碼組件件資料檔","ITEM_NO= (ITEMS.item_no == MATERIAL_KP.kp_no)?","不更新"]
[null,null,"PART_NO=ITEMS.part_no 這個找不到 ? 還是紀錄刷入的組件序號?"]
[null,null,"KP_ITEM_NO=?"]
["NG_INFO","測試不良基本資料檔","TYPE_NO = STATION.type_no?","不更新"]
[null,null,"OPERATOR_ID=刷入人員?"]
[null,null,"FIXTURE_NO=是過站治具代號嗎?"]
[null,null,"PROGRAM_NO=N/A"]
[null,null,"MACHINE_NO=?"]
["BARCODE_GROUP","條碼關聯資料檔",null,null,"該工單ID完成刪除?"]
["BARCODE_WIP","檔案用途    條碼工單資料檔","這是?"]
["治具+1"]