Commit b0753e6b authored by mmhatre's avatar mmhatre

failed business logic

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@203743 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3a4f21b9
...@@ -2939,7 +2939,7 @@ public class PostOrdCreditChk ...@@ -2939,7 +2939,7 @@ public class PostOrdCreditChk
} }
if (lcCheckAmt > 0 || "F".equals(lsStatus) || lsStatus.trim().length() == 0) if (lcCheckAmt > 0 || "F".equals(lsStatus) || lsStatus.trim().length() == 0)
{ {
failedPolicyList.add("P16"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+" "+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr); //added by manish mhatre on 28-6-2019 failedPolicyList.add("P16"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr); //added by manish mhatre on 28-6-2019
/*failedPolicyList.add("P16"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+" "+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/ /*failedPolicyList.add("P16"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+" "+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/
/*failedPolicyList.add("P16"+"\t"+asDespId+"\t"+asSorder+"\t"+lcCheckAmt+"\t"+lsStr+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/ /*failedPolicyList.add("P16"+"\t"+asDespId+"\t"+asSorder+"\t"+lcCheckAmt+"\t"+lsStr+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/
writeLog(asSorder, ("P16"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr)); writeLog(asSorder, ("P16"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr));
...@@ -3043,7 +3043,7 @@ public class PostOrdCreditChk ...@@ -3043,7 +3043,7 @@ public class PostOrdCreditChk
} }
if (lcCheckAmt > 0 || "F".equals(lsStatus) || lsStatus.trim().length() == 0) if (lcCheckAmt > 0 || "F".equals(lsStatus) || lsStatus.trim().length() == 0)
{ {
failedPolicyList.add("P17"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+" "+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr); //added by manish mhatre on 28-6-2019 failedPolicyList.add("P17"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr); //added by manish mhatre on 28-6-2019
/*failedPolicyList.add("P17"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+" "+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/ /*failedPolicyList.add("P17"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+" "+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/
/*failedPolicyList.add("P17"+"\t"+asDespId+"\t"+asSorder+"\t"+lcCheckAmt+"\t"+lsStr+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/ /*failedPolicyList.add("P17"+"\t"+asDespId+"\t"+asSorder+"\t"+lcCheckAmt+"\t"+lsStr+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/
writeLog(asSorder, ("P17"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr)); writeLog(asSorder, ("P17"+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr));
...@@ -3461,7 +3461,7 @@ public class PostOrdCreditChk ...@@ -3461,7 +3461,7 @@ public class PostOrdCreditChk
//Pavan R on 14sept18 [to handle NumberFormatException in writeBusinessLogicCheck()] //Pavan R on 14sept18 [to handle NumberFormatException in writeBusinessLogicCheck()]
//failedPolicyList.add(lsCrPolicy+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+lcCheckAmt+"\t"+lsStatus); //failedPolicyList.add(lsCrPolicy+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+lcCheckAmt+"\t"+lsStatus);
failedPolicyList.add(lsCrPolicy+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+lsStatus+"\t"+" "+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr); //added by manish mhatre on 28-6-2019 failedPolicyList.add(lsCrPolicy+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr); //added by manish mhatre on 28-6-2019
/*failedPolicyList.add(lsCrPolicy+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+lsStatus+"\t"+" "+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/ /*failedPolicyList.add(lsCrPolicy+"\t"+asDespId+"\t"+asSorder+"\t"+lsStr+"\t"+lsStatus+"\t"+" "+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/
/*failedPolicyList.add(lsCrPolicy+"\t"+asDespId+"\t"+asSorder+"\t"+lcCheckAmt+"\t"+lsStr+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/ /*failedPolicyList.add(lsCrPolicy+"\t"+asDespId+"\t"+asSorder+"\t"+lcCheckAmt+"\t"+lsStr+"\t"+lsStatus+"\t"+asCustCodeBil+"\t"+asCustCodeSoldTo+"\t"+asSiteCode+"\t"+asItemSer+"\t"+refDateStr);*/
System.out.println("@@@@@@@@@@@failedPolicyList Size["+failedPolicyList.size()+"]"); System.out.println("@@@@@@@@@@@failedPolicyList Size["+failedPolicyList.size()+"]");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment