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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }