Commit e1d3186f authored by cpatil's avatar cpatil

modify @ post order testing


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101331 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c63b07b8
......@@ -3889,7 +3889,7 @@ public class PostOrdCreditChk
rs = null;
pstmt.close();
pstmt = null;
System.out.println("@@@@@@@ ll_ocount["+ll_ocount+"]");
if( ll_ocount == ll_count )
{
as_status = "O";
......@@ -3898,12 +3898,13 @@ public class PostOrdCreditChk
{
as_status = "F";
}
else
/*else
{
as_status = "";
}
}*/
ac_check_amt = 0;
System.out.println("@@@@@@@@@@3907 as_status["+as_status+"]");
}
else //////Checking for Amount
{
......@@ -3930,7 +3931,7 @@ public class PostOrdCreditChk
pstmt.close();
pstmt = null;
System.out.println("@@@@@@@ lc_aprv_amt["+lc_aprv_amt+"]");
if( lc_aprv_amt > 0 )
{
ac_check_amt = ac_net_amt - lc_aprv_amt;
......@@ -3963,7 +3964,7 @@ public class PostOrdCreditChk
pstmt.close();
pstmt = null;
System.out.println("@@@@@@@@@ ll_fcount["+ll_fcount+"]");
if( ll_fcount > 0 )
{
ac_check_amt = 0;
......@@ -3980,6 +3981,7 @@ public class PostOrdCreditChk
{
as_status = ""; //New Record to be added
}
System.out.println("@@@@@@@@@@3984 as_status["+as_status+"]");
}
else if("U".equalsIgnoreCase(as_check_flag) && "I".equalsIgnoreCase(asApplyTime ))
{
......
......@@ -1190,7 +1190,9 @@ public class PostOrdInvoiceGen extends ActionHandlerEJB
+ "despatch.gp_no,despatch.gp_date,despatch.stan_code,despatch.chg_date,despatch.chg_user,"
+ "despatch.chg_term,despatch.status,despatch.site_code,sorder.sales_pers,sorder.tax_class,"
+ "sorder.tax_chap,sorder.tax_env,sorder.tax_date,sorder.cr_term,sorder.site_code,"
+ "sorder.curr_code,sorder.exch_rate,sorder.ord_amt,sorder.tax_amt,sorder.tot_amt,"
+ "sorder.curr_code,"
//+ " sorder.exch_rate, "
+ " sorder.ord_amt,sorder.tax_amt,sorder.tot_amt,"
+ "sorder.comm_amt,sorder.frt_amt,sorder.curr_code__frt,sorder.exch_rate__frt,site.fin_entity,"
+ "crterm.cr_days,sorder.cust_code__bil,sorder.frt_term,sorder.part_qty,sorder.comm_perc,"
+ "sorder.comm_perc__on,despatch.eff_date,sorder.item_ser,sorder.bank_code,sorder.order_type,"
......
......@@ -782,6 +782,7 @@ public class PostOrderProcess extends ProcessEJB implements PostOrderProcessLoca
//}
if( errString != null && errString.trim().length() > 0 && errString.contains("Success"))
{
errString = "";
String[] arrayForTranId1 = errString.split("<TranID>");
System.out.println("Tran ID :::::in conf:::::::"+arrayForTranId1);
......@@ -1049,7 +1050,7 @@ public class PostOrderProcess extends ProcessEJB implements PostOrderProcessLoca
//DESCR VARCHAR2(500)
pstmt.setString(5,lsStr);
//APRV_STAT CHAR(1)
pstmt.setString(6,"O");
pstmt.setString(6,"F");
//APRV_AMT NUMBER(14,3)
pstmt.setDouble(7,0);
//USED_AMT NUMBER(14,3)
......
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