private bool ChkPUR04Dup(string date, string item, string code, string period) { PURModel.MaintainPurchaseDeliveryGoods BCO = new PURModel.MaintainPurchaseDeliveryGoods(ConnectionDB); ParameterList.Clear(); ParameterList.Add(date); //門市進貨日 ParameterList.Add(item); //品號 ParameterList.Add(code); //虛擬品號 ParameterList.Add(period); //期別 string V_RESULT = ""; BCO.ChkPUR04Dup(ParameterList, out V_RESULT); if (V_RESULT != "0") return true; else return false; }