Пример #1
0
        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();
        }
Пример #2
0
 public StoreInBalance(SessionInfo _session = null, StoreInPlanDialogModel model = null)
 {
     InitializeComponent();
     this._repoPln = new StoreInPlanRepo();
     this._repo = new StoreInRepo();
     this.StoreInPlanBln = new List<StoreInPlanDialogModel>();
     this.FilterData = model;
 }
Пример #3
0
 public WorkEntryRepo()
 {
     this._repoUcode = new UserCodeRepo();
     this._repoResrc = new ResourceRepo();
     this._repoCls = new ClassMasterRepo();
     this._repoRule = new CoilBackRuleRepo();
     this._repoIn = new StoreInRepo();
 }
Пример #4
0
 public PackingOrderRepo()
 {
     this._repoUcode = new UserCodeRepo();
     this._repoResrc = new ResourceRepo();
     this._repoCls = new ClassMasterRepo();
     this._repoRule = new CoilBackRuleRepo();
     this._repoIn = new StoreInRepo();
     this._repoWork = new WorkEntryRepo();
     this._repoProd = new ProductionRepo();
 }
Пример #5
0
        public Progression(string moduleName, decimal tranactionID, SessionInfo session, int possession)
        {
            InitializeComponent();
            this._repoPlan = new StoreInPlanRepo();
            this._repo = new StoreInRepo();
            this._session = session;
            this.Possession = possession;

            this.TransactionID = tranactionID;

            timer1.Enabled = false;
        }
Пример #6
0
        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;
        }