public StoreInPlan(SessionInfo _session = null, StoreInPlanHead model = null) { InitializeComponent(); this._repo = new StoreInPlanRepo(); this._repoIn = new StoreInRepo(); this._repoCurr = new CurrenciesRepo(); this._repoSupplier = new SupplierRepo(); this._repoBT = new BussinessTypeRepo(); this._repoMaker = new MakerRepo(); this._repoMill = new MillRepo(); this._repoCmdt = new Commodity(); this._repoSpec = new SpecRepo(); this._repoCoating = new CoatingRepo(); this._repoWhse = new WharehouseRepo(); this._repoPort = new ImportPortRepo(); this._repoCust = new CustomerRepo(); this._repoLookup = new LookupRepo(); this.SourceStr = ""; epiSession = _session; if (model == null || epiSession == null) { this.HeadContent = new StoreInPlanHead(); this.IMEXReviewFlag = false; } else { this.HeadContent = model; this.IMEXReviewFlag = true; } this.ModelClone = new StoreInPlanHead(); this.POTrans = new POLineModel(); }
public ReceiveArticleDialog(StoreInPlanDetailModel model, SessionInfo _session, int LineReceive, decimal WeightReceive) { InitializeComponent(); this._repo = new StoreInPlanRepo(); this._repoWhse = new WharehouseRepo(); this.ArticleList = new List<StoreInPlanDetailModel>(); this.lineNum = model; this.numofline = LineReceive; this.WeightRcv = WeightReceive; this.DataFlag = false; epiSession = _session; }
public StoreIn(SessionInfo _session = null, StoreInHead model = null) { InitializeComponent(); this._repoPlan = new StoreInPlanRepo(); this._repo = new StoreInRepo(); this._repoWhse = new WharehouseRepo(); //Initial Session and content this.HeadContent = new StoreInHead(); epiSession = _session; if (model != null) this.HeadContent = model; this.ModelClone = new StoreInHead(); HeadContent.InsertState = false; }
public StoreInRepo() { this._repoWhs = new WharehouseRepo(); }