public override void OnControlLoad(object sender, EventArgs e) { long transactionMasterId = Conversion.TryCastLong(this.Request["TranId"]); using (TransactionChecklistForm checklist = new TransactionChecklistForm()) { checklist.Text = Resources.Titles.SalesReturn; checklist.ViewReportButtonText = Resources.Titles.ViewThisReturn; checklist.EmailReportButtonText = Resources.Titles.EmailThisReturn; checklist.PartyEmailAddress = Data.Helpers.Parties.GetEmailAddress(TranBook.Sales, SubTranBook.Return, transactionMasterId); checklist.AttachmentBookName = "transaction"; checklist.OverridePath = "~/Modules/Sales/Return.mix"; checklist.DisplayWithdrawButton = true; checklist.DisplayViewReportButton = true; checklist.DisplayEmailReportButton = true; checklist.DisplayPrintGlEntryButton = true; checklist.DisplayAttachmentButton = true; checklist.ReportPath = "~/Modules/Sales/Reports/SalesReturnReport.mix"; checklist.GlAdvicePath = "~/Modules/Finance/Reports/GLAdviceReport.mix"; checklist.ViewPath = "~/Modules/Sales/Return.mix"; checklist.AddNewPath = "~/Modules/Sales/Entry/Return.mix"; this.Placeholder1.Controls.Add(checklist); } }
public override void OnControlLoad(object sender, EventArgs e) { long transactionMasterId = Conversion.TryCastLong(this.Request["TranId"]); using (TransactionChecklistForm checklist = new TransactionChecklistForm()) { checklist.ViewReportButtonText = Resources.Titles.ViewThisQuotation; checklist.EmailReportButtonText = Resources.Titles.EmailThisQuotation; checklist.Text = Resources.Titles.SalesQuotation; checklist.PartyEmailAddress = Data.Helpers.Parties.GetEmailAddress(TranBook.Sales, SubTranBook.Quotation, transactionMasterId); checklist.AttachmentBookName = "non-gl-transaction"; checklist.OverridePath = "/Modules/Sales/Quotation.mix"; checklist.DisplayViewReportButton = true; checklist.DisplayEmailReportButton = true; checklist.DisplayAttachmentButton = true; checklist.IsNonGlTransaction = true; checklist.ReportPath = "~/Modules/Sales/Reports/SalesQuotationReport.mix"; checklist.ViewPath = "/Modules/Sales/Quotation.mix"; checklist.AddNewPath = "/Modules/Sales/Entry/Quotation.mix"; checklist.UserId = CurrentUser.GetSignInView().UserId.ToInt(); checklist.RestrictedTransactionMode = this.IsRestrictedMode; this.Placeholder1.Controls.Add(checklist); } }
public override void OnControlLoad(object sender, EventArgs e) { long transactionMasterId = Conversion.TryCastLong(this.Request["TranId"]); using (TransactionChecklistForm checklist = new TransactionChecklistForm()) { checklist.ViewReportButtonText = Resources.Titles.ViewThisDelivery; checklist.EmailReportButtonText = Resources.Titles.EmailThisDelivery; checklist.CustomerReportButtonText = Resources.Titles.ViewCustomerCopy; checklist.Text = Resources.Titles.SalesDelivery; checklist.AttachmentBookName = "transaction"; checklist.OverridePath = "/Modules/Sales/Delivery.mix"; checklist.DisplayWithdrawButton = true; checklist.DisplayViewReportButton = true; checklist.DisplayEmailReportButton = true; checklist.DisplayCustomerReportButton = true; checklist.DisplayPrintReceiptButton = false; checklist.DisplayPrintGlEntryButton = true; checklist.DisplayAttachmentButton = true; checklist.ReportPath = "~/Modules/Sales/Reports/DeliveryReport.mix"; checklist.CustomerReportPath = "~/Modules/Sales/Reports/DeliveryNoteReport.mix"; checklist.GlAdvicePath = "~/Modules/Finance/Reports/GLAdviceReport.mix"; checklist.ViewPath = "/Modules/Sales/Delivery.mix"; checklist.AddNewPath = "/Modules/Sales/Entry/Delivery.mix"; checklist.UserId = CurrentUser.GetSignInView().UserId.ToInt(); checklist.PartyEmailAddress = Data.Helpers.Parties.GetEmailAddress(TranBook.Sales, SubTranBook.Delivery, transactionMasterId); checklist.RestrictedTransactionMode = this.IsRestrictedMode; this.Placeholder1.Controls.Add(checklist); } }
protected void Page_Init(object sender, EventArgs e) { using (TransactionChecklistForm checklist = new TransactionChecklistForm()) { Placeholder1.Controls.Add(checklist); } }
public override void OnControlLoad(object sender, EventArgs e) { long transactionMasterId = Conversion.TryCastLong(this.Request["TranId"]); using (TransactionChecklistForm checklist = new TransactionChecklistForm()) { checklist.Text = Titles.GoodsReceiptNote; checklist.ViewReportButtonText = Titles.ViewThisNote; checklist.EmailReportButtonText = Titles.EmailThisNote; checklist.PartyEmailAddress = Parties.GetEmailAddress(TranBook.Purchase, SubTranBook.Receipt, transactionMasterId); checklist.AttachmentBookName = "transaction"; checklist.OverridePath = "/Modules/Purchase/GRN.mix"; checklist.DisplayWithdrawButton = true; checklist.DisplayViewReportButton = true; checklist.DisplayEmailReportButton = true; checklist.DisplayPrintGlEntryButton = true; checklist.DisplayAttachmentButton = true; checklist.ReportPath = "~/Modules/Purchase/Reports/GRNReport.mix"; checklist.GlAdvicePath = "~/Modules/Finance/Reports/GLAdviceReport.mix"; checklist.ViewPath = "/Modules/Purchase/GRN.mix"; checklist.AddNewPath = "/Modules/Purchase/Entry/GRN.mix"; checklist.UserId = CurrentUser.GetSignInView().UserId.ToInt(); checklist.RestrictedTransactionMode = this.IsRestrictedMode; this.Placeholder1.Controls.Add(checklist); } }
public override void OnControlLoad(object sender, EventArgs e) { using (TransactionChecklistForm checklist = new TransactionChecklistForm()) { checklist.Text = Resources.Titles.JournalVoucherEntry; checklist.DisplayWithdrawButton = true; checklist.DisplayPrintGlEntryButton = true; checklist.DisplayAttachmentButton = true; checklist.AttachmentBookName = "transaction"; checklist.OverridePath = this.OverridePath; checklist.ViewPath = "~/Modules/Finance/JournalVoucher.mix"; checklist.AddNewPath = "~/Modules/Finance/Entry/JournalVoucher.mix"; checklist.GlAdvicePath = "~/Modules/Finance/Reports/GLAdviceReport.mix"; this.Placeholder1.Controls.Add(checklist); } }
public override void OnControlLoad(object sender, EventArgs e) { using (TransactionChecklistForm checklist = new TransactionChecklistForm()) { checklist.ViewReportButtonText = Resources.Titles.ViewThisTransfer; checklist.Text = Resources.Titles.StockTransferJournal; checklist.AttachmentBookName = "transaction"; checklist.OverridePath = "/Modules/Inventory/Transfer.mix"; checklist.DisplayWithdrawButton = true; checklist.DisplayViewReportButton = true; checklist.DisplayAttachmentButton = true; checklist.ReportPath = "~/Modules/Inventory/Reports/InventoryTransferReport.mix"; checklist.ViewPath = "/Modules/Inventory/Transfer.mix"; checklist.AddNewPath = "/Modules/Inventory/Entry/Transfer.mix"; this.Placeholder1.Controls.Add(checklist); } }
public override void OnControlLoad(object sender, EventArgs e) { using (TransactionChecklistForm checklist = new TransactionChecklistForm()) { checklist.ViewReportButtonText = Resources.Titles.ViewThisAdjustment; checklist.Text = Resources.Titles.StockAdjustment; checklist.AttachmentBookName = "transaction"; checklist.OverridePath = "/Modules/Inventory/Adjustment.mix"; checklist.DisplayWithdrawButton = true; checklist.DisplayViewReportButton = true; checklist.DisplayAttachmentButton = true; checklist.DisplayPrintGlEntryButton = true; checklist.ReportPath = "~/Modules/Inventory/Reports/InventoryAdjustmentReport.mix"; checklist.ViewPath = "/Modules/Inventory/Adjustment.mix"; checklist.GlAdvicePath = "~/Modules/Finance/Reports/GLAdviceReport.mix"; checklist.AddNewPath = "/Modules/Inventory/Entry/Adjustment.mix"; this.Placeholder1.Controls.Add(checklist); } }
public override void OnControlLoad(object sender, EventArgs e) { long transactionMasterId = Conversion.TryCastLong(this.Request["TranId"]); using (TransactionChecklistForm checklist = new TransactionChecklistForm()) { checklist.ViewReportButtonText = Resources.Titles.ViewThisOrder; checklist.EmailReportButtonText = Resources.Titles.EmailThisOrder; checklist.Text = Resources.Titles.PurchaseOrder; checklist.PartyEmailAddress = Data.Helpers.Parties.GetEmailAddress(TranBook.Purchase, SubTranBook.Order, transactionMasterId); checklist.AttachmentBookName = "non-gl-transaction"; checklist.OverridePath = "/Modules/Purchase/Order.mix"; checklist.DisplayViewReportButton = true; checklist.DisplayEmailReportButton = true; checklist.DisplayAttachmentButton = true; checklist.IsNonGlTransaction = true; checklist.ReportPath = "~/Modules/Purchase/Reports/PurchaseOrderReport.mix"; checklist.ViewPath = "/Modules/Purchase/Order.mix"; checklist.AddNewPath = "/Modules/Purchase/Entry/Order.mix"; this.Placeholder1.Controls.Add(checklist); } }