예제 #1
0
        private void btnImportDocSales_Click(object sender, RoutedEventArgs e)
        {
            // Sales
            DocSalesImporter docClass = new DocSalesImporter();

            docClass.impDocSales();
            docClass.impDocSalesDel();
        }
예제 #2
0
        private void btnImportAllFacts_Click(object sender, RoutedEventArgs e)
        {
            // Import facts
            FactRemainsImporter factClass = new FactRemainsImporter();

            // Remains
            factClass.impFactMovementsNewUpd();
            factClass.impFactMovementsDel();
            factClass.fromHistoryToRemains();

            // Import facts
            FactPricesImporter factClass1 = new FactPricesImporter();

            // Prices
            factClass1.impFactPrices();
            factClass1.impFactPricesDel();
            factClass1.fromHistoryToPrices();

            // Import facts
            FactPOSClass factClass2 = new FactPOSClass();

            // POS Data
            factClass2.impFactPOS();
            factClass2.impFactPOSReturn();
            factClass2.impFactPOSDel();

            // Materials In Production
            FactManufactureImporter factClass3 = new FactManufactureImporter();

            factClass3.impFactMaterialsInProduction();
            factClass3.impFactMaterialsInProductionDel();
            factClass3.fromFactMaterialsToRemains();
            factClass3.impFactManufacture();
            factClass3.impFactManufactureDel();

            // Documents
            DocProductionImporter docClass = new DocProductionImporter();

            docClass.impDocProduction();
            docClass.impDocProductionDel();
            docClass.impDocProductionCosts();
            docClass.impDocProductionCostsDel();

            // Sales
            DocSalesImporter docClass4 = new DocSalesImporter();

            docClass4.impDocSales();
            docClass4.impDocSalesDel();
        }