Пример #1
0
        public BalanceSheetUI()
        {
            InitializeComponent();
            loChartOfAccount          = new ChartOfAccount();
            loJournalEntryDetail      = new JournalEntryDetail();
            loBalanceSheetRpt         = new BalanceSheetRpt();
            ldtAssetSubClassification = new DataTable();
            ldtAssetMainAccount       = new DataTable();
            loReportViewer            = new ReportViewerUI();
            lTotalLiability           = 0;
            lTotalEquity = 0;

            //Datatables
            AssetTable = new DataTable();
            AssetTable.Columns.Add("SubClass", typeof(string));
            AssetTable.Columns.Add("MainAccount", typeof(string));
            AssetTable.Columns.Add("Total", typeof(decimal));

            LiabilityTable = new DataTable();
            LiabilityTable.Columns.Add("SubClass", typeof(string));
            LiabilityTable.Columns.Add("MainAccount", typeof(string));
            LiabilityTable.Columns.Add("Total", typeof(decimal));

            EquityTable = new DataTable();
            EquityTable.Columns.Add("SubClass", typeof(string));
            EquityTable.Columns.Add("MainAccount", typeof(string));
            EquityTable.Columns.Add("Total", typeof(decimal));
        }
Пример #2
0
 public AuditTrailUI()
 {
     InitializeComponent();
     loAuditTrail    = new AuditTrail();
     loCommon        = new Common();
     loReportViewer  = new ReportViewerUI();
     loAuditTrailRpt = new AuditTrailRpt();
 }
 public CashierPeriodsUI()
 {
     InitializeComponent();
     loCashierPeriod     = new CashierPeriod();
     loCashierPeriodsRpt = new CashierPeriodsRpt();
     ldtCashierPeriod    = new DataTable();
     loReportViewer      = new ReportViewerUI();
 }
 public SubsidiaryLedgerUI()
 {
     InitializeComponent();
     loJournalEntryDetail  = new JournalEntryDetail();
     loChartOfAccount      = new ChartOfAccount();
     ldtJournalEntryDetail = new DataTable();
     loSubsidiaryLedgerRpt = new SubsidiaryLedgerRpt();
     loReportViewer        = new ReportViewerUI();
 }
 public CloseCashierPeriodUI()
 {
     InitializeComponent();
     loCashierPeriod           = new CashierPeriod();
     loCashier                 = new Cashier();
     loPOSTransaction          = new POSTransaction();
     loCashierPeriodSummaryRpt = new CashierPeriodSummaryRpt();
     loCloseCashierPeriodRpt   = new CloseCashierPeriodRpt();
     loReportViewer            = new ReportViewerUI();
 }
 public PriceQuotationUI()
 {
     InitializeComponent();
     loPriceQuotation       = new PriceQuotation();
     loPriceQuotationDetail = new PriceQuotationDetail();
     loCommon                  = new Common();
     ldtPriceQuotation         = new System.Data.DataTable();
     loPriceQuotationRpt       = new PriceQuotationRpt();
     loPriceQuotationDetailRpt = new PriceQuotationDetailRpt();
     loReportViewer            = new ReportViewerUI();
 }
Пример #7
0
 public StockWithdrawalUI()
 {
     InitializeComponent();
     loInventory                = new Inventory();
     loInventoryDetail          = new InventoryDetail();
     loCommon                   = new Common();
     ldtInventory               = new System.Data.DataTable();
     loStockWithdrawalRpt       = new StockWithdrawalRpt();
     loStockWithdrawalDetailRpt = new StockWithdrawalDetailRpt();
     loReportViewer             = new ReportViewerUI();
 }
 public GeneralJournalUI()
 {
     InitializeComponent();
     loJournalEntry       = new JournalEntry();
     loJournalEntryDetail = new JournalEntryDetail();
     loCommon             = new Common();
     ldtJournalEntry      = new System.Data.DataTable();
     loGeneralJournalRpt  = new GeneralJournalRpt();
     loJournalVoucherRpt  = new JournalVoucherRpt();
     loReportViewer       = new ReportViewerUI();
 }
Пример #9
0
 public DailyTimeRecordUI()
 {
     InitializeComponent();
     loEmployee           = new Employee();
     loEmploymentType     = new EmploymentType();
     loDailyTimeRecord    = new DailyTimeRecord();
     loDepartment         = new Department();
     ldtDailyTimeRecord   = new DataTable();
     loDailyTimeRecordRpt = new DailyTimeRecordRpt();
     loReportViewer       = new ReportViewerUI();
 }
Пример #10
0
 public PurchaseRequestUI()
 {
     InitializeComponent();
     loPurchaseRequest       = new PurchaseRequest();
     loPurchaseRequestDetail = new PurchaseRequestDetail();
     loCommon                   = new Common();
     ldtPurchaseRequest         = new System.Data.DataTable();
     loPurchaseRequestRpt       = new PurchaseRequestRpt();
     loPurchaseRequestDetailRpt = new PurchaseRequestDetailRpt();
     loReportViewer             = new ReportViewerUI();
 }
