Exemplo n.º 1
0
        public List <TransactionDetail> GetTransactions()
        {
            List <TransactionDetail> list = new List <TransactionDetail>();

            try
            {
                string[] TranArr;
                foreach (TransactionCode tc in this.TransactionCodeList)
                {
                    List <TransactionDetail> Templist = new List <TransactionDetail>();
                    TranArr = WFTransaction.GetOpentransaction(tc.FlowName, tc.StepName, tc.Step);
                    if (TranArr != null)
                    {
                        if (TranArr.Count() > 0)
                        {
                            Templist = getDislayName(TranArr, tc.FlowName, tc.StepName);
                        }

                        foreach (TransactionDetail detail in Templist)
                        {
                            list.Add(detail);
                        }
                    }
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(list);
        }