public bool CheckPurItemIsOnWay(string sPurNo, string sItemNo, string sPeriod) { try { DBO.OUT_PurchaseOrderDBO dbo = new OUT_PurchaseOrderDBO(ref USEDB); int iCount = dbo.CheckPurItemIsOnWay(sPurNo, sItemNo, sPeriod); if (iCount == 0) { return false; } else { return true; } } catch (Exception ex) { throw ex; } }