Пример #11
0
 public StockTransferOutUI()
 {
     InitializeComponent();
     loInventory                 = new Inventory();
     loInventoryDetail           = new InventoryDetail();
     loCommon                    = new Common();
     ldtInventory                = new System.Data.DataTable();
     loStockTransferOutRpt       = new StockTransferOutRpt();
     loStockTransferOutDetailRpt = new StockTransferOutDetailRpt();
     loReportViewer              = new ReportViewerUI();
 }
Пример #12
0
 public StockCardUI()
 {
     InitializeComponent();
     loStock           = new Stock();
     loInventoryDetail = new InventoryDetail();
     loLocation        = new Location();
     ldtStock          = new DataTable();
     ldtList           = new DataTable();
     loStockCardRpt    = new StockCardRpt();
     loReportViewer    = new ReportViewerUI();
 }
Пример #13
0
 public DownloadDCRSUI()
 {
     InitializeComponent();
     loLoanApplication       = new LoanApplication();
     loLoanApplicationDetail = new LoanApplicationDetail();
     loBranch    = new Branch();
     loCollector = new Collector();
     loCommon    = new Common();
     loDailyCollectionAndReleaseSheetRpt = new DailyCollectionAndReleaseSheetRpt();
     loReportViewer = new ReportViewerUI();
 }
 public LoanApplicationUI()
 {
     InitializeComponent();
     loLoanApplication       = new LoanApplication();
     loLoanApplicationDetail = new LoanApplicationDetail();
     loBranch           = new Branch();
     loCommon           = new Common();
     ldtLoanApplication = new System.Data.DataTable();
     //loGeneralJournalRpt = new GeneralJournalRpt();
     loReportViewer = new ReportViewerUI();
 }
 public UserGroupListUI()
 {
     InitializeComponent();
     loUserGroup    = new UserGroup();
     lMenuItemsDT   = new DataTable();
     lAllMenuItemDT = new DataTable();
     loCommon       = new Common();
     ldtShow        = new DataTable();
     loReportViewer = new ReportViewerUI();
     lFromRefresh   = false;
 }
 public StockAdjustmentUI()
 {
     InitializeComponent();
     loInventory                = new Inventory();
     loInventoryDetail          = new InventoryDetail();
     loInventoryType            = new InventoryType();
     loCommon                   = new Common();
     ldtInventory               = new System.Data.DataTable();
     loStockAdjustmentRpt       = new StockAdjustmentRpt();
     loStockAdjustmentDetailRpt = new StockAdjustmentDetailRpt();
     loReportViewer             = new ReportViewerUI();
 }
 public StockTransferInDetailUI(string pInventoryId)
 {
     InitializeComponent();
     loInventory       = new Inventory();
     loInventoryDetail = new InventoryDetail();
     loLocation        = new Location();
     loCommon          = new Common();
     lOperation        = GlobalVariables.Operation.Edit;
     //loStockReceivingDetailRpt = new StockReceivingDetailRpt();
     loReportViewer = new ReportViewerUI();
     lInventoryId   = pInventoryId;
 }
Пример #18
0
 public StockWithdrawalDetailUI()
 {
     InitializeComponent();
     loInventoryHeader         = new InventoryHeader();
     loInventoryDetail         = new InventoryDetail();
     loCustomer                = new Customer();
     loStock                   = new Stock();
     lOperation                = GlobalVariables.Operation.Add;
     loStockReceivingDetailRpt = new StockReceivingDetailRpt();
     loReportViewer            = new ReportViewerUI();
     lInventoryId              = "";
 }
Пример #19
0
 public EndOfDayUI()
 {
     InitializeComponent();
     loLoanEndOfDay       = new LoanEndOfDay();
     loLoanEndOfDayDetail = new LoanEndOfDayDetail();
     loBranch             = new Branch();
     loCommon             = new Common();
     ldtLoanEOD           = new System.Data.DataTable();
     loEndOfDayRpt        = new EndOfDayRpt();
     //loPurchaseRequestDetailRpt = new PurchaseRequestDetailRpt();
     loReportViewer = new ReportViewerUI();
 }
        public ListFormProcurementUI(object pObject, Type pType)
        {
            InitializeComponent();
            lObject        = pObject;
            lType          = pType;
            this.Text      = pObject.GetType().Name + " List";
            loCommon       = new Common();
            loReportViewer = new ReportViewerUI();

            ldtShow      = new System.Data.DataTable();
            lFromRefresh = false;
        }
 public StockReceivingDetailUI(string pInventoryId)
 {
     InitializeComponent();
     lOperation                = GlobalVariables.Operation.Edit;
     loInventoryHeader         = new InventoryHeader();
     loInventoryDetail         = new InventoryDetail();
     loSupplier                = new Supplier();
     loStock                   = new Stock();
     loStockReceivingDetailRpt = new StockReceivingDetailRpt();
     loReportViewer            = new ReportViewerUI();
     lInventoryId              = pInventoryId;
 }
 public PurchaseRequestDetailUI(string pPurchaseRequestId)
 {
     InitializeComponent();
     lOperation              = GlobalVariables.Operation.Edit;
     loPurchaseRequest       = new PurchaseRequest();
     loPurchaseRequestDetail = new PurchaseRequestDetail();
     loSupplier              = new Supplier();
     loStock  = new Stock();
     loCommon = new Common();
     //loStockReceivingDetailRpt = new StockReceivingDetailRpt();
     loReportViewer     = new ReportViewerUI();
     lPurchaseRequestId = pPurchaseRequestId;
 }
 public StockWithdrawalDetailUI(string pInventoryId)
 {
     InitializeComponent();
     lOperation                = GlobalVariables.Operation.Edit;
     loInventoryHeader         = new InventoryHeader();
     loInventoryDetail         = new InventoryDetail();
     loCustomer                = new Customer();
     loSalesIncharge           = new SalesIncharge();
     loStock                   = new Stock();
     loStockReceivingDetailRpt = new StockReceivingDetailRpt();
     loReportViewer            = new ReportViewerUI();
     lInventoryId              = pInventoryId;
 }
 public CashReceiptJournalUI()
 {
     InitializeComponent();
     loJournalEntry          = new JournalEntry();
     loJournalEntryDetail    = new JournalEntryDetail();
     loCashReceiptDetail     = new CashReceiptDetail();
     loSalesOrder            = new SalesOrder();
     loCommon                = new Common();
     ldtJournalEntry         = new System.Data.DataTable();
     loCashReceiptJournalRpt = new CashReceiptJournalRpt();
     loCashReceiptVoucherRpt = new CashReceiptVoucherRpt();
     loReportViewer          = new ReportViewerUI();
 }
 public SalesOrderUI()
 {
     InitializeComponent();
     loSalesOrder = new SalesOrder();
     loSalesOrderDetail = new SalesOrderDetail();
     loJournalEntry = new JournalEntry();
     loJournalEntryDetail = new JournalEntryDetail();
     loCommon = new Common();
     ldtSalesOrder = new System.Data.DataTable();
     loSalesOrderRpt = new SalesOrderRpt();
     loSalesOrderDetailRpt = new SalesOrderDetailRpt();
     loReportViewer = new ReportViewerUI();
 }
Пример #26
0
 public StockReceivingUI()
 {
     InitializeComponent();
     loInventory           = new Inventory();
     loInventoryDetail     = new InventoryDetail();
     loPurchaseOrder       = new PurchaseOrder();
     loPurchaseOrderDetail = new PurchaseOrderDetail();
     loCommon                  = new Common();
     ldtInventory              = new System.Data.DataTable();
     loStockReceivingRpt       = new StockReceivingRpt();
     loStockReceivingDetailRpt = new StockReceivingDetailRpt();
     loReportViewer            = new ReportViewerUI();
 }
Пример #27
0
 public StockInventoryUI()
 {
     InitializeComponent();
     loStockInventoryRpt                  = new StockInventoryRpt();
     loStockInventoryByGroupRpt           = new StockInventoryByGroupRpt();
     loStockInventoryByLocationRpt        = new StockInventoryByLocationRpt();
     loStockInventoryByLocationByGroupRpt = new StockInventoryByLocationByGroupRpt();
     loInventoryDetail   = new InventoryDetail();
     loLocation          = new Location();
     loReportViewer      = new ReportViewerUI();
     ldtAllStocks        = new DataTable();
     ldtStocksByLocation = new DataTable();
 }
 public PriceQuotationDetailUI(string pPriceQuotationId)
 {
     InitializeComponent();
     lOperation             = GlobalVariables.Operation.Edit;
     loPriceQuotation       = new PriceQuotation();
     loPriceQuotationDetail = new PriceQuotationDetail();
     loCustomer             = new Customer();
     loSalesPerson          = new SalesPerson();
     loStock  = new Stock();
     loCommon = new Common();
     //loStockReceivingDetailRpt = new StockReceivingDetailRpt();
     loReportViewer    = new ReportViewerUI();
     lPriceQuotationId = pPriceQuotationId;
 }
Пример #29
0
 public PurchaseRequestDetailUI()
 {
     InitializeComponent();
     loPurchaseRequest       = new PurchaseRequest();
     loPurchaseRequestDetail = new PurchaseRequestDetail();
     loSupplier = new Supplier();
     loEmployee = new Employee();
     loStock    = new Stock();
     loCommon   = new Common();
     lOperation = GlobalVariables.Operation.Add;
     //loStockReceivingDetailRpt = new StockReceivingDetailRpt();
     loReportViewer     = new ReportViewerUI();
     lPurchaseRequestId = "";
 }
 public StockReceivingDetailUI(string pInventoryId)
 {
     InitializeComponent();
     lOperation        = GlobalVariables.Operation.Edit;
     loInventory       = new Inventory();
     loInventoryDetail = new InventoryDetail();
     loSupplier        = new Supplier();
     loStock           = new Stock();
     loCommon          = new Common();
     //loStockReceivingDetailRpt = new StockReceivingDetailRpt();
     loReportViewer   = new ReportViewerUI();
     lInventoryId     = pInventoryId;
     lPurchaseOrderId = "";
 }