Commit e1829bdb authored by msingh's avatar msingh

Changed by Manish on 28/03/16 for DDUK .


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101008 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5be7ddd1
...@@ -52,6 +52,7 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT ...@@ -52,6 +52,7 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
// Changed by Sneha on 12-03-2016, declaration of global variable [Start] // Changed by Sneha on 12-03-2016, declaration of global variable [Start]
String rcpMode = "", segPayStatus = "", payPalStatus = "", cardType = "", despId = ""; String rcpMode = "", segPayStatus = "", payPalStatus = "", cardType = "", despId = "";
HashMap sordMap = null;
// Changed by Sneha on 12-03-2016, declaration of global variable [End] // Changed by Sneha on 12-03-2016, declaration of global variable [End]
public String postSave()throws RemoteException,ITMException public String postSave()throws RemoteException,ITMException
...@@ -365,7 +366,8 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT ...@@ -365,7 +366,8 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
// Changed by Sneha on 16-03-2016, calling isReceiptGeneration method and put values of getwayAmount in map [Start] // Changed by Sneha on 16-03-2016, calling isReceiptGeneration method and put values of getwayAmount in map [Start]
receiptCount = isReceiptGeneration(saleOrder, conn); receiptCount = isReceiptGeneration(saleOrder, conn);
sordMap = getSalesDespatchDetails(ptcn, conn);
System.out.println("getwayAmount value ==========>>[" + getwayAmount + "]"); System.out.println("getwayAmount value ==========>>[" + getwayAmount + "]");
invoiceDetailsMap.put("chq_amt", getwayAmount); invoiceDetailsMap.put("chq_amt", getwayAmount);
// Changed by Sneha on 16-03-2016, calling isReceiptGeneration method and put values of getwayAmount in map [End] // Changed by Sneha on 16-03-2016, calling isReceiptGeneration method and put values of getwayAmount in map [End]
...@@ -1814,7 +1816,7 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT ...@@ -1814,7 +1816,7 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
String sagePayApply = ""; String sagePayApply = "";
String sagePayProfile = ""; String sagePayProfile = "";
SagePayParameters param = null; SagePayParameters param = null;
HashMap sordMap = null; //HashMap sordMap = null;
String vendorTaxId = "",vendorTxCode = "",securityKey ="",currCode = ""; String vendorTaxId = "",vendorTxCode = "",securityKey ="",currCode = "";
double payAmt = 0.0; double payAmt = 0.0;
GenericUtility genericUtility = null; GenericUtility genericUtility = null;
...@@ -1837,7 +1839,7 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT ...@@ -1837,7 +1839,7 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
System.out.println("sagpayUrl xml["+sagpayUrl+"]vendor["+vendor+"]"); System.out.println("sagpayUrl xml["+sagpayUrl+"]vendor["+vendor+"]");
sordMap = getSalesDespatchDetails(PTCN, conn); //sordMap = getSalesDespatchDetails(PTCN, conn);
vendorTxCode =(String) sordMap.get("VENDOR_TX_CODE"); vendorTxCode =(String) sordMap.get("VENDOR_TX_CODE");
vendorTaxId =(String) sordMap.get("VPS_TX_ID"); vendorTaxId =(String) sordMap.get("VPS_TX_ID");
...@@ -2946,13 +2948,14 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT ...@@ -2946,13 +2948,14 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
String authId = ""; String authId = "";
String currCode=""; String currCode="";
String saleOrder=""; String saleOrder="";
HashMap sordMap = null; //HashMap sordMap = null;
double payAmt = 0.0; double payAmt = 0.0;
GenericUtility genericUtility = null; GenericUtility genericUtility = null;
PaypalParameters paypalParam = new PaypalParameters(); PaypalParameters paypalParam = new PaypalParameters();
try try
{ {
sordMap = getSalesDespatchDetails(PTCN, conn); //sordMap = getSalesDespatchDetails(PTCN, conn);
payAmt = (Double)sordMap.get("PAY_AMT"); payAmt = (Double)sordMap.get("PAY_AMT");
authId = (String)sordMap.get("REMARKS3"); authId = (String)sordMap.get("REMARKS3");
currCode = (String)sordMap.get("CURR_CODE"); currCode = (String)sordMap.get("CURR_CODE");
......
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