Subversion Repositories SmartDukaan

Rev

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

Rev 34501 Rev 34545
Line 203... Line 203...
203
                }
203
                }
204
            } catch (Exception exception){
204
            } catch (Exception exception){
205
                if (type.equals(ProfitMandiConstants.PO_TYPE.AUTO)) {
205
                if (type.equals(ProfitMandiConstants.PO_TYPE.AUTO)) {
206
                    bidService.sendMailToRBM(netAmountInHand, totalPayableAmount, fofoId);
206
                    bidService.sendMailToRBM(netAmountInHand, totalPayableAmount, fofoId);
207
                    bid.setStatus(ProfitMandiConstants.BID_ENUM.PROCESSING);
207
                    bid.setStatus(ProfitMandiConstants.BID_ENUM.PROCESSING);
-
 
208
                    throw new ProfitMandiBusinessException("Skipping order unable to create load for id - ", fofoId, " ,Sending mail to RBM");
208
                }
209
                }
209
                throw new ProfitMandiBusinessException("Skipping order unable to create load for id - ", fofoId, " ,Sending mail to RBM");
-
 
210
            }
210
            }
211
 
211
 
212
            int transactionId = transactionService.createTransactionInternally(userCart, totalPayableAmount, 0);
212
            int transactionId = transactionService.createTransactionInternally(userCart, totalPayableAmount, 0);
213
            //Set here created by
213
            //Set here created by
214
            Transaction transaction = transactionRepository.selectById(transactionId);
214
            Transaction transaction = transactionRepository.selectById(transactionId);