Subversion Repositories SmartDukaan

Rev

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

Rev 37827 Rev 37828
Line 453... Line 453...
453
                        Integer.parseInt(args.getOptionValues("warehouse").get(0)),
453
                        Integer.parseInt(args.getOptionValues("warehouse").get(0)),
454
                        Integer.parseInt(args.getOptionValues("supplier").get(0)), args.getOptionValues("email").get(0),
454
                        Integer.parseInt(args.getOptionValues("supplier").get(0)), args.getOptionValues("email").get(0),
455
                        args.containsOption("live"), bill,
455
                        args.containsOption("live"), bill,
456
                        bill ? Integer.parseInt(args.getOptionValues("provider").get(0)) : 0);
456
                        bill ? Integer.parseInt(args.getOptionValues("provider").get(0)) : 0);
457
            } catch (Exception e) {
457
            } catch (Exception e) {
458
                LOGGER.error("autoCreateMovementPO FAILED - nothing raised: {}", e.getMessage(), e);
458
                LOGGER.error("autoCreateMovementPO FAILED (a 'LIVE RUN complete : raised' line above means the PO did"
-
 
459
                        + " commit): {}", e.getMessage(), e);
459
                System.exit(1);
460
                System.exit(1);
460
            }
461
            }
461
            System.exit(0);
462
            System.exit(0);
462
        }
463
        }
463
        if (args.containsOption("autoGrnInternal")) {
464
        if (args.containsOption("autoGrnInternal")) {