Beispiel #1
0
 public void SetDefaulValues()
 {
     defaultUserWhs  = lObjDistributionDAO.GetUserDefaultWarehouse();
     defaultUserArea = lObjDistributionDAO.GetUserCostCenter();
     series          = lObjDistributionDAO.GetSeries(defaultUserWhs, "15"); //ODLN - Delivery - 15
     txtDate.Value   = DateTime.Now.ToString("yyyyMMdd");
 }
Beispiel #2
0
        public void SetDefaultValues()
        {
            DistributionDAO distributionDAO = new DistributionDAO();

            Task.Factory.StartNew(() => { user.Area = distributionDAO.GetUserCostCenter(); });
            Task.Factory.StartNew(() => { return(distributionDAO.GetUserDefaultWarehouse()); })
            .ContinueWith((t) => { user.WhsCode = t.Result; user.Series = distributionDAO.GetSeries(t.Result, SAPbobsCOM.BoObjectTypes.oStockTransfer.ToString()); });
        }
Beispiel #3
0
 public void setDefaultValues()
 {
     user.WhsCode     = distributionDAO.GetUserDefaultWarehouse();
     user.Area        = distributionDAO.GetUserCostCenter();
     floorServiceItem = massInvoicingDAO.GetFloorServiceItem(user.WhsCode);
 }