Example #1
0
        public SortedDictionary <int, MaterielOutOrderTable> getAllReviewMaterielOutOrderInfo()
        {
            SortedDictionary <int, MaterielOutOrderTable> list = new SortedDictionary <int, MaterielOutOrderTable>();

            foreach (KeyValuePair <int, MaterielOutOrderTable> index in m_tableDataList)
            {
                MaterielOutOrderTable record = new MaterielOutOrderTable();
                record = index.Value;

                if (index.Value.isReview == "1")
                {
                    list.Add(list.Count, index.Value);
                }
            }

            return(list);
        }
Example #2
0
        public bool checkBillIsExist(string billNumber)
        {
            bool isRet = false;

            foreach (KeyValuePair <int, MaterielOutOrderTable> index in m_tableDataList)
            {
                MaterielOutOrderTable record = new MaterielOutOrderTable();

                if (index.Value.billNumber == billNumber)
                {
                    isRet = true;
                    break;
                }
            }

            return(isRet);
        }