Commit d7883a0c authored by dpawar's avatar dpawar

add validation for item active or not


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94070 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2425f226
......@@ -404,7 +404,7 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca
errList.add( errCode );
errFields.add( childNodeName.toLowerCase() );
}
else if(itemActive.length() < 0){
else if(itemActive.length() < 0 || itemActive.equalsIgnoreCase("N")){
errCode = "VTITMCNAC"; //item code not active in item master
errList.add( errCode );
errFields.add( childNodeName.toLowerCase() );
......@@ -1558,7 +1558,7 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca
}
private String getColumnDescr(Connection conn, String columnName ,String tableName, String columnName2, String value)
protected String getColumnDescr(Connection conn, String columnName ,String tableName, String columnName2, String value)
{
PreparedStatement pstmt = null ;
......
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