示例#1
0
        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (StockTransactionForm product = new StockTransactionForm())
            {
                product.Book    = TranBook.Purchase;
                product.SubBook = SubTranBook.Order;
                product.Text    = Titles.PurchaseOrder;


                this.Placeholder1.Controls.Add(product);
            }
        }
示例#2
0
        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (StockTransactionForm product = new StockTransactionForm())
            {
                product.Book     = TranBook.Purchase;
                product.SubBook  = SubTranBook.Order;
                product.Text     = Titles.PurchaseOrder;
                product.OfficeId = CurrentUser.GetSignInView().OfficeId.ToInt();

                this.Placeholder1.Controls.Add(product);
            }
        }
示例#3
0
        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (StockTransactionForm product = new StockTransactionForm())
            {
                product.Book           = TranBook.Purchase;
                product.SubBook        = SubTranBook.Receipt;
                product.Text           = Titles.GoodsReceiptNote;
                product.ShowStore      = true;
                product.ShowCostCenter = true;


                this.Placeholder1.Controls.Add(product);
            }
        }
示例#4
0
        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (StockTransactionForm product = new StockTransactionForm())
            {
                product.Book           = TranBook.Purchase;
                product.SubBook        = SubTranBook.Receipt;
                product.Text           = Titles.GoodsReceiptNote;
                product.ShowStore      = true;
                product.ShowCostCenter = true;
                product.Catalog        = AppUsers.GetCurrentUserDB();
                product.OfficeId       = AppUsers.GetCurrent().View.OfficeId.ToInt();

                this.Placeholder1.Controls.Add(product);
            }
        }
示例#5
0
        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (StockTransactionForm product = new StockTransactionForm())
            {
                product.Book                    = TranBook.Sales;
                product.SubBook                 = SubTranBook.Quotation;
                product.Text                    = Titles.SalesQuotation;
                product.ShowPriceTypes          = true;
                product.ShowShippingInformation = true;
                product.ShowSalesAgents         = true;
                product.ShowStore               = true;
                product.ShowSalesType           = true;

                this.Placeholder1.Controls.Add(product);
            }
        }
示例#6
0
        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (StockTransactionForm product = new StockTransactionForm())
            {
                product.Book                    = TranBook.Sales;
                product.SubBook                 = SubTranBook.Order;
                product.Text                    = Titles.SalesOrder;
                product.ShowPriceTypes          = true;
                product.ShowShippingInformation = true;
                product.ShowSalesAgents         = true;
                product.ShowSalesType           = true;
                product.ShowStore               = true;
                product.OfficeId                = CurrentUser.GetSignInView().OfficeId.ToInt();

                this.Placeholder1.Controls.Add(product);
            }
        }
示例#7
0
        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (StockTransactionForm product = new StockTransactionForm())
            {
                product.Book                    = TranBook.Sales;
                product.SubBook                 = SubTranBook.Quotation;
                product.Text                    = Titles.SalesQuotation;
                product.ShowPriceTypes          = true;
                product.ShowShippingInformation = true;
                product.ShowSalesAgents         = true;
                product.ShowStore               = true;
                product.ShowSalesType           = true;
                product.Catalog                 = AppUsers.GetCurrentUserDB();
                product.OfficeId                = AppUsers.GetCurrentLogin().View.OfficeId.ToInt();

                this.Placeholder1.Controls.Add(product);
            }
        }
示例#8
0
        public override void OnControlLoad(object sender, EventArgs e)
        {
            long tranId = Conversion.TryCastLong(this.Request.QueryString["TranId"]);

            if (tranId <= 0)
            {
                this.Response.Redirect("~/Modules/Sales/Return.mix");
            }

            using (StockTransactionForm product = new StockTransactionForm())
            {
                product.Book           = TranBook.Purchase;
                product.SubBook        = SubTranBook.Return;
                product.Text           = Titles.PurchaseReturn;
                product.ShowPriceTypes = true;
                product.ShowStore      = true;

                this.Placeholder1.Controls.Add(product);
            }
        }
示例#9
0
        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (StockTransactionForm product = new StockTransactionForm())
            {
                product.Book                    = TranBook.Sales;
                product.SubBook                 = SubTranBook.Direct;
                product.Text                    = Titles.DirectSales;
                product.ShowPriceTypes          = true;
                product.ShowPaymentTerms        = true;
                product.ShowShippingInformation = true;
                product.ShowSalesAgents         = true;
                product.ShowTransactionType     = true;
                product.ShowStore               = true;
                product.ShowCostCenter          = true;
                product.ShowSalesType           = true;
                product.VerifyStock             = true;


                this.Placeholder1.Controls.Add(product);
            }
        }
示例#10
0
        public override void OnControlLoad(object sender, EventArgs e)
        {
            long tranId = Conversion.TryCastLong(this.Request.QueryString["TranId"]);

            if (tranId <= 0)
            {
                this.Response.Redirect("~/Modules/Sales/Return.mix");
            }

            using (StockTransactionForm product = new StockTransactionForm())
            {
                product.Book           = TranBook.Sales;
                product.SubBook        = SubTranBook.Return;
                product.Text           = Titles.SalesReturn;
                product.ShowPriceTypes = true;
                product.ShowStore      = true;
                product.ShowSalesType  = true;
                product.Catalog        = AppUsers.GetCurrentUserDB();
                product.OfficeId       = AppUsers.GetCurrentLogin().View.OfficeId.ToInt();


                this.Placeholder1.Controls.Add(product);
            }
        }