public bool GetItemPeriodCost(string Item, string Period, out double Cost)
 {
     try
     {
         DBO.RemoveDataDetail dbo = new RemoveDataDetail(ref USEDB);
         return dbo.QueryItemPeriodCost(Item,Period,out Cost);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
        //於7/14新增取得庫存資料成本

        public bool QueryItemPeriodCost(string Item, string Period, out Double Cost)
        {
            try
            {
                bool HaveDate = false;
                Cost = 0;

                DBO.RemoveDataDetail dbo = new DBO.RemoveDataDetail(ref USEDB);
                HaveDate = dbo.QueryItemPeriodCost(Item, Period, out Cost);
                if (Cost != 0)
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }