Example #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();
        }
Example #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;
 }
Example #3
0
 public WorkEntryRepo()
 {
     this._repoUcode = new UserCodeRepo();
     this._repoResrc = new ResourceRepo();
     this._repoCls = new ClassMasterRepo();
     this._repoRule = new CoilBackRuleRepo();
     this._repoIn = new StoreInRepo();
 }
Example #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();
 }
Example #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;
        }
Example #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;
        }