void DepartmentStockAdhocProcessingViewLoadAdhocStocksEvent(object sender, DepartmentStockFixingEventArgs e)
        {
            ObjectCriteria criteria = new ObjectCriteria();
            criteria.AddLesserCriteria("GoodQuantity", (long)0);
            criteria.AddEqCriteria("DelFlg", (long)0);
            criteria.AddOrder("DepartmentStockPK.DepartmentId", true);
            IList list = DepartmentStockLogic.FindAll(criteria);
            if (list != null && list.Count > 0)
            {

                e.DeptStockAdhocList = list;
            }
        }
예제 #2
0
 void salePointSubStockView_LoadDepartmentsEvent(object sender, SalePointEventArgs e)
 {
     ObjectCriteria criteria = new ObjectCriteria();
     criteria.AddLesserCriteria("DepartmentId", (long)10000);
     IList departmentList = DepartmentLogic.FindAll(criteria);
     e.DepartmentList = departmentList;
 }