Пример #1
0
        private void InitViewPanel()
        {
            this.txtFacCode.Text    = this.FactoryCode;
            this.txtWHCode.Text     = this.WarehouseCode;
            this.txtWHItemCode.Text = this.WarehouseItemCode;

            if (_facade == null)
            {
                _facade = new WarehouseFacade(base.DataProvider);
            }

            this.txtQty.Text     = _facade.GetLastScatterQty(this.FactoryCode, this.WarehouseCode, this.WarehouseItemCode);
            this.txtOpenQty.Text = _facade.GetOpenQty(this.FactoryCode, this.WarehouseCode, this.WarehouseItemCode);
        }