Subversion Repositories SmartDukaan

Rev

Rev 34443 | Rev 34547 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34443 Rev 34523
Line 193... Line 193...
193
                int transactionId = Integer.parseInt(args.getOptionValues("trId").get(0));
193
                int transactionId = Integer.parseInt(args.getOptionValues("trId").get(0));
194
                scheduledTasks.removePartialBillingForTransaction(transactionId);
194
                scheduledTasks.removePartialBillingForTransaction(transactionId);
195
            }
195
            }
196
            System.exit(0);
196
            System.exit(0);
197
        }
197
        }
-
 
198
        if (args.containsOption("createOpeningStockPartyWise")) {
-
 
199
            scheduledTasks.createOpeningStockPartyWise();
-
 
200
            System.exit(0);
-
 
201
        }
198
        if (args.containsOption("tc")) {
202
        if (args.containsOption("tc")) {
199
            System.out.println("Toffee service called");
203
            System.out.println("Toffee service called");
200
            scheduledTasks.toffeeRollback();
204
            scheduledTasks.toffeeRollback();
201
            System.exit(0);
205
            System.exit(0);
202
        }
206
        }
Line 508... Line 512...
508
                    if (args.containsOption("migrateVendorItemPricing")) {
512
                    if (args.containsOption("migrateVendorItemPricing")) {
509
                        scheduledTasks.migrateVendorItemPricing();
513
                        scheduledTasks.migrateVendorItemPricing();
510
                        System.exit(0);
514
                        System.exit(0);
511
                    }
515
                    }
512
 
516
 
513
                    if (args.containsOption("createOpeningStockPartyWise")) {
-
 
514
                        scheduledTasks.createOpeningStockPartyWise();
-
 
515
                        System.exit(0);
-
 
516
                    }
-
 
517
 
-
 
518
 
-
 
519
 
-
 
520
 
-
 
521
                    if (args.containsOption("approveVendorCatalogPricing")) {
517
                    if (args.containsOption("approveVendorCatalogPricing")) {
522
                        scheduledTasks.approveVendorCatalogPricing();
518
                        scheduledTasks.approveVendorCatalogPricing();
523
                        System.exit(0);
519
                        System.exit(0);
524
                    }
520
                    }
525
                } else if (args.containsOption("test1")) {
521
                } else if (args.containsOption("test1")) {