Пример #1
0
        private void btnImportFactRemains_Click(object sender, RoutedEventArgs e)
        {
            // Import facts
            FactRemainsImporter factClass = new FactRemainsImporter();

            // Remains
            factClass.impFactMovementsNewUpd();
            factClass.impFactMovementsDel();
            factClass.fromHistoryToRemains();
        }
Пример #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();
        }