Commit e015092d authored by msalla's avatar msalla

In ITM user used to capture the date on which GRN bill is forwarded to finance...

In ITM user used to capture the date on which GRN bill is forwarded to finance team. this date they used to insert after GRN confirmation. Facility is required in vision to capture the same.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205704 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 49fb048a
...@@ -201,6 +201,13 @@ public class ReceiptExRefPrc extends ProcessEJB implements ReceiptExRefPrcLocal, ...@@ -201,6 +201,13 @@ public class ReceiptExRefPrc extends ProcessEJB implements ReceiptExRefPrcLocal,
confirmed = rs.getString(1) == null ? "N" : rs.getString(1); confirmed = rs.getString(1) == null ? "N" : rs.getString(1);
} }
//ADDED BY MONIKA S -0N 22 AUGUST 2019-TO SHOW MESSAGE TO USER WETHER RECEIPT IS CONFIRMED OR NOT.
if("N".equalsIgnoreCase(confirmed))
{
errCode = "RCPNOTCONF";
errString =itmDBAccessEJB.getErrorString("updated",errCode,chgUser,"",conn);
}//END
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
rs.close(); rs.close();
...@@ -339,7 +346,8 @@ public class ReceiptExRefPrc extends ProcessEJB implements ReceiptExRefPrcLocal, ...@@ -339,7 +346,8 @@ public class ReceiptExRefPrc extends ProcessEJB implements ReceiptExRefPrcLocal,
} }
// end of code // end of code
if(confirmed.equalsIgnoreCase("Y")) // if(confirmed.equalsIgnoreCase("Y"))//COMMENTED BY MONIKA 22 AUGUST 2019
if("Y".equalsIgnoreCase(confirmed))
{ {
// ??? how to get value coloumn value // ??? how to get value coloumn value
sql = "update porcp set dc_no = ? , dc_date= ?,invoice_no = ?, invoice_date= ? ,excise_ref = ?, excise_ref_date = ? where tran_id = '"+tranId+"' " ; sql = "update porcp set dc_no = ? , dc_date= ?,invoice_no = ?, invoice_date= ? ,excise_ref = ?, excise_ref_date = ? where tran_id = '"+tranId+"' " ;
......
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