Commit 5e5d7700 authored by msharma's avatar msharma

Set reason code from default reason code


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98233 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4bcd8be2
......@@ -5,6 +5,7 @@
package ibase.webitm.ejb.mfg;
import ibase.system.config.ConnDriver;
import ibase.webitm.ejb.*;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.ejb.dis.adv.StockTransferConf;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
......@@ -19,6 +20,7 @@ import java.util.HashMap;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.CommonConstants;
@javax.ejb.Stateless
public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrfWizPosRemote
......@@ -93,6 +95,7 @@ public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrf
try
{
DistCommon disCommon = new DistCommon();
itmDBAccessEJB = new ITMDBAccessEJB();
System.out.println("domString::{"+domString+"}");
if( conn != null )
......@@ -221,7 +224,10 @@ public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrf
remarks = genericUtility.getColumnValueFromNode("remarks", parentNode);
System.out.println("worder["+worder+"]batchQuantity["+batchQuantity+"]reasCode["+reasCode+"]explev["+explev+"]remarks["+remarks+"]");
//Added by manoj sharma to add default reason code from disparm
reasCode = checkNull(disCommon .getDisparams("999999","DEFAULT_REAS_CODE",conn));
System.out.println("Default Reason Code["+reasCode+"]");
reasCode=reasCode.trim();
WoTransferPrc WoTransPrc = new WoTransferPrc();
errString = WoTransPrc.allocStockToWo("", tranId, "", siteCode, itemCode, lotNo, lotSl, quantityStr, reasCode, locCode, explev, locCodeTo,
......
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