Commit 647f29b5 authored by prane's avatar prane

[D18CBAS001]Stock allocation information, with inconsistency and rectification

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@187516 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a67049e0
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>webitm-dis</name>
<name>webitm-dis_head_12_JUL</name>
<comment></comment>
<projects>
</projects>
......
[Dolphin]
HeaderColumnWidths=289,74,146
SortOrder=1
SortRole=date
Sorting=2
Timestamp=2017,5,30,15,18,40
Timestamp=2018,7,12,14,50,45
Version=3
ViewMode=1
/**
* @author : PAVAN RANE
* @Version : 1.0
* Date : 01/07/18
* Request Id: F18BSHL001
*/
package ibase.webitm.ejb.dis;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import javax.ejb.Stateless;
import javax.naming.InitialContext;
import org.w3c.dom.Document;
import ibase.utility.E12GenericUtility;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
/**
* Session Bean implementation class StockAllocVerifyWiz
*/
@Stateless
public class StockAllocVerifyWiz extends ValidatorEJB implements StockAllocVerifyWizRemote, StockAllocVerifyWizLocal {
public String globalXtraParams = "";
E12GenericUtility genericUtility = new E12GenericUtility();
/**
* The public method is used for converting the current form data into a document(DOM)
* The dom is then given as argument to the overloaded function wfValData to perform validation
* Returns validation string if exists else returns null in XML format
* @param xmlString contains the current form data in XML format
* @param xmlString1 contains all the header information in the XML format
* @param xmlString2 contains the data of all the forms in XML format
* @param objContext represents the form number
* @param editFlag represents the mode of transaction(A-Add or E-Edit)
* @param xtraParams contains additional information such as loginEmpCode,loginCode,chgTerm etc
*/
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String retString = "";
System.out.println("StockAllocVerifyWiz.wfValData()");
System.out.println("xmlString :" + xmlString);
System.out.println("xmlString1 :" + xmlString1);
System.out.println("xmlString2 :" + xmlString2);
System.out.println("objContext :" + objContext);
System.out.println("editFlag :" + editFlag);
System.out.println("xtraParams :" + xtraParams);
try
{
if(xmlString != null && xmlString.trim().length() > 0)
{
dom = genericUtility.parseString(xmlString);
}
if(xmlString1 != null && xmlString1.trim().length() > 0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if(xmlString2 != null && xmlString2.trim().length() > 0)
{
dom2 = genericUtility.parseString(xmlString2);
}
retString = wfValData(dom, dom1, dom2, objContext, editFlag, xtraParams);
System.out.println("retString:::"+retString);
}
catch(Exception e)
{
System.out.println("Exception in StockAllocVerifyWiz wfValData :: " + getClass().getSimpleName() + "::"+ e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
return retString;
}
/**
* The public overloaded method takes a document as input and is used for the validation of required fields
* Returns validation string if exist otherwise returns null in XML format
* @param currFormDataDom contains the current form data as a document object model
* @param hdrDataDom contains all the header information
* @param allFormDataDom contains the field data of all the forms
* @param objContext represents form number
* @param editFlag represents the mode of transaction(A-Add or E-Edit)
* @param xtraParams contains additional information such as loginEmpCode,loginCode,chgTerm etc
*/
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
System.out.println("******************* Pavan Rane *******************");
System.out.println("******* Inside StockAllocVerifyIC wfValData **********");
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
Connection conn = null;
E12GenericUtility genericUtility;
String errString = "", userId = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
String sql = "";
StringBuffer errStringXml = new StringBuffer("<?xml version = \"1.0\"?> \r\n <Root> <Errors>");
try
{
int currentFormNo = 0, childNodeListLength = 0, ctr = 0, cnt = 0;
String childNodeName = "", errorType = "", errCode = "";
String siteCode="";
ArrayList<String> errList = new ArrayList<String>();
ArrayList<String> errFields = new ArrayList<String>();
conn = getConnection();
genericUtility = new E12GenericUtility();
//SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
System.out.println("xtraParam----->>["+xtraParams+"]");
System.out.println("editFlag ------------>>["+editFlag+"]");
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
switch (currentFormNo)
{
case 1:
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for (ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if (childNodeName.equalsIgnoreCase("site_code"))
{
siteCode = checkNull(genericUtility.getColumnValue("site_code", dom));
if ( siteCode != null && siteCode.trim().length() > 0)
{
sql = "select count(*) as cnt from site where site_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
if (cnt == 0)
{
errList.add("VMINVSITE ");
errFields.add(childNodeName.toLowerCase());
}
}
}
}//end of for loop
break;// end of switch
}// end of switch
int errListSize = errList.size();
int count = 0;
String errFldName = null;
if (errList != null && errListSize > 0)
{
for (count = 0; count < errListSize; count++) {
errCode = errList.get(count);
errFldName = errFields.get(count);
System.out.println(" testing :errCode .:" + errCode);
errString = getErrorString(errFldName, errCode, userId);
errorType = errorType(conn, errCode);
if (errString.length() > 0) {
String bifurErrString = errString.substring(errString.indexOf("<Errors>") + 8,
errString.indexOf("<trace>"));
bifurErrString = bifurErrString + errString.substring(errString.indexOf("</trace>") + 8,
errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
errString = "";
}
if (errorType.equalsIgnoreCase("E")) {
break;
}
}
errList.clear();
errList = null;
errFields.clear();
errFields = null;
errStringXml.append("</Errors> </Root> \r\n");
} else {
errStringXml = new StringBuffer("");
}
}catch ( Exception e )
{
System.out.println ( "Exception: StockAllocVerifyWiz: wfValData( Document currFormDataDom ): " + e.getMessage() + ":" );
e.printStackTrace();
throw new ITMException(e);
}finally
{
try
{
if(conn != null)
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
conn.close();
}
conn = null;
}
catch(Exception d)
{
d.printStackTrace();
throw new ITMException(d);
}
}
return errStringXml.toString();
}
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String retString = "";
E12GenericUtility genericUtility = new E12GenericUtility();
System.out.println("----------------Inside StockAllocVerifyWiz itemChanged-------------------");
try {
globalXtraParams = xtraParams;
System.out.println("xmlString::["+xmlString+"]\nxmlString1::["+xmlString1+"]\nxmlString2::["+xmlString2+"]");
if (xmlString != null && xmlString.trim().length() > 0) {
dom = genericUtility.parseString(xmlString);
}
if (xmlString1 != null && xmlString1.trim().length() > 0) {
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length() > 0) {
dom2 = genericUtility.parseString(xmlString2);
}
retString = itemChanged(dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams);
} catch (Exception e) {
System.out.println("Exception: StockAllocVerifyIC: itemChanged:" + this.getClass().getSimpleName() + "::" + e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
return retString;
}
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
E12GenericUtility e12genericUtility = new E12GenericUtility();
StringBuffer valueXmlString = new StringBuffer();
String loginUser = "";
int currentFormNo = 0;
String siteCode = "", currDate = "", retString = "", dateFormat = "";
boolean selectFlag = false, offerSelect = false;
int existCnt = 0;
InitialContext ctx = null;
ResultSet rs = null;
ResultSet rs1 = null;
PreparedStatement pstmt = null;
PreparedStatement pstmt1 = null;
String finEntity = "", prdCodeFrm = "", prdCodeTo = "";
String nodeName = "";
String errCode = "";
String effFrom1 = null, validUpto1 = null, remarks = null, prdCode = null;
String sql = "";
String sql1 = "";
String lotNo = "";
String lotSl = "";
String locCode = "";
String allocType = "";
String siteCodeDom = "";
String itemCode = "";
String errString = "";
String xmlRetString = "";
String siteCodeTrc="";
String itemCodeTrc="";
String locCodeTrc="";
String lotNoTrc="";
String lotSlTrc="";
double unconfQty = 0.0d;
double stockQty = 0.0d;
double StkAllocQty = 0.0d;
double availStkQty = 0.0d;
int domID = 0, detDomId = 0;
int rowCnt = 0;
Connection conn = null;
try {
System.out.println("itemChanged called for StockAllocVerifyWiz");
conn = getConnection();
siteCode = e12genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
loginUser = e12genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
dateFormat = e12genericUtility.getApplDateFormat();
if (objContext != null && objContext.trim().length() > 0) {
currentFormNo = Integer.parseInt(objContext);
}
SimpleDateFormat sdf = new SimpleDateFormat(e12genericUtility.getApplDateFormat());
currDate = sdf.format(new java.util.Date());
System.out.println("currDate" + currDate);
System.out.println("currentColumn[" + currentColumn + "] currentFormNo[" + currentFormNo + "]");
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?><Root><Header><editFlag>");
valueXmlString.append(editFlag).append("</editFlag></Header>");
switch (currentFormNo) {
case 1: {
System.out.println(" -------- Inside itemchange case 1111111 ------------ ");
existCnt = 0;
if (currentColumn.trim().equalsIgnoreCase("itm_default")) {
System.out.println("loginUser" + loginUser);
String loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
valueXmlString.append("<Detail1 domID='1'>");
valueXmlString.append("<site_code><![CDATA[").append(loginSite).append("]]></site_code>");
valueXmlString.append("<alloc_type><![CDATA[").append("0").append("]]></alloc_type>");
valueXmlString.append("</Detail1>");
}
break;
}
case 2: {
System.out.println(" -------- Inside itemchange case 222222 ------------ ");
if (currentColumn.trim().equalsIgnoreCase("itm_default"))
{
String loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
valueXmlString.append("<Detail1 domID='1'>");
valueXmlString.append("<site_code><![CDATA[").append(loginSite).append("]]></site_code>");
valueXmlString.append("</Detail1>");
siteCode = checkNull(e12genericUtility.getColumnValue("site_code", dom1));
allocType = checkNull(e12genericUtility.getColumnValue("alloc_type", dom1));
System.out.println("345::allocation Type["+allocType+"]");
sql = "SELECT F.SITE_CODE, F.ITEM_CODE, F.LOT_NO, F.LOC_CODE, F.LOT_SL, E.QUANTITY AS STOCK_QTY, E.ALLOC_QTY AS STOCK_ALLOC_QTY, (E.QUANTITY-E.ALLOC_QTY) AS AVAILABLE_STOCK, SUM(F.ISS_QTY) ISS_QTY"
+ " FROM"
+ " (" //INV_PACK_ISS
+ " SELECT B.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY"
+ " FROM INV_PACK_ISS A, INV_PACK B"
+ " WHERE A.TRAN_ID = B.TRAN_ID"
+ " AND B.SITE_CODE = ?"
+ " AND B.CONFIRMED = 'N'"
//WORKORDER_ISS
+ " UNION ALL"
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, (A.QUANTITY+NVL(A.POTENCY_ADJ,0)) AS ISS_QTY"
+ " FROM WORKORDER_ISSDET A, WORKORDER_ISS D"
+ " WHERE A.TRAN_ID = D.TRAN_ID"
+ " AND D.SITE_CODE = ?"
+ " AND D.CONFIRMED = 'N'"
+ " AND D.TRAN_TYPE <> 'R'"
+ " AND A.QUANTITY + NVL(A.POTENCY_ADJ,0) > 0"
//INV_ALLOCATE
+ " UNION ALL"
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, (A.QUANTITY+NVL(A.POTENCY_ADJ,0)) AS ISS_QTY"
+ " FROM INV_ALLOC_DET A, INV_ALLOCATE D"
+ " WHERE A.TRAN_ID = D.TRAN_ID"
+ " AND D.SITE_CODE = ?"
+ " AND (NVL(A.DEALLOCATED,'N') <> 'Y' OR A.DEALLOCATED IS NULL)"
+ " AND NOT EXISTS (SELECT H.WORK_ORDER FROM WORKORDER_ISS H, WORKORDER_ISSDET I WHERE I.TRAN_ID = H.TRAN_ID"
+ " AND H.WORK_ORDER = D.WORK_ORDER"
+ " AND H.TRAN_DATE >= '01-apr-00' AND SITE_CODE = ?"
+ " AND NVL(H.STATUS,'O') <> 'X'"
+ " AND A.SITE_CODE = H.SITE_CODE"
+ " AND A.EXP_LEV = I.EXP_LEV"
+ " AND A.ITEM_CODE = I.ITEM_CODE"
+ " AND A.LOC_CODE = I.LOC_CODE"
+ " AND A.LOT_NO = I.LOT_NO"
+ " AND A.LOT_SL = I.LOT_SL)"
//CONSUME_ISS
+ " UNION ALL"
+ " SELECT D.SITE_CODE__ORD, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY"
+ " FROM CONSUME_ISS_DET A, CONSUME_ISS D"
+ " WHERE D.CONS_ORDER >' ' AND D.CONS_ISSUE = A.CONS_ISSUE AND D.CONFIRMED = 'N'"
+ " AND D.TRAN_TYPE = 'I'"
+ " AND D.SITE_CODE__ORD = ?"
//DESPATCH
+ " UNION ALL"
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY"
+ " FROM DESPATCHDET A, DESPATCH D"
+ " WHERE D.DESP_ID = A.DESP_ID AND D.DESP_DATE >= '01-jan-2000'"
+ " AND D.SITE_CODE = ?"
+ " AND D.CONFIRMED = 'N'"
//SORDALLOC
+ " UNION ALL"
+ " SELECT A.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, SUM(A.QUANTITY__STDUOM) AS ISS_QTY"
+ " FROM SORDALLOC A"
+ " WHERE A.SITE_CODE = ?"
+ " AND NOT EXISTS (SELECT H.SORD_NO FROM DESPATCH H, DESPATCHDET I WHERE I.DESP_ID = H.DESP_ID"
+ " AND H.SORD_NO = A.SALE_ORDER"
+ " AND I.LINE_NO__SORD = A.LINE_NO"
+ " AND H.SITE_CODE = ?"
+ " AND NVL(H.CONFIRMED,'N') = 'N'"
+ " AND A.EXP_LEV = I.EXP_LEV"
+ " AND A.ITEM_CODE = I.ITEM_CODE"
+ " AND A.LOC_CODE = I.LOC_CODE"
+ " AND A.LOT_NO = I.LOT_NO"
+ " AND A.LOT_SL = I.LOT_SL )"
+ " GROUP BY A.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL"
//DISTORD_ISS
+ " UNION ALL"
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY"
+ " FROM DISTORD_ISSDET A, DISTORD_ISS D"
+ " WHERE D.TRAN_ID = A.TRAN_ID AND D.CONFIRMED = 'N'"
+ " AND D.SITE_CODE = ?"
//ADJ_ISSRCP
+ " UNION ALL"
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY"
+ " FROM ADJ_ISSRCPDET A, ADJ_ISSRCP D"
+ " WHERE D.TRAN_ID = A.TRAN_ID"
+ " AND D.SITE_CODE = ?"
+ " AND D.CONFIRMED = 'N' AND D.REF_SER = 'ADJISS'"
//WORDER_ISS_RND
+ " UNION ALL"
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, (A.QUANTITY+NVL(A.POTENCY_ADJ,0)) AS ISS_QTY"
+ " FROM WORDER_ISSDET_RND A, WORDER_ISS_RND D"
+ " WHERE A.TRAN_ID = D.TRAN_ID"
+ " AND D.CONFIRMED <> 'Y'"
+ " AND A.QUANTITY > 0"
+ " AND D.SITE_CODE = ?"
//RECEIPT_BACKFLUSH
+ " UNION ALL"
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY"
+ " FROM RECEIPT_BACKFLUSH_DET A, RECEIPT_BACKFLUSH D"
+ " WHERE D.TRAN_ID = A.TRAN_ID"
+ " AND D.SITE_CODE = ?"
+ " AND D.CONFIRMED = 'N'"
//STOCK_TRANSFER
+ " UNION ALL"
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO__FR AS LOT_NO, A.LOC_CODE__FR AS LOC_CODE, A.LOT_SL__FR AS LOT_SL, A.QUANTITY AS ISS_QTY"
+ " FROM STOCK_TRANSFER_DET A, STOCK_TRANSFER D"
+ " WHERE D.TRAN_ID = A.TRAN_ID"
+ " AND D.SITE_CODE = ?"
+ " AND D.CONFIRMED = 'N'"
//QC_SAMPLE
+ " UNION ALL"
+ " SELECT D.SITE_CODE, D.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QTY_SAMPLE AS ISS_QTY"
+ " FROM QC_SAMPLE_STK A, QC_SAMPLE D"
+ " WHERE D.TRAN_ID = A.TRAN_ID"
+ " AND D.SITE_CODE = ?"
+ " AND D.CONFIRMED = 'N'"
//PORCP
+ " UNION ALL"
+ " SELECT A.SITE_CODE, B.ITEM_CODE, B.LOT_NO, B.LOC_CODE, B.LOT_SL, B.QUANTITY AS ISS_QTY"
+ " FROM PORCP A, PORCPDET B"
+ " WHERE A.TRAN_ID = B.TRAN_ID"
+ " AND A.SITE_CODE = ?"
+ " AND A.CONFIRMED = 'N'"
+ " AND A.TRAN_SER ='P-RET'"
//STOCK
+ " UNION ALL"
+ " SELECT A.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, 0 AS ISS_QTY"
+ " FROM STOCK A"
+ " WHERE A.SITE_CODE = ?"
+ " AND NVL(A.ALLOC_QTY,0) > 0"
+ " ) F, STOCK E"
+ " WHERE F.ITEM_CODE = E.ITEM_CODE"
+ " AND F.SITE_CODE = E.SITE_CODE"
+ " AND F.LOC_CODE = E.LOC_CODE "
+ " AND F.LOT_NO = E.LOT_NO "
+ " AND F.LOT_SL = E.LOT_SL"
+ " AND E.INV_STAT IN ('SALE','NOSL')"
+ " GROUP BY F.SITE_CODE, F.ITEM_CODE, F.LOT_NO, F.LOC_CODE, F.LOT_SL, E.QUANTITY, E.ALLOC_QTY";
//if true then popukate inconsistent data
if("1".equalsIgnoreCase(allocType))
{
sql = sql + " HAVING NVL(SUM(F.ISS_QTY),0) <> E.ALLOC_QTY";
}
sql = sql + " ORDER BY F.SITE_CODE,F.ITEM_CODE, F.LOT_NO, F.LOC_CODE, F.LOT_SL";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
pstmt.setString(2, siteCode);
pstmt.setString(3, siteCode);
pstmt.setString(4, siteCode);
pstmt.setString(5, siteCode);
pstmt.setString(6, siteCode);
pstmt.setString(7, siteCode);
pstmt.setString(8, siteCode);
pstmt.setString(9, siteCode);
pstmt.setString(10, siteCode);
pstmt.setString(11, siteCode);
pstmt.setString(12, siteCode);
pstmt.setString(13, siteCode);
pstmt.setString(14, siteCode);
pstmt.setString(15, siteCode);
pstmt.setString(16, siteCode);
rs = pstmt.executeQuery();
while(rs.next())
{
siteCode = checkNull(rs.getString("SITE_CODE"));
itemCode = checkNull(rs.getString("ITEM_CODE"));
lotNo = checkNull(rs.getString("LOT_NO"));
locCode = checkNull(rs.getString("LOC_CODE"));
lotSl = checkNull(rs.getString("LOT_SL"));
stockQty = rs.getDouble("STOCK_QTY");
StkAllocQty = rs.getDouble("STOCK_ALLOC_QTY");
availStkQty = rs.getDouble("AVAILABLE_STOCK");
unconfQty = rs.getDouble("ISS_QTY");
double totAllocQtyTrc = 0.0d;
sql1 = "SELECT ITEM_CODE, SITE_CODE, LOC_CODE, LOT_NO, LOT_SL,SUM(ALLOC_QTY) ALLOC_QTY_TRC"
+ " FROM INVALLOC_TRACE"
+ " WHERE ITEM_CODE = ?"
+ " AND SITE_CODE = ?"
+ " AND LOC_CODE = ?"
+ " AND LOT_NO = ?"
+ " AND LOT_SL = ?"
+ " GROUP BY ITEM_CODE, SITE_CODE, LOC_CODE, LOT_NO, LOT_SL";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, itemCode);
pstmt1.setString(2, siteCode);
pstmt1.setString(3, locCode);
pstmt1.setString(4, lotNo);
pstmt1.setString(5, lotSl);
rs1 = pstmt1.executeQuery();
if(rs1.next())
{
rowCnt ++;
itemCodeTrc = checkNull(rs1.getString("ITEM_CODE"));
siteCodeTrc = checkNull(rs1.getString("SITE_CODE"));
locCodeTrc = checkNull(rs1.getString("LOC_CODE"));
lotNoTrc = checkNull(rs1.getString("LOT_NO"));
lotSlTrc = checkNull(rs1.getString("LOT_SL"));
totAllocQtyTrc = rs1.getDouble("ALLOC_QTY_TRC");
}
pstmt1.close();
rs1.close();
pstmt1 = null;
rs1 = null;
System.out.println("rowCnt["+rowCnt+"");
valueXmlString.append("<Detail2 domID='" + (++detDomId) + "'>");
//valueXmlString.append("<Detail2>");
valueXmlString.append("<site_code>").append("<![CDATA[" + siteCode + "]]>").append("</site_code>");
valueXmlString.append("<item_code>").append("<![CDATA[" + itemCode + "]]>").append("</item_code>");
valueXmlString.append("<lot_no>").append("<![CDATA[" + lotNo + "]]>").append("</lot_no>");
valueXmlString.append("<loc_code>").append("<![CDATA[" + locCode + "]]>").append("</loc_code>");
valueXmlString.append("<lot_sl>").append("<![CDATA[" + lotSl + "]]>").append("</lot_sl>");
valueXmlString.append("<stock_qty>").append("<![CDATA[" + stockQty + "]]>").append("</stock_qty>");
valueXmlString.append("<stock_alloc_qty>").append("<![CDATA[" + StkAllocQty + "]]>").append("</stock_alloc_qty>");
valueXmlString.append("<alloc_qty_trace>").append("<![CDATA[" + totAllocQtyTrc + "]]>").append("</alloc_qty_trace>");
valueXmlString.append("<pending_qty>").append("<![CDATA[" + unconfQty + "]]>").append("</pending_qty>");
valueXmlString.append("</Detail2>");
valueXmlString.append("\n");
//rows ++;
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
}
}//case2 end
}
valueXmlString.append("</Root>");
}catch (SQLException se) {
System.out.println("StockAllocVerifyWiz.itemChanged():catchBlock" + se.getMessage());
se.printStackTrace();
throw new ITMException(se);
}catch (Exception e) {
System.out.println("StockAllocVerifyWiz.itemChanged():catchBlock" + e.getMessage());
e.printStackTrace();
throw new ITMException(e);
} finally {
try {
if (rs != null) {
rs.close();
rs = null;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
}
if (!conn.isClosed() && conn != null) {
conn.close();
conn = null;
}
} catch (Exception e) {
System.out.println("StockAllocVerifyWiz.itemChanged():finally block");
e.printStackTrace();
}
}
return valueXmlString.toString();
}
private String errorType(Connection conn, String errorCode) throws ITMException {
String msgType = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
try {
String sql = "SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, errorCode);
rs = pstmt.executeQuery();
if (rs.next()) {
msgType = rs.getString("MSG_TYPE");
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
} catch (Exception ex) {
ex.printStackTrace();
throw new ITMException(ex);
} finally {
try {
if (rs != null) {
rs.close();
rs = null;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
}
} catch (Exception e) {
e.printStackTrace();
throw new ITMException(e);
}
}
return msgType;
}
private String checkNull(String str) {
if (str == null) {
return "";
} else {
return str;
}
}
@Override
public String handleRequest(HashMap<String, String> reqParamMap) {
String action = "", retXMLStr = "";
try {
action = (String) reqParamMap.get("action");
if ("ITEM_CHANGE".equalsIgnoreCase(action)) {
String currXmlDataStr = "", hdrXmlDataStr = "", allXmlDataStr = "", currentColumn = "", objContext = "",
editFlag = "";
currXmlDataStr = (String) reqParamMap.get("CUR_XML_STR");
hdrXmlDataStr = (String) reqParamMap.get("HDR_XML_STR");
allXmlDataStr = (String) reqParamMap.get("ALL_XML_STR");
currentColumn = (String) reqParamMap.get("CUR_COLUMN");
objContext = (String) reqParamMap.get("OBJ_CONTEXT");
editFlag = (String) reqParamMap.get("EDIT_FLAG");
retXMLStr = itemChanged(currXmlDataStr, hdrXmlDataStr, allXmlDataStr, objContext, currentColumn,
editFlag, globalXtraParams);
System.out.println("retXMLStr[" + retXMLStr + "] for action [" + action + "]");
} else if ("DELETE".equalsIgnoreCase(action)) {
}
} catch (Exception e) {
System.out.println("StockAllocVerifyWiz.handleRequest()" + e.getMessage());
e.printStackTrace();
}
return retXMLStr;
}
}
/**
* @author : PAVAN RANE
* @Version : 1.0
* Date : 01/07/18
* Request Id: F18BSHL001
*/
package ibase.webitm.ejb.dis;
import java.io.*;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import javax.naming.*;
import com.jcraft.jsch.UserInfo;
import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants;
import ibase.utility.E12GenericUtility;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.*;
public class StockAllocVerifyWizBean extends ValidatorEJB {
E12GenericUtility genericUtility = new E12GenericUtility();
InitialContext ctx1 = null;
private String objName = "";
private String user_lang = "en";
private String user_country = "US";
public StockAllocVerifyWizBean() {
}
public StockAllocVerifyWizBean(String objName) throws ITMException {
try {
this.objName = objName;
} catch (Exception e) {
e.printStackTrace();
throw new ITMException(e);
}
}
public String previousForm(String formNo, String xmlData)
throws ITMException {
String retHtmlData = null;
try {
System.out.println("In Method : [previousForm]");
System.out.println("xmlString : [" + xmlData + "]");
String xslFileName = getXSLFileName(this.objName + formNo + "_wiz_"
+ this.user_lang + "_" + this.user_country + "_" + "A"
+ ".xsl");
retHtmlData = (genericUtility).transformToString(xslFileName,
xmlData, CommonConstants.APPLICATION_CONTEXT
+ File.separator + "temp", "Output", ".html");
} catch (Exception e) {
e.printStackTrace();
throw new ITMException(e);
}
return retHtmlData;
}
public String getAllocDetail(String paramData, UserInfoBean userInfo) throws ITMException {
System.out.println("----------------:: StockAllocVerifyWizBean ::----------------");
System.out.println("--------------------::[ getAllocDetail ]::----------------");
String retHtmlData = null;
Connection conn = null;
String sql = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
String itemCode = "";
String siteCode = "";
String locCode = "";
String lotNo = "";
String lotSl = "";
String xmlData = "";
int formNo = 1;
ConnDriver connDriver = null;
int row = 0;
SimpleDateFormat sdf = null;
try {
System.out.println("inside bean--" + userInfo);
String transDB = userInfo.getTransDB();
System.out.println("get TransDB connection in ConsumpIssueConfWF : "+ transDB);
connDriver = new ConnDriver();
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
if (transDB != null && transDB.trim().length() > 0) {
conn = connDriver.getConnectDB(transDB);
} else {
conn = connDriver.getConnectDB("Driver");
}
System.out.println("insided bean conn:" + conn);
System.out.println("In Method : [previousForm]");
System.out.println("xmlString : [" + paramData + "]");
StringBuffer xmlString = new StringBuffer("<DocumentRoot>\r\n<description>Datawindow Root</description>\r\n<group0>\r\n<description>Group0 description</description>\r\n<Header0>\r\n<description>Header0 members</description>\r\n");
// {$site_code}~{$item_code}~{$lot_no}~{$loc_code}~{$lot_sl}
String[] paramArr = paramData.split("~");
siteCode = paramArr[0];
itemCode = paramArr[1];
lotNo = paramArr[2];
locCode = paramArr[3];
lotSl = paramArr[4];
System.out.println(paramArr[0]+":"+paramArr[1]+":"+paramArr[2]+":"+paramArr[3]+":"+paramArr[4]);
//sql = "SELECT ITEM_CODE, LOC_CODE, LOT_NO, LOT_SL,REF_ID, REF_LINE, REF_SER, TRAN_DATE, CHG_DATE, ALLOC_QTY"
sql = "SELECT REF_ID, REF_LINE, REF_SER, TRAN_DATE, CHG_DATE, ALLOC_QTY"
+ " FROM INVALLOC_TRACE"
+ " WHERE SITE_CODE = ?"
+ " AND ITEM_CODE = ?"
+ " AND LOC_CODE = ?"
+ " AND LOT_NO = ?"
+ " AND LOT_SL = ?"
+ " ORDER BY SITE_CODE, ITEM_CODE, LOC_CODE, LOT_NO, LOT_SL";
System.out.println("GetTraceStock @> Sql::[" + sql + "]");
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
pstmt.setString(2, itemCode);
pstmt.setString(3, locCode);
pstmt.setString(4, lotNo);
pstmt.setString(5, lotSl);
rs = pstmt.executeQuery();
while (rs.next()) {
row++;
xmlString.append("<Detail2 dbID='' domID='" + row+ "' selected='" + "Y" + "'>\r\n");
xmlString.append("<attribute pkNames='' status='" + "N" + "' updateFlag='" + "A" + "' selected='" + "Y" + "' />\r\n");
xmlString.append("<site_code><![CDATA[").append(siteCode).append("]]></site_code>");
xmlString.append("<item_code><![CDATA[").append(itemCode).append("]]></item_code>");
xmlString.append("<loc_code><![CDATA[").append(locCode).append("]]></loc_code>");
xmlString.append("<lot_no><![CDATA[").append(lotNo).append("]]></lot_no>");
xmlString.append("<lot_sl><![CDATA[").append(lotSl).append("]]></lot_sl>");
xmlString.append("<ref_id><![CDATA[").append(rs.getString("REF_ID")).append("]]></ref_id>");
xmlString.append("<ref_line><![CDATA[").append(rs.getString("REF_LINE")).append("]]></ref_line>");
xmlString.append("<ref_ser><![CDATA[").append(rs.getString("REF_SER")).append("]]></ref_ser>");
xmlString.append("<alloc_qty_trc><![CDATA[").append(rs.getDouble("ALLOC_QTY")).append("]]></alloc_qty_trc>");
xmlString.append("<tran_date><![CDATA[").append(sdf.format(rs.getTimestamp("TRAN_DATE"))).append("]]></tran_date>");
xmlString.append("<chg_date><![CDATA[").append(sdf.format(rs.getTimestamp("CHG_DATE"))).append("]]></chg_date>");
xmlString.append("</Detail2>\r\n");
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
xmlString.append("</Header0>\r\n");
xmlString.append("</group0>\r\n");
xmlString.append("</DocumentRoot>\r\n");
System.out.println("Pavan R 2018[" + xmlString + "]End");
String xslFileName = getXSLFileName("stock_alloc_verify_AllocDet"+ formNo + "_wiz_" + this.user_lang + "_"+ this.user_country + "_" + "A" + ".xsl");
retHtmlData = (genericUtility).transformToString(xslFileName,xmlString.toString(), CommonConstants.APPLICATION_CONTEXT+ File.separator + "temp", "Output", ".html");
}
catch (SQLException s) {
System.out.println("StockAllocVerifyWizBean: getAllocDetail::" + s.getMessage());
s.printStackTrace();
throw new ITMException(s);
} catch (Exception e) {
e.printStackTrace();
throw new ITMException(e);
}
return retHtmlData;
}
public String getPendingDetail(String paramData, UserInfoBean userInfo) throws ITMException {
System.out.println("----------------:: StockAllocVerifyWizBean ::----------------");
System.out.println("--------------------::[ getPendingDetail ]::----------------");
String retHtmlData = null;
Connection conn = null;
String sql = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
String itemCode = "";
String siteCode = "";
String locCode = "";
String lotNo = "";
String lotSl = "";
String xmlData = "";
int formNo = 2;
ConnDriver connDriver = null;
int row = 0;
SimpleDateFormat sdf = null;
try {
System.out.println("inside bean--" + userInfo);
String transDB = userInfo.getTransDB();
System.out.println("get TransDB connection in ConsumpIssueConfWF : "+ transDB);
connDriver = new ConnDriver();
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
if (transDB != null && transDB.trim().length() > 0) {
conn = connDriver.getConnectDB(transDB);
} else {
conn = connDriver.getConnectDB("Driver");
}
System.out.println("insided bean conn:" + conn);
System.out.println("In Method : [previousForm]");
System.out.println("xmlString : [" + paramData + "]");
StringBuffer xmlString = new StringBuffer("<DocumentRoot>\r\n<description>Datawindow Root</description>\r\n<group0>\r\n<description>Group0 description</description>\r\n<Header0>\r\n<description>Header0 members</description>\r\n");
// {$site_code}~{$item_code}~{$lot_no}~{$loc_code}~{$lot_sl}
String[] paramArr = paramData.split("~");
siteCode = paramArr[0];
itemCode = paramArr[1];
lotNo = paramArr[2];
locCode = paramArr[3];
lotSl = paramArr[4];
System.out.println("siteCode["+paramArr[0]+"]itemCode["+paramArr[1]+"]lotNo["+paramArr[2]+"]locCode["+paramArr[3]+"]lotSl["+paramArr[4]+"]");
sql = "SELECT F.SITE_CODE, F.ITEM_CODE, F.LOT_NO, F.LOC_CODE, F.LOT_SL, F.ISS_QTY, TRAN_ID, TRAN_SER, EXP_LEV"
+ " FROM"
+ "("
// INV_PACK - INV_PACK_ISS
+ " SELECT B.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY,"
+ " B.TRAN_ID ||'@'||A.LINE_NO TRAN_ID, 'PDL' as TRAN_SER , '' as EXP_LEV"
+ " FROM INV_PACK_ISS A, INV_PACK B"
+ " wHERE A.TRAN_ID = B.TRAN_ID"
+ " AND B.SITE_CODE = ?"
+ " AND A.ITEM_CODE = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " AND B.CONFIRMED = 'N'"
+ " UNION ALL" // WORKORDER_ISS
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, (A.QUANTITY+NVL(A.POTENCY_ADJ,0)) AS ISS_QTY,"
+ " D.TRAN_ID||'@'||A.LINE_NO TRAN_ID, 'W-ISS' as TRAN_SER, '' as EXP_LEV"
+ " FROM WORKORDER_ISSDET A, WORKORDER_ISS D"
+ " Where A.TRAN_ID = D.TRAN_ID "
+ " AND D.SITE_CODE = ?"
+ " AND A.ITEM_CODE = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " AND D.CONFIRMED = 'N'"
+ " AND D.TRAN_TYPE <> 'R'"
+ " AND A.QUANTITY + NVL(A.POTENCY_ADJ,0) > 0"
+ " UNION ALL" // INV_ALLOCATE
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, (A.QUANTITY+NVL(A.POTENCY_ADJ,0)) AS ISS_QTY,"
+ " D.TRAN_ID||'@'||A.LINE_NO TRAN_ID, 'W-RIN' as TRAN_SER, A.EXP_LEV"
+ " FROM INV_ALLOC_DET A, INV_ALLOCATE D"
+ " Where A.TRAN_ID = D.TRAN_ID"
+ " AND D.SITE_CODE = ?"
+ " AND A.ITEM_CODE = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " AND (NVL(A.DEALLOCATED,'N') <> 'Y'"
+ " OR A.DEALLOCATED IS NULL)"
+ " AND NOT EXISTS"
+ " (SELECT H.WORK_ORDER"
+ " FROM WORKORDER_ISS H, WORKORDER_ISSDET I"
+ " WHERE I.TRAN_ID = H.TRAN_ID"
+ " AND H.WORK_ORDER = D.WORK_ORDER"
+ " AND H.TRAN_DATE >= '01-apr-00'"
+ " AND SITE_CODE = ?"
+ " AND NVL(H.STATUS,'O') <> 'X'"
+ " AND A.SITE_CODE = H.SITE_CODE"
+ " AND A.EXP_LEV = I.EXP_LEV"
+ " AND A.ITEM_CODE = I.ITEM_CODE"
+ " AND A.LOC_CODE = I.LOC_CODE"
+ " AND A.LOT_NO = I.LOT_NO"
+ " AND A.LOT_SL = I.LOT_SL)"
+ " UNION ALL" // CONSUME_ISS
+ " SELECT D.SITE_CODE__ORD, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY,"
+ " D.CONS_ISSUE||'@'||A.LINE_NO TRAN_ID, 'C-ISS' as TRAN_SER, '' as EXP_LEV"
+ " FROM CONSUME_ISS_DET A, CONSUME_ISS D"
+ " WHERE D.CONS_ORDER >' '"
+ " AND D.CONS_ISSUE = A.CONS_ISSUE"
+ " AND D.CONFIRMED = 'N'"
+ " And D.Tran_Type = 'I'"
+ " AND D.SITE_CODE__ORD = ?"
+ " AND A.ITEM_CODE = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " UNION ALL" // DESPATCH
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY,"
+ " D.DESP_ID||'@'||A.LINE_NO TRAN_ID, 'S-DSP ' as TRAN_SER, '' as EXP_LEV"
+ " FROM DESPATCHDET A, DESPATCH D"
+ " WHERE D.DESP_ID = A.DESP_ID"
+ " And D.Desp_Date >= '01-jan-2000'"
+ " And D.Site_Code = ?"
+ " AND A.ITEM_CODE = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " AND D.CONFIRMED = 'N'"
+ " UNION ALL" // SORDALLOC
+ " SELECT A.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, SUM(A.QUANTITY__STDUOM) AS ISS_QTY,"
+ " A.SALE_ORDER||'@'||A.LINE_NO as TRAN_ID, 'S-ORD' as TRAN_SER, A.EXP_LEV"
+ " FROM SORDALLOC A"
+ " WHERE A.SITE_CODE = ?"
+ " AND A.ITEM_CODE = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " AND NOT EXISTS"
+ " (SELECT H.SORD_NO"
+ " FROM DESPATCH H, DESPATCHDET I"
+ " WHERE I.DESP_ID = H.DESP_ID"
+ " AND H.SORD_NO = A.SALE_ORDER"
+ " And I.Line_No__Sord = A.Line_No"
+ " And H.Site_Code = ?"
+ " AND A.ITEM_CODE = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " AND NVL(H.CONFIRMED,'N') = 'N'"
+ " AND A.EXP_LEV = I.EXP_LEV"
+ " AND A.ITEM_CODE = I.ITEM_CODE"
+ " AND A.LOC_CODE = I.LOC_CODE"
+ " AND A.LOT_NO = I.LOT_NO"
+ " AND A.LOT_SL = I.LOT_SL)"
+ " GROUP BY A.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.Lot_Sl, A.SALE_ORDER||'@'||A.LINE_NO, A.EXP_LEV"
+ " UNION ALL" // DISTORD_ISS
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY,"
+ " D.TRAN_ID||'@'||A.LINE_NO TRAN_ID, 'D-ISS' as TRAN_SER, '' as EXP_LEV"
+ " FROM DISTORD_ISSDET A, DISTORD_ISS D"
+ " WHERE D.TRAN_ID = A.TRAN_ID"
+ " AND D.CONFIRMED = 'N'"
+ " And D.Site_Code = ?"
+ " And A.Item_Code = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " UNION ALL" // ADJ_ISSRCP
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY,"
+ " D.TRAN_ID||'@'||A.LINE_NO TRAN_ID, 'ADJISS' as TRAN_SER, '' as EXP_LEV"
+ " FROM ADJ_ISSRCPDET A, ADJ_ISSRCP D"
+ " WHERE D.TRAN_ID = A.TRAN_ID"
+ " AND D.Site_Code = ?"
+ " And A.Item_Code = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " AND D.CONFIRMED = 'N'"
+ " AND D.REF_SER = 'ADJISS'"
+ " UNION ALL" // WORDER_ISS_RND
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, (A.QUANTITY+NVL(A.POTENCY_ADJ,0)) AS ISS_QTY,"
+ " D.TRAN_ID||'@'||A.LINE_NO TRAN_ID, 'W-ISS' as TRAN_SER, '' as EXP_LEV"
+ " FROM WORDER_ISSDET_RND A, WORDER_ISS_RND D"
+ " WHERE A.TRAN_ID = D.TRAN_ID"
+ " AND D.CONFIRMED <> 'Y'"
+ " AND A.QUANTITY > 0"
+ " AND D.Site_Code = ?"
+ " AND A.ITEM_CODE = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " UNION ALL" //RECEIPT_BACKFLUSH
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QUANTITY AS ISS_QTY,"
+ " D.TRAN_ID||'@'||A.LINE_NO TRAN_ID, 'R-BFS' as TRAN_SER, '' as EXP_LEV"
+ " FROM RECEIPT_BACKFLUSH_DET A, RECEIPT_BACKFLUSH D"
+ " WHERE D.TRAN_ID = A.TRAN_ID"
+ " AND D.Site_Code = ?"
+ " And A.Item_Code = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " AND D.CONFIRMED = 'N'"
+ " UNION ALL" // STOCK_TRANSFER
+ " SELECT D.SITE_CODE, A.ITEM_CODE, A.LOT_NO__FR AS LOT_NO, A.LOC_CODE__FR AS LOC_CODE, A.LOT_SL__FR AS LOT_SL, A.QUANTITY AS ISS_QTY,"
+ " D.TRAN_ID||'@'||A.LINE_NO TRAN_ID, 'XFRX' as TRAN_SER, '' as EXP_LEV"
+ " FROM STOCK_TRANSFER_DET A, STOCK_TRANSFER D"
+ " WHERE D.TRAN_ID = A.TRAN_ID"
+ " AND D.Site_Code = ?"
+ " AND A.ITEM_CODE = ?"
+ " AND A.LOC_CODE__FR = ?"
+ " AND A.LOT_NO__FR = ?"
+ " AND A.LOT_SL__FR = ?"
+ " AND D.CONFIRMED = 'N'"
+ " UNION ALL" // QC_SAMPLE
+ " SELECT D.SITE_CODE, D.ITEM_CODE, A.LOT_NO, A.LOC_CODE, A.LOT_SL, A.QTY_SAMPLE AS ISS_QTY,"
+ " D.TRAN_ID||'@'||A.LINE_NO TRAN_ID, 'S-ISS' as TRAN_SER, '' as EXP_LEV"
+ " FROM QC_SAMPLE_STK A, QC_SAMPLE D"
+ " WHERE D.TRAN_ID = A.TRAN_ID"
+ " And D.Site_Code = ?"
+ " And d.Item_Code = ?"
+ " AND A.LOC_CODE = ?"
+ " AND A.LOT_NO = ?"
+ " AND A.LOT_SL = ?"
+ " And D.Confirmed = 'N'"
+ " UNION ALL" // PORCP
+ " SELECT A.SITE_CODE, B.ITEM_CODE, B.LOT_NO, B.LOC_CODE, B.LOT_SL, B.QUANTITY AS ISS_QTY,"
+ " A.TRAN_ID||'@'||B.LINE_NO TRAN_ID,'P-RET' as TRAN_SER, '' as EXP_LEV"
+ " FROM PORCP A,PORCPDET B"
+ " Where A.TRAN_ID = B.TRAN_ID"
+ " AND A.SITE_CODE = ?"
+ " And B.Item_Code = ?"
+ " AND B.LOC_CODE = ?"
+ " AND B.LOT_NO = ?"
+ " AND B.LOT_SL = ?"
+ " AND A.CONFIRMED = 'N'"
+ " AND A.TRAN_SER ='P-RET'"
+ " )F"
+ " ORDER BY F.SITE_CODE, F.ITEM_CODE, F.LOT_NO, F.LOC_CODE, F.Lot_Sl";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode); //INV_PACK_ISS
pstmt.setString(2, itemCode);
pstmt.setString(3, locCode);
pstmt.setString(4, lotNo);
pstmt.setString(5, lotSl);
pstmt.setString(6, siteCode); //WORKORDER_ISS
pstmt.setString(7, itemCode);
pstmt.setString(8, locCode);
pstmt.setString(9, lotNo);
pstmt.setString(10, lotSl);
pstmt.setString(11, siteCode); //INV_ALLOCATE
pstmt.setString(12, itemCode);
pstmt.setString(13, locCode);
pstmt.setString(14, lotNo);
pstmt.setString(15, lotSl);
pstmt.setString(16, siteCode);
pstmt.setString(17, siteCode); //CONSUME_ISS
pstmt.setString(18, itemCode);
pstmt.setString(19, locCode);
pstmt.setString(20, lotNo);
pstmt.setString(21, lotSl);
pstmt.setString(22, siteCode); //DESPATCH
pstmt.setString(23, itemCode);
pstmt.setString(24, locCode);
pstmt.setString(25, lotNo);
pstmt.setString(26, lotSl);
pstmt.setString(27, siteCode); //SORDALLOC
pstmt.setString(28, itemCode);
pstmt.setString(29, locCode);
pstmt.setString(30, lotNo);
pstmt.setString(31, lotSl);
pstmt.setString(32, siteCode);
pstmt.setString(33, itemCode);
pstmt.setString(34, locCode);
pstmt.setString(35, lotNo);
pstmt.setString(36, lotSl);
pstmt.setString(37, siteCode); //DISTORD_ISS
pstmt.setString(38, itemCode);
pstmt.setString(39, locCode);
pstmt.setString(40, lotNo);
pstmt.setString(41, lotSl);
pstmt.setString(42, siteCode); //ADJ_ISSRCP
pstmt.setString(43, itemCode);
pstmt.setString(44, locCode);
pstmt.setString(45, lotNo);
pstmt.setString(46, lotSl);
pstmt.setString(47, siteCode); //WORDER_ISS_RND
pstmt.setString(48, itemCode);
pstmt.setString(49, locCode);
pstmt.setString(50, lotNo);
pstmt.setString(51, lotSl);
pstmt.setString(52, siteCode); //RECEIPT_BACKFLUSH
pstmt.setString(53, itemCode);
pstmt.setString(54, locCode);
pstmt.setString(55, lotNo);
pstmt.setString(56, lotSl);
pstmt.setString(57, siteCode); //STOCK_TRANSFER
pstmt.setString(58, itemCode);
pstmt.setString(59, locCode);
pstmt.setString(60, lotNo);
pstmt.setString(61, lotSl);
pstmt.setString(62, siteCode); //QC_SAMPLE
pstmt.setString(63, itemCode);
pstmt.setString(64, locCode);
pstmt.setString(65, lotNo);
pstmt.setString(66, lotSl);
pstmt.setString(67, siteCode); //PORCP
pstmt.setString(68, itemCode);
pstmt.setString(69, locCode);
pstmt.setString(70, lotNo);
pstmt.setString(71, lotSl);
System.out.println("GetPendingStock @> Sql::[" + sql + "]");
rs = pstmt.executeQuery();
while (rs.next()) {
row++;
xmlString.append("<Detail3 dbID='' domID='" + row+ "' selected='" + "N" + "'>\r\n");
xmlString.append("<attribute pkNames='' status='" + "N" + "' updateFlag='" + "A" + "' selected='" + "N" + "' />\r\n");
xmlString.append("<site_code><![CDATA[").append(rs.getString("SITE_CODE")).append("]]></site_code>");
xmlString.append("<item_code><![CDATA[").append(rs.getString("ITEM_CODE")).append("]]></item_code>");
xmlString.append("<lot_no><![CDATA[").append(checkNull(rs.getString("LOT_NO"))).append("]]></lot_no>");
xmlString.append("<loc_code><![CDATA[").append(checkNull(rs.getString("LOC_CODE"))).append("]]></loc_code>");
xmlString.append("<lot_sl><![CDATA[").append(checkNull(rs.getString("LOT_SL"))).append("]]></lot_sl>");
xmlString.append("<iss_qty><![CDATA[").append(rs.getDouble("ISS_QTY")).append("]]></iss_qty>");
xmlString.append("<tran_id><![CDATA[").append(rs.getString("TRAN_ID")).append("]]></tran_id>");
xmlString.append("<tran_ser><![CDATA[").append(checkNull(rs.getString("TRAN_SER"))).append("]]></tran_ser>");
xmlString.append("<exp_lev><![CDATA[").append(checkNull(rs.getString("EXP_LEV"))).append("]]></exp_lev>");
xmlString.append("</Detail3>\r\n");
}
pstmt.close();
rs.close();
pstmt = null;
rs = null;
xmlString.append("</Header0>\r\n");
xmlString.append("</group0>\r\n");
xmlString.append("</DocumentRoot>\r\n");
System.out.println("Pavan R 2018 Pending...[" + xmlString + "]End");
String xslFileName = getXSLFileName("stock_alloc_verify_AllocDet"+ formNo + "_wiz_" + this.user_lang + "_"+ this.user_country + "_" + "A" + ".xsl");
retHtmlData = (genericUtility).transformToString(xslFileName,xmlString.toString(), CommonConstants.APPLICATION_CONTEXT+ File.separator + "temp", "Output", ".html");
System.out.println("retHtmlData["+retHtmlData+"]");
}
catch (SQLException s) {
System.out.println("StockAllocVerifyWizBean: getAllocDetail::" + s.getMessage());
s.printStackTrace();
throw new ITMException(s);
} catch (Exception e) {
e.printStackTrace();
e.printStackTrace();
throw new ITMException(e);
}
return retHtmlData;
}
public static String checkNull(String input)
{
if (input == null || "null".equalsIgnoreCase(input) || "undefined".equalsIgnoreCase(input))
{
input= "";
}
return input.trim();
}
private String getXSLFileName(String xslFileName) throws ITMException {
String retFileName = null;
try {
String defaultPath = null;
if (CommonConstants.APPLICATION_CONTEXT != null) {
defaultPath = CommonConstants.APPLICATION_CONTEXT+ CommonConstants.ITM_CONTEXT + File.separator;
} else {
defaultPath = ".." + File.separator + "webapps" + File.separator + "ibase" + File.separator + CommonConstants.ITM_CONTEXT + File.separator;
}
File xslPath = new File(defaultPath + File.separator + "xsl"+ File.separator + CommonConstants.THEME + File.separator+ "WIZARD" + File.separator + "Galaxy");
if (!xslPath.exists()) {
xslPath.mkdir();
}
System.out.println(" xslPath [" + xslPath + "] xslFileName ["+ xslFileName + "]");
File xslFile = new File(xslPath, xslFileName);
if (xslFile.exists()) {
retFileName = xslFile.getAbsolutePath();
} else {
throw new ITMException(new Exception(retFileName+ " Wizard XSL file Not Found"));
}
} catch (Exception e) {
e.printStackTrace();
throw new ITMException(e);
}
return retFileName;
}
}
\ No newline at end of file
package ibase.webitm.ejb.dis;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.util.HashMap;
import javax.ejb.Local;
import org.w3c.dom.Document;
@Local
public interface StockAllocVerifyWizLocal extends ValidatorLocal {
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext,String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData(Document currFormDataDom, Document hdrDataDom, Document allFormDataDom, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String handleRequest(HashMap<String, String> reqParamMap);
}
package ibase.webitm.ejb.dis;
import java.rmi.RemoteException;
import java.util.HashMap;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
@Remote
public interface StockAllocVerifyWizRemote extends ValidatorRemote {
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext,String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData(Document currFormDataDom, Document hdrDataDom, Document allFormDataDom, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String handleRequest(HashMap<String, String> reqParamMap);
}
[Dolphin]
Timestamp=2018,7,12,14,44,41
Version=3
ViewMode=1
[Dolphin]
Timestamp=2018,7,12,14,44,38
Version=3
ViewMode=1
.header_class
{border:inset 0;font-family: 'MuseoLight-300', sans-serif; color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.input_editablecenter
{border:solid 0; font-family: 'MuseoLight-300', sans-serif; border-color: lightgrey;color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.tableClass_rep
{margin-left:0px}
.td_leftAlign{
background-color: #FFF;
font-family: "MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:left;
}
.input_editable
{border:solid 1px;font-family: 'MuseoLight-300', sans-serif; border-color: #ccc;color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.td_rightAlign{
background-color: #FFF;
font-family: "MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:right;
}
.editDisplayheder
{readOnly:true; TEXT-ALIGN:left; color:#000; padding:5px 5px 10px 5px; font-size:16px; }
.editDisplayColumnClass
{readOnly:true; margin-left:2px; BACKGROUND:#fff; TEXT-ALIGN:LEFT; margin-bottom:10px; border-top: #6cf 2px solid; border-bottom:solid 1px #ebebeb; border-right:solid 1px #ebebeb; border-left:solid 1px #ebebeb;}
.editDisplayColumnClass td
{ padding:5px; border-bottom: none; font-size:14px;}
.savebutton{
border: 1px solid #E7E7E7;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
color: #333;
height: 22px;
font-family: 'MuseoLight-300', sans-serif;
font-size: 12px;
background-color: #e7e7e7;
cursor: pointer;
margin-left:10px;
}
.savebutton:hover
{
border: 1px solid #E7E7E7 !important;
background-color: #e7e7e7 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
text-shadow: none;
}
.savebutton:active
{
text-shadow: none;
background-color: #d6d6d6 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
border: 1px solid #E7E7E7 !important;
}
.divclass
{
border : solid 1px lightgray;
line-height : 23px;
width:99.5%
}
.savebutton.disabled {
background: #EBEBEB !important;
color:gray !IMPORTANT;
pointer-events:none !IMPORTANT;
}
.savebutton.enabled {
color:#333 !IMPORTANT;
pointer-events:auto !IMPORTANT;
}
.addNewDetailBtn
{
width: 35px;
height: 35px;
border-radius: 50%;
background: #56615D;
position: absolute;
cursor: pointer;
box-shadow: 0px 2px 5px #666;
z-index: 1;
float:right;
right:18px;
}
.plus {
color: #FFF;
position: absolute;
top: 0px;
display: block;
bottom: 0px;
left: 0px;
right: 0px;
text-align: center;
padding: 0px;
margin: 0px;
line-height: 35px;
font-size: 20px;
font-family: "Roboto";
font-weight: bold;
cursor:hand;
}
.closeDetailBtn
{
width: 25px;
height: 25px;
border-radius: 50%;
background: #56615D;
position: absolute;
cursor: pointer;
box-shadow: 0px 2px 5px #666;
float:right;
right:12px;
top: 20px;
}
.close {
color: #FFF;
position: absolute;
top: 0px;
display: block;
bottom: 0px;
left: 0px;
right: 0px;
text-align: center;
padding: 0px;
margin: 0px;
line-height: 24px;
font-size: 15px;
font-family: "Roboto";
font-weight: bold;
cursor:hand;
}
.deleteDetailBtn
{
background-color: #EF4130;
width: 22px;
height: 22px;
border-radius: 50%;
position: absolute;
cursor: pointer;
box-shadow: 0px 2px 5px #666;
float:right;
right: 1px;
}
.remove
{
color: #FFF;
position: relative;
margin-top: 3px;
display: block;
text-align: center;
line-height: 35px;
font-size: 24px;
height: 22px;
width: 22px;
font-family: "Roboto";
font-weight: 300;
cursor: pointer;
}
.removeImg
{
height:15;
width:13;
}
.tHeader
{
border-bottom : 1px solid #ddd !important;
}
.trClass td
{
border-top-width : 0px !important;
}
.editDisplayClass
{
color : #666666;
}
.input_editable
{
cursor: pointer;
}
.editTdClass
{
background-color: #f3f3f3 !important;
/* cursor : url('/ibase/webitm/images/editCursor.png') -32 32, auto;;*/
}
.editInputCur
{
background-color: #f3f3f3 !important;
/*cursor : url('/ibase/webitm/images/editCursor.png') -32 32, auto;; */
}
.hideQuantity
{
display : none;
}
.tabButton
{
border: 1px solid #E7E7E7;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
color: #333;
height: 22px;
font-family: 'MuseoLight-300', sans-serif;
font-size: 12px;
background-color: #e7e7e7;
cursor: pointer;
position: absolute;
left: 500px;
}
.popUpContainerForTax {
position: absolute;
top: 20%;
left: 50%; /*48*/
margin-top: -50px;/*-200px;*/
margin-left: -46%;
width: 90%; /* 96*/
/* height: 230px;*/
height: 400px;
display: none;
/* overflow: auto;*/
z-index: 1004;
background-color: white;
border: 2px solid lightgrey;
padding-top: 15px;
}
.taxTableBodyContainer1
{
position: relative;
height: 200px; /* 200px */
overflow: auto;
}
.taxTableBodyContainer2
{
position: relative;
height: 200px; /* 200px */
overflow: auto;
}
.bgGlass {
z-index: 1003 !important;
background-color: lightblue;
opacity: 0.4;
filter: blur(20px);
position: absolute;
left: -6px;
top: -8px;
visibility: visible;
width: 100%;
height: 100%;
}
.closeDiv {
top: -7px;
line-height: 14px;
width: 14px;
left: -10px;
padding-top: 1px;
font-size: 10px;
text-transform: uppercase;
font-family: Arial, Helvetica, sans-serif;
color: rgb(255, 255, 255);
position: absolute;
text-align: center;
font-weight: bold;
box-shadow: rgb(0, 0, 0) 1px 1px 3px;
cursor: pointer;
z-index: 1002;
border-width: 2px;
border-style: solid;
border-color: white;
border-image: initial;
background: rgb(96, 96, 97);
text-decoration: none;
border-radius: 12px;
}
.taxCalBtn {
width: 40px;
height: 40px;
position: absolute;
bottom: 30px;
cursor: pointer;
box-shadow: rgb(102, 102, 102) 0px 2px 5px;
z-index: 1;
float: right;
right: 78px;
top: -20px;
border-radius: 50%;
background: rgb(86, 97, 93);
}
.calcTax, .check {
color: rgb(255, 255, 255);
position: relative;
margin-top: 11px;
display: block;
text-align: center;
line-height: 35px;
font-size: 24px;
height: 40px;
width: 40px;
font-family: Roboto;
font-weight: 300;
}
.taxApplyButton {
width: 40px;
height: 40px;
position: absolute;
bottom: 30px;
cursor: pointer;
box-shadow: rgb(102, 102, 102) 0px 2px 5px;
z-index: 1;
float: right;
right: 28px;
top: -20px;
border-radius: 50%;
background: rgb(86, 97, 93);
}
.checkTax {
color: rgb(255, 255, 255);
position: relative;
margin-top: 11px;
display: block;
text-align: center;
line-height: 35px;
font-size: 24px;
height: 40px;
width: 40px;
font-family: Roboto;
font-weight: 300;
}
.e12CustomTaxPanel {
width: 99%;
height: 42px;
padding-top: 1px;
overflow: visible !important;
}
.headerInputTaxField {
width: 100%;
border-bottom: 1px solid #dbdbdb;
border-top: none;
border-left: none;
border-right: none;
line-height: 0;
font-size: small;
box-sizing: border-box;
padding: 14px 5px 0 0;
position: relative;
background-color: white;
margin: 0 5px;
font-weight: normal;
border-radius: 0;
margin-bottom: 1px;
font-weight: lighter;
font-size: small;
width: 101%;
outline: none;
box-shadow: none;
}
.taxEditHdrField {
width: 100%;
/* float: left; */
}
.horTaxWizardPnl {
padding: 20px;
/* float: right; */
width: 100%;
/* height: 36px; */
}
.noTaxHeadingCss {
/* padding: 0 10px 0 0; */
padding: 2px 10px 0 0 !important;
}
.taxFormInputs {
padding-top: 10px;
}
.calImgClass
{
width:9px;
-webkit-filter: invert(0);
/* filter: invert(1); */
position: relative;
margin: 2;
margin-top: -15;
display: inherit;
/* margin-right: 114px; */
cursor: pointer;
}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
background-color: white !important;
}
.taxAmountClass {
text-decoration: underline;
cursor: pointer;
}
.TdHighlightClass
{
/*background-color: #fcffd8 !important; */
background-color: #e3fef1 !important;
/* cursor : url('/ibase/webitm/images/editCursor.png') -32 32, auto;;*/
}
.editHighlightedInput
{
/*background-color: #fcffd8 !important;*/
background-color: #e3fef1 !important;
/*cursor : url('/ibase/webitm/images/editCursor.png') -32 32, auto;; */
}
.SchemeTable-div{
/* position: absolute;
top: 50%;
left: 50%;
margin-top: -150px;
margin-left: -46%;
width: 90%;
display: none;*/
overflow: auto;
height: 278px;
/* z-index: 1004;
background-color: white;
border: 2px solid lightgrey;
padding-top: 15px;*/
}
.trClass td
{
padding: 0 4px !important;
}
/* Pavan start*/
.titleDet {
color: #555;
/*border: 1px solid rgb(226, 226, 226);*/
background-color: #FFFFFF;
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
font-size: 13px;
line-height: 10px;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
text-rendering: optimizeLegibility;
}
.tableClassDet {
width: 120%;
line-height: 29px;
text-align: left;
border-collapse: separate;
border-spacing: 0;
border-radius: 2px;
background-color: white;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.buttons {
color: #000 !important;
background-color: #e7e7e7; /* Green */
border: none;
color: white;
padding: 5px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
margin: 2px 1px;
cursor: pointer;
float: right;
width: 80px;
}
.buttons5 {border-radius: 20%;}
.sticky {
position: fixed;
top: 0;
width: 100%;
}
\ No newline at end of file
[Dolphin]
Timestamp=2018,7,12,14,44,45
Version=3
ViewMode=1
var userTheme='galaxy-theme';
var popHelpId = '',curFieldVal='';
var isServerBusy = false;
var httpRequestNew;
var httpRequest;
var xmlHTTPResponse;
var global_date_type = "date";
var global_date_format = "dd/MM/yyyy";
var preErrData = "";
var sorttable = "";
var divArray = new Array();
var lastSerachSuggestionMap = {};
var prevRemoveEnable = "";
var servletUrl = "/ibase/StockAllocVerifyWizServlet?";
var preFieldVal = "";
var thumbImgColNames = ["image_path","add_click_event","thumb_ref_id","thumb_ref_ser","thumb_ref_id_descr"];
if (window.ActiveXObject) /*code for IE6, IE5*/
{
httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) /*code for IE7+, Firefox, Chrome, Opera, Safari*/
{
httpRequest = new XMLHttpRequest();
}
function getListOfValues(fieldName,fieldId,siteCode,popUpParam)
{
var url = "", keyStringVal = "NULL", urlParamString = "",chkgrp="";
popHelpId = fieldId;
if(document.getElementById(popHelpId).value.trim() != "" || document.getElementById(popHelpId).value != null)
{
curFieldVal = document.getElementById(popHelpId).value;
}
if(fieldId.trim()=="Detail1.1.grp_code")
{
chkgrp=document.getElementById("Detail1.1.product_code").value;
if(chkgrp==null || chkgrp.trim().length<=0 )
{
alert("Please enter product code");
}
}
if(popUpParam != undefined && popUpParam.trim().length>0 )
{
keyStringVal = "0."+popUpParam;
urlParamString = "&"+ popUpParam +"="+document.getElementById("Detail1.1."+popUpParam).value;
}
var addObjName = "stock_alloc_verify_wiz";
url = "/ibase/webitm/jsp/PopUp.jsp?FIELDNAME="+escape(fieldName)+"&KEYSTRING="+keyStringVal+"&OBJ_NAME="+addObjName+urlParamString;
var fullwidth = eval(screen.width)/2-130;
var iFrame = '<iframe id="popHelpIframe" name ="popHelpIframe" src="'+url+'" style = "width:'+fullwidth+'; height: 100%; border: 0px; bottom:0%;"></iframe>';
var popHlpCntnr = document.getElementById( "popHelpContainer" );
popHlpCntnr.innerHTML = iFrame;
popHlpCntnr.setAttribute( "style", "position: absolute; z-index: 1004; visibility:visible;width:"+fullwidth+";height: 98%; float: right; right: 0%; bottom:1%");
var overlay = document.getElementById( "overlay" );
overlay.setAttribute( "style", "position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color:#000; opacity: .45; z-index:1003; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;");
if(prevRemoveEnable!= "")
{
prevRemoveEnable.style.visibility = "hidden";
}
}
function assignValue(value)
{
document.getElementById(popHelpId).value = value;
document.getElementById(popHelpId).focus();
document.getElementById(popHelpId).blur();
}
function closeMe()
{
document.getElementById("popHelpContainer").style.display='none';
document.getElementById("popHelpContainer").innerHTML = '';
var overlay = document.getElementById( "overlay" );
overlay.removeAttribute('style');
}
function getAutoPopupData(curObj)
{
if(curObj != undefined)
{
if(curObj.value.length == 4 )
{
var curFieldName = curObj.attributes.popupFldName.value;
var addObjName = "&OBJ_NAME=stock_alloc_verify_wiz";
var urlParamString = "";
var searchListURL = "/ibase/PopupDataServlet?FIELDNAME="+escape(curFieldName)+"&KEYSTRING=NULL"+addObjName;
var searchKey = curFieldName+"~~SEP~~"+urlParamString;
if ( searchKey in lastSerachSuggestionMap )
{
console.log("From lastSerachSuggestionMap");
console.log("searchKey - ["+ searchKey +"], lastSerachSuggestionMap - ["+ lastSerachSuggestionMap[searchKey] +"]");
parseJsonData(lastSerachSuggestionMap[searchKey]);
showAutoSerach(curObj);
}
else
{
console.log("From server");
$.ajax({
async : false,
url : searchListURL,
dataType : 'xml',
type : 'POST',
success : function(result) {
lastSerachSuggestionMap[searchKey] = result;
parseJsonData( result );
showAutoSerach( curObj);
console.log("searchKey in else - ["+ searchKey +"], lastSerachSuggestionMap - ["+ lastSerachSuggestionMap[searchKey] +"]");
},
error : function(result) {
}
});
}
}
}
}
function parseJsonData(result)
{
searchList = [];
var default_col = 0;
if ( result.getElementsByTagName('DEFAULT_COL')[0].childNodes != undefined )
{
default_col = (result.getElementsByTagName('DEFAULT_COL')[0].childNodes[0].nodeValue) - 1;
}
//Added by Santosh on 12-01-2018 to add default thumb image column in default_col
default_col = parseInt(default_col) + 5;
var detail = result.getElementsByTagName('DETAIL');
if (detail != undefined)
{
for ( var i = 0; i < detail.length; i++)
{
var nodes = detail[i].childNodes;
var id = "", value = "";
var searchData = {};
var detailData = "";
if (nodes != undefined)
{
for ( var j = 0; j < nodes.length; j++ )
{
id = nodes[default_col].childNodes[0].nodeValue;
if ( nodes[j].childNodes[0].nodeValue != "" )
{
value = value + nodes[j].childNodes[0].nodeValue + " | ";
}
if ( nodes[j].childNodes[0].nodeValue != "" )
{
detailData = nodes[j].childNodes[0].nodeValue;
}
else
{
detailData = "-";
}
if("image_path" == nodes[j].nodeName)
{
searchData['imgPth'] = value.trim();
}
if(thumbImgColNames.includes(nodes[j].nodeName.trim()))
{
continue;
}
searchData['id'] = id.trim();
searchData['label'] = value.trim();
searchData['value'] = id.trim();
searchData[nodes[j].nodeName] = detailData;
}
searchList.push(searchData);
}
}
}
}
function showAutoSerach(element)
{
try
{
$.widget('custom.mcautocomplete', $.ui.autocomplete, {
_create: function() {
this._super();
this.widget().menu( "option", "items", "> :not(.ui-widget-header)" );
},
_renderMenu: function(ul, items) {
var self = this, thead;
if (this.options.showHeader) {
table=$('<div class="ui-widget-header" style="width:100%"></div>');
$.each(this.options.columns, function(index, item) {
table.append('<span style="padding:0 4px;float:left;width:' + item.width + ';">' + item.name + '</span>');
});
table.append('<div style="clear: both;"></div>');
ul.append(table);
}
$.each(items, function(index, item) {
self._renderItem(ul, item);
self._renderItem1(ul, item);
});
},
_renderItem: function(ul, item) {
var data = '',
result = '';
var iconData = '';
for ( var i in item)
{
if( i == 'imgPth')
{
if(item[i].trim() != '')
{
iconData += '<span><img class="feedImgPnl" src='+item[i].trim()+'></img></span>';
}
}
if (item[i] != undefined && i != 'value' && i != 'label' && i != 'id' && i != 'imgPth')
{
if(divArray[i] != null && divArray[i]!= undefined && divArray[i] < item[i].length)
{
divArray[i] = item[i].length;
}
else
{
if(divArray[i] == null)
{
divArray[i] = item[i].length;
}
}
var divLen = 0;
divLen = divArray[i];
divLen = divLen * 10;
data += '<span class="myClass'+i+'">' + item[i] + '</span>';
$('.myClass'+i).css('padding', '0 4px');
$('.myClass'+i).css('float', 'left');
$('.myClass'+i).css('width', divLen+"px");
$('.myClass'+i).css('position', 'relative');
$('.myClass'+i).css('display', 'inline-block');
}
}
result = $('<li></li>')
.data('ui-autocomplete-item', item)
.append('<a class="mcacAnchor" style="width:700px;"><div style="float:left;padding-right:4px;">'+iconData+'</div><div style="width:700px;height:32px;line-height:32px">' + data + '<div style="clear: both;"></div></div></a>')
.appendTo(ul);
return result;
},
_renderItem1: function(ul, item) {
var data = '',
result = '';
for ( var i in item)
{
if (item[i] != undefined && i != 'value' && i != 'label' && i != 'id')
{
if(divArray[i] != null && divArray[i]!= undefined && divArray[i] < item[i].length)
{
divArray[i] = item[i].length;
}
else
{
if(divArray[i] == null)
{
divArray[i] = item[i].length;
}
}
var divLen = 0;
divLen = divArray[i];
divLen = divLen * 10;
data += '<span class="myClass'+i+'">' + item[i] + '</span>';
$('.myClass'+i).css('padding', '0 4px');
$('.myClass'+i).css('float', 'left');
$('.myClass'+i).css('width', divLen+"px");
$('.myClass'+i).css('position', 'relative');
$('.myClass'+i).css('display', 'inline-block');
}
}
}
});
$( element )
.mcautocomplete({
autoFocus: true,
showHeader: false,
source : searchList,
minLength :3,
select : function(event, ui) {
document.getElementById(element.id).value = ui.item.id;
},
});
if(!$( element ).mcautocomplete( "widget" ).is( ":visible" ))
{
$( element ).mcautocomplete("search", "");
}
}
catch (e)
{
console.log("ERROR\n: " + e);
}
}
function validateSubmit()
{
var isDetailRowSelected = false;
var element = $( "input[type=checkbox]:checked" );
var DOMeles = element.get();
if(DOMeles.length > 0)
{
isDetailRowSelected = true;
}
if(!isDetailRowSelected)
{
alert("Please select atleast one row to process.")
return isDetailRowSelected;
}
else
{
var qty=document.getElementById("offer_free_qty").value;
var qtyOn=document.getElementById("offer_free_on").value;
var disc1=document.getElementById("disc_perc").value;
if( disc1 != null && disc1 != undefined && disc1.trim().length > 0)
{
for( var i=0; i<DOMeles.length; i++)
{
if(DOMeles[i].getAttribute("id").indexOf("parentCheckbox") == -1)
{
var textBoxId = DOMeles[i].getAttribute("textBoxID");
var percVal = document.getElementById("Detail2."+textBoxId+".disc_perc").value;
if(percVal > 100)
{
document.getElementById("offrOrQty"+textBoxId).style.display = "block";
alert("Discount percentage cannot be greater than 100.");
return false;
break;
}
}
}
}
document.getElementById("buttonreplacement").style.display = "block";
var overlay = document.getElementById( "overlay" );
overlay.setAttribute( "style", "position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color:#000; opacity: .45; z-index:1003; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;");
var htmlBody = document.getElementsByTagName("body")[0];
var htmlData = htmlBody.innerHTML;
var url = servletUrl+"action=SAVE_DETAIL_DATA&HTML_DATA="+encodeURIComponent(htmlData)+"";
makeRequest(url, dataSavedInSess);
return isDetailRowSelected;
}
}
//Pavan
function getAllocDetails(StkData)
{
//alert(StkData);
console.log("Pavan xsl data:"+StkData);
var formNo = 2;
var lineNo = 0;
var objName = 'stock_alloc_verify_wiz';
var editFlag = 'v';
var url = "/ibase/webitm/jsp/StkAllocDetailData.jsp?XMLDATASTRING="+encodeURI(StkData)
//+"&formNo="+formNo+"&domId="+lineNo+"&objName="+objName+"&editFlag="+editFlag;;
//var samplItem = [];
//var method = "post";
//var path="/ibase/webitm/jsp/StkAllocDetailData.jsp";
//samplItem["XMLDATASTRING"] = StkData;
//post_to_url(path, samplItem, method);
//$("#taxCalDivLastPg").load(url);
//var url = servletUrl+"action=POP_SCREEN_ACT&STK_DATA="+encodeURIComponent(StkData)+"";
//console.log("Pavan Url:"+url);
//var action = "SAVE_SORD_DETAIL";
//var url = "/ibase/SorderWizHandlerServlet?STR="+str+"&ACTION="+action;
//window.location.href = url;
//makeRequestNew( url, "POP_SCREEN_ACT");
// var url = (post_to_url(path, samplItem, method));
//console.log("url-new"+url);
document.getElementById("taxCalDiv").style.display="block";
document.getElementById("BgGlass").style.display="block";
// $("#taxCalDiv").load(post_to_url(path, samplItem, method));
$("#taxCalDiv").load(url);
}
function closePopUpContainer()
{
document.getElementById("BgGlass").style.display="none";
document.getElementById("taxCalDiv").style.display="none";
document.getElementById("taxCalDiv").innerHTML = "";
// alert("clear");
// isFormDirty = tempIsFormDirty;
// dirtyFormNo = tempDirtyFormNo;
}
function post_to_url(path, params, method) {
//alert("call post_to_url");
method = method || "post"; // Set method to post by default if not specified.
// The rest of this code assumes you are not using a library.
// It can be made less wordy if you use one.
var form = document.createElement("form");
form.setAttribute("method", method);
form.setAttribute("action", path);
//form.target = 'Items';
for(var key in params) {
if(params.hasOwnProperty(key)) {
var hiddenField = document.createElement("input");
hiddenField.setAttribute("type", "hidden");
hiddenField.setAttribute("name", key);
hiddenField.setAttribute("value", params[key]);
form.appendChild(hiddenField);
}
}
document.body.appendChild(form);
form.submit();
//alert("submit!!!");
}
//end
function dataSavedInSess(retVal)
{
console.log("Data saved in Session!");
}
function callItemChange(currentColumn, curObj)
{
var currXmlDataStr = '', hdrXmlDataStr = '', allXmlDataStr = '', objContext = '', editFlag = 'A';
var element = $( "[name^='Detail1.1.']" );
var DOMeles = element.get();
if(preFieldVal != curObj.value)
{
preFieldVal = curObj.value;
objContext = document.getElementById("FORM_NO").value;
currXmlDataStr = "<Detail1 domID='1' id='1' objContext='1'>";
currXmlDataStr = currXmlDataStr + "<OBJ_NAME><![CDATA[stock_alloc_verify_wiz]]></OBJ_NAME>";
currXmlDataStr = currXmlDataStr + "<PAGE_CONTEXT><![CDATA["+objContext+"]]></PAGE_CONTEXT>";
currXmlDataStr = currXmlDataStr + "<OBJ_CONTEXT><![CDATA["+objContext+"]]></OBJ_CONTEXT>";
currXmlDataStr = currXmlDataStr + "<EDIT_FLAG><![CDATA["+editFlag+"]]></EDIT_FLAG>";
currXmlDataStr = currXmlDataStr + "<EDIT_TMPLT><![CDATA[-1]]></EDIT_TMPLT>";
for (var i = 0; i < DOMeles.length; i++)
{
if ( DOMeles[i] != null )
{
var nodeValue = '', nodeId = '';
var nodeName = DOMeles[i].getAttribute('name');
nodeName = nodeName.substr(nodeName.lastIndexOf('.')+1);
nodeId = DOMeles[i].getAttribute('id');
nodeValue = document.getElementById(nodeId).value;
if(nodeValue.trim().length > 0 && nodeValue.trim() != '')
{
currXmlDataStr = currXmlDataStr + "<" + nodeName + ">" +
"<![CDATA[" + nodeValue + "]]>" +
"</" + nodeName + ">";
}
else
{
currXmlDataStr += "<"+ nodeName +"/>";
}
}
}
currXmlDataStr = currXmlDataStr + "</Detail1>";
hdrXmlDataStr = "<DocumentRoot>";
hdrXmlDataStr += "<description>Datawindow Root</description>";
hdrXmlDataStr += "<group0><description>Group0 description</description>";
hdrXmlDataStr += "<Header0><description>Header0 members</description>";
hdrXmlDataStr += currXmlDataStr;
hdrXmlDataStr += "</Header0></group0></DocumentRoot>";
allXmlDataStr = "<DocumentRoot>";
allXmlDataStr += "<description>Datawindow Root</description>";
allXmlDataStr += "<group0><description>Group0 description</description>";
allXmlDataStr += "<Header0><description>Header0 members</description>";
allXmlDataStr += "<DocumentRoot>";
allXmlDataStr += "<description>Datawindow Root</description>";
allXmlDataStr += "<group0><description>Group0 description</description>";
allXmlDataStr += "<Header0><description>Header0 members</description>";
allXmlDataStr += currXmlDataStr;
allXmlDataStr += "</Header0></group0></DocumentRoot>";
allXmlDataStr += "</Header0></group0></DocumentRoot>";
var url = servletUrl+"action=ITEM_CHANGE&CUR_XML_STR="+escape(currXmlDataStr)+"&HDR_XML_STR="+escape(hdrXmlDataStr)+"&ALL_XML_STR="+escape(allXmlDataStr)+"&CUR_COLUMN="+currentColumn+"&OBJ_CONTEXT="+objContext+"&EDIT_FLAG="+editFlag+"";
makeRequest( url, setItemChangeValues);
}
}
function makeRequest(url,setItemChangeValues)
{
var sURL = unescape(window.location);
if( ! isServerBusy )
{
isServerBusy = true;
httpRequest.open("POST", url, false);
httpRequest.onreadystatechange = function()
{
receiveResponse(setItemChangeValues);
};
httpRequest.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded; charset=UTF-8" );
httpRequest.send( null );
}
}
function receiveResponse(setItemChangeValues)
{
if (httpRequest.readyState == 4)
{
if(httpRequest.status == 200)
{
processResponse(setItemChangeValues);
}
else
{
alert("Error loading page\n"+ httpRequest.status +":"+ httpRequest.statusText);
}
}
}
function processResponse(setItemChangeValues)
{
var returnStr = null;
isProcessOn = false;
if ( window.ActiveXObject )
{
xmldoc = httpRequest.responseText;
xmlHTTPResponse = xmldoc;
}
else
{
try
{
var parser = new DOMParser();
xmldoc = httpRequest.responseText;
}
catch(e)
{
alert("inside catch:"+e.message);
}
}
setItemChangeValues(xmldoc);
isServerBusy = false;
}
function loadXMLString(txt)
{
if (window.DOMParser)
{
parser=new DOMParser();
xmlDoc=parser.parseFromString(txt,"text/xml");
}
else /* code for IE*/
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async=false;
xmlDoc.loadXML(txt);
}
return xmlDoc;
}
function setItemChangeValues(retVal)
{
var xmlDoc = loadXMLString(retVal);
var rootNodeList = xmlDoc.getElementsByTagName( "Root" );
if( rootNodeList.length == 1 )
{
var rootNode = rootNodeList.item(0);
var childNodeList = rootNode.childNodes;
var noOfTopLevelChilds = childNodeList.length;
for(var i = 0; i < noOfTopLevelChilds; i++)
{
if(childNodeList.item(i).nodeName == 'Detail1')
{
var detailNode = childNodeList.item(i);
var colNodeList = detailNode.childNodes;
var colCount = colNodeList.length;
var colProtect = "";
for(var fieldCtr = 0; fieldCtr < colCount; fieldCtr++)
{
var colNode = colNodeList.item(fieldCtr);
var nodeName = colNode.nodeName;
var newNodeValue = '';
if (colNode.firstChild != null || colNode.firstChild != undefined)
{
newNodeValue = colNode.firstChild.nodeValue;
if(nodeName == 'due_date__from' || nodeName == 'due_date__to')
{
document.getElementById(nodeName).value = newNodeValue;
}
else
{
document.getElementById("Detail1.1."+nodeName).value = newNodeValue;
}
}
if( colNode.attributes != null && colNode.attributes != undefined )
{
colProtect = colNode.attributes.getNamedItem("protect");
if (colProtect != null && colProtect != undefined)
{
if ( colProtect.value == 1)
{
if(document.getElementById("Detail1.1."+nodeName).tagName == 'SELECT')
{
document.getElementById("Detail1.1."+nodeName).disabled=true;
}
else
{
document.getElementById("Detail1.1."+nodeName).disabled=true;
document.getElementById("Detail1.1."+nodeName).value = "";
document.getElementById("Detail1.1."+nodeName).readOnly = true;
document.getElementById("Detail1.1."+nodeName).className = "editDisplayClass";
}
}
else
{
if(document.getElementById("Detail1.1."+nodeName).tagName == 'SELECT')
{
document.getElementById("Detail1.1."+nodeName).disabled=false;
document.getElementById("Detail1.1."+nodeName).style.visibility = "visible";
}
else
{
document.getElementById("Detail1.1."+nodeName).style.visibility = "visible";
document.getElementById("Detail1.1."+nodeName).disabled=false;
document.getElementById("Detail1.1."+nodeName).readOnly = false;
document.getElementById("Detail1.1."+nodeName).focus();
document.getElementById("Detail1.1."+nodeName).value = "";
document.getElementById("Detail1.1."+nodeName).className = "editInputClass";
}
}
}
}
}
}
}
}
}
function setDate(fieldId)
{
var dateFormat = "";
if (document.getElementById('date_format') != null)
{
global_date_format = document.getElementById("date_format").value;
}
if ( global_date_format == "dd/MM/yy" )
{
dateFormat = "d/m/y";
}
else if ( global_date_format == "dd-MMM-yyyy" )
{
dateFormat = "d/M/y";
}
else if ( global_date_format == "MM/dd/yy" )
{
dateFormat = "m/d/y";
}
else
{
dateFormat = "d/m/y";
}
$("#"+fieldId).datetimepicker({
timepicker:false,
//minDate : 0,
format: dateFormat
});
if(!$("#filter_date").datetimepicker( "widget" ).is(":visible"))
{
$( "#"+fieldId ).datetimepicker("show");
}
if(prevRemoveEnable!= "")
{
prevRemoveEnable.style.visibility = "hidden";
}
}
function formatDate()
{
var dateFormat = "";
if (document.getElementById('date_format') != null)
{
global_date_format = document.getElementById("date_format").value;
}
if ( global_date_format == "dd/MM/yy" )
{
dateFormat = "d/m/y";
}
else if ( global_date_format == "dd-MMM-yyyy" )
{
dateFormat = "d/M/y";
}
else if ( global_date_format == "MM/dd/yy" )
{
dateFormat = "m/d/y";
}
else
{
dateFormat = "d/m/y";
}
$('#eff_from').datetimepicker({
format: dateFormat,
timepicker:false,
});
$('#valid_upto').datetimepicker({
format: dateFormat,
timepicker:false,
});
}
function displayWaitImg()
{
document.getElementById("buttonreplacement").style.display = "block";
var overlay = document.getElementById( "overlay" );
overlay.setAttribute( "style", "position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color:#000; opacity: .45; z-index:1003; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;");
return true;
}
function form2Previous()
{
document.getElementById("errorActivityTable").style.display = "none";
document.getElementById("action").value="previous";
var element = $( "input[name^='Detail2.0.']" );
var DOMeles = element.get();
var xmlString = "<?xml version = \"1.0\"?><Root><header><editFlag></editFlag></header>" +
"<Detail1 domID='1' selected = 'N'>";
for (var i = 0; i < DOMeles.length; i++)
{
if ( DOMeles[i] != null )
{
xmlString = xmlString + "<" + DOMeles[i].getAttribute('id') + ">" +
"<![CDATA[" + DOMeles[i].getAttribute('value') + "]]>" +
"</" + DOMeles[i].getAttribute('id') + ">";
}
}
xmlString = xmlString + "</Detail1></Root>";
document.getElementById("PRE_FORM_VAL").value = xmlString;
document.getElementById("buttonreplacement").style.display = "block";
var overlay = document.getElementById( "overlay" );
overlay.setAttribute( "style", "position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color:#000; opacity: .45; z-index:1003; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;");
document.getElementById("stock_alloc_verify_wizform2").action = "/ibase/StockAllocVerifyWizServlet";
document.getElementById("stock_alloc_verify_wizform2").submit();
}
function doHideMsg(erroTable)
{
document.getElementById(erroTable).style.display = "none";
}
function displayPopUpIcon(popUpID)
{
if(prevRemoveEnable!= "")
{
prevRemoveEnable.style.visibility = "hidden";
}
prevRemoveEnable = document.getElementById(popUpID);
document.getElementById(popUpID).style.visibility = "visible";
}
function isNumberKey(evt)
{
var charCode = (evt.which) ? evt.which : evt.keyCode;
if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57))
return false;
return true;
}
function goToHomePage(objName)
{
var url = "E12WizardPage.jsp?OBJ_NAME="+objName;
window.location.href = url;
}
function setSelected(obj)
{
var selectVal = obj.value;
for (var i = 0; i < obj.length; i++)
{
if(selectVal == obj.options[i].getAttribute("value"))
{
obj.options[i].setAttribute('selected', 'selected');
}
else
{
obj.options[i].removeAttribute('selected');
}
}
}
function formatDetailWithErr()
{
preErrData = document.getElementById("innerDiv").innerHTML;
var url = servletUrl+"action=DISPLAY_DETAIL_DATA";
makeRequest(url,displayDataFromSession);
}
function displayDataFromSession(retHtmlData)
{
var htmlBody = document.getElementsByTagName("body")[0];
htmlBody.innerHTML = retHtmlData;
if(document.getElementById("innerDiv") != null)
{
document.getElementById("innerDiv").innerHTML = preErrData;
}
var overlay = document.getElementById( "overlay" );
overlay.removeAttribute('style');
document.getElementById("buttonreplacement").style.display = "none";
}
function setActionVal(action)
{
document.getElementById("action").value = action;
}
function validateHeaderForm(){
var qty=document.getElementById("Detail1.1.offer_free_qty").value;
var qtyOn=document.getElementById("Detail1.1.offer_free_on").value;
var prdCode=document.getElementById("Detail1.1.product_code").value;
var effFrom=document.getElementById("eff_from").value;
var validUpto=document.getElementById("valid_upto").value;
//var effFromDate= new Date(effFrom);
//var validUptoDate= new Date(validUpto);
var disc1=document.getElementById("Detail1.1.disc_perc").value;
var offerRBtn= document.getElementById("Detail1.1.offer").checked;
var discountRBtn=document.getElementById("Detail1.1.discount").checked;
if(prdCode == null || prdCode == "")
{
alert("Please enter Product Code.");
return false;
}
if(effFrom == null || effFrom == "")
{
alert("Please enter effective date.");
return false;
}
if(validUpto == null || validUpto == "")
{
alert("Please enter Valid Upto date.");
return false;
}
if(effFrom != null && validUpto != null )
{
var value1=effFrom.split('/');
var effFrom1=value1[1]+"/"+value1[0]+"/"+value1[2];
var value2=validUpto.split('/');
var validUpto1=value2[1]+"/"+value2[0]+"/"+value2[2];
var d1=new Date(effFrom1).getTime();
var d2=new Date(validUpto1).getTime();
if(d1>d2)
{
alert("Effective from cannot be greater than valid upto");
return false;
}
}
if( !offerRBtn && !discountRBtn)
{
alert("Please select Offer/Discount");
return false;
}
if(offerRBtn)
{
if(qty == null || qty == "" )
{
alert("Please enter Free Quantity");
return false;
}
if(qty <=0)
{
alert("Free Qty should be greater than zero");
return false;
}
if(qtyOn == null || qtyOn == "")
{
alert("Please enter Free On.");
return false;
}
if(qtyOn <=0)
{
alert("Free On should be greater than zero");
return false;
}
}
if(discountRBtn)
{
if(disc1 == null || disc1 == "")
{
alert("Please enter Discount percent.");
return false;
}
else if (parseInt(disc1) > 100)
{
alert("Discount percentage can not be greater than 100.");
return false;
}
}
return true;
}
function enableTextBox(fieldName)
{
if("offer" == fieldName)
{
document.getElementById("Detail1.1.offer_free_qty").removeAttribute("readonly");
document.getElementById("Detail1.1.offer_free_on").removeAttribute("readonly");
document.getElementById("Detail1.1.offer_free_qty").classList.remove("editDisplayClass");
document.getElementById("Detail1.1.offer_free_on").classList.remove("editDisplayClass");
document.getElementById("Detail1.1.offer_free_qty").focus();
document.getElementById("Detail1.1.offer_free_qty").classList.remove("input_editable");
document.getElementById("Detail1.1.offer_free_on").classList.remove("input_editable");
document.getElementById("Detail1.1.disc_perc").classList.add("editDisplayClass");
document.getElementById("Detail1.1.disc_perc").setAttribute("readonly","true");
document.getElementById("Detail1.1.disc_perc").value = "";
}
else if( "discount" == fieldName)
{
document.getElementById("Detail1.1.disc_perc").removeAttribute("readonly");
document.getElementById("Detail1.1.disc_perc").classList.remove("editDisplayClass");
document.getElementById("Detail1.1.disc_perc").classList.add("input_editable");
document.getElementById("Detail1.1.disc_perc").focus();
document.getElementById("Detail1.1.offer_free_qty").value = "";
document.getElementById("Detail1.1.offer_free_on").value = "";
document.getElementById("Detail1.1.offer_free_on").classList.add("editDisplayClass");
document.getElementById("Detail1.1.offer_free_qty").classList.add("editDisplayClass");
document.getElementById("Detail1.1.offer_free_qty").setAttribute("readonly","true");
document.getElementById("Detail1.1.offer_free_on").setAttribute("readonly","true");
}
}
function displayOfferDiv(domId)
{
document.getElementById("offrOrQty"+domId).style.display = "block";
}
function hideOfferDiv(domId)
{
var hideDiv = true;
var qty=document.getElementById("offer_free_qty").value;
var qtyOn=document.getElementById("offer_free_on").value;
var disc1=document.getElementById("disc_perc").value;
if( disc1 != null && disc1 != undefined && disc1.trim().length > 0)
{
var percVal = document.getElementById("Detail2."+domId+".disc_perc").value;
if(percVal > 100)
{
document.getElementById("offrOrQty"+domId).style.display = "block";
alert("Discount percentage cannot be greater than 100.");
hideDiv = false;
}
}
if(hideDiv)
{
document.getElementById("offrOrQty"+domId).style.display = "none";
}
}
function checkChildChkBox(curAccorObj, event)
{
var nextPanelDiv = curAccorObj.parentElement.nextElementSibling;
var inputElems = nextPanelDiv.getElementsByTagName("input");
if(curAccorObj.checked)
{
if(nextPanelDiv.classList.contains("show"))
{
event.stopPropagation();
}
for(var i=0; i < inputElems.length; i++)
{
if("checkbox" == inputElems[i].type)
{
inputElems[i].checked = true;
}
}
}
else
{
event.stopPropagation();
for(var i=0; i < inputElems.length; i++)
{
if("checkbox" == inputElems[i].type)
{
inputElems[i].checked = false;
}
}
}
}
function selectAllRows()
{
var selectAllElems = $("input[type='checkbox']");
if(document.getElementById("selectAllRow").value == "Select All")
{
document.getElementById("selectAllRow").value = "Deselect All";
for(var i=0; i<selectAllElems.length; i++)
{
if(!selectAllElems[i].checked)
{
selectAllElems[i].click();
}
}
}
else
{
document.getElementById("selectAllRow").value = "Select All";
for(var i=0; i<selectAllElems.length; i++)
{
if(selectAllElems[i].checked)
{
selectAllElems[i].click();
}
}
}
}
function changeParentChkBox( checkBoxName )
{
var chkBoxElemes = $( "input[childName='childChkBox"+checkBoxName+"']" );
var chkBoxCnt = 0;
for(var i=0; i < chkBoxElemes.length; i++)
{
if(chkBoxElemes[i].checked)
{
chkBoxCnt++;
}
}
if(chkBoxElemes.length == chkBoxCnt)
{
document.getElementById("parentCheckbox"+checkBoxName).checked = true;
}
else
{
document.getElementById("parentCheckbox"+checkBoxName).checked = false;
}
}
function setActionVal(action)
{
document.getElementById("action").value = action;
}
function checkType()
{
var qty=document.getElementById("Detail1.1.offer_free_qty").value;
var qtyOn=document.getElementById("Detail1.1.offer_free_on").value;
var disc1=document.getElementById("Detail1.1.disc_perc").value;
if( disc1 != null && disc1 != undefined && disc1.trim().length > 0)
{
document.getElementById("Detail1.1.discount").click();
}
else
{
document.getElementById("Detail1.1.offer").click();
}
}
function alingNumberTD()
{
var tableObj = document.getElementById("plistTable");
var rows = tableObj.rows;
for(var i=0; i<rows.length; i++)
{
var eachRowCells = rows[i].cells;
for(var j=1; j<eachRowCells.length;j++)
{
var eachCell = eachRowCells[j];
eachCell.align = "right";
}
}
}
function resetForm()
{
alert("in reset form");
document.getElementById("plistgenWizForm1").reset();
}
function callDelete()
{
var answer = confirm("Do you want to Reset?")
if (answer) {
var url = servletUrl+"action=DELETE";
makeRequest(url, dataDeleted);
window.location.href = "/ibase/webitm/jsp/E12WizardPage.jsp?OBJ_NAME=stock_alloc_verify_wiz&FORM_NO=1";
}
else {
}
}
function dataDeleted(retdata){
console.log(retdata);
}
function checkZero()
{
alert("hello");
}
function checkAll(ele) {
var checkboxes = document.getElementsByClassName('test1');
if (ele.checked) {
for (var i = 0; i < checkboxes.length; i++) {
if (checkboxes[i].type == 'checkbox') {
checkboxes[i].checked = true;
}
}
} else {
for (var i = 0; i < checkboxes.length; i++) {
console.log(i)
if (checkboxes[i].type == 'checkbox') {
checkboxes[i].checked = false;
}
}
}
}
/*function selectRowDD(curObj, rowID){
var rowDDElems = document.getElementsByClassName("selectDD"+rowID);
for(var i=0; i<rowDDElems.length; i++){
rowDDElems[i].value="Y";
}
}*/
function selectRowDD(curObj, rowID){
var rowDDElems = document.getElementsByClassName("selectDD"+rowID);
if (curObj.checked) {
for(var i=0; i<rowDDElems.length; i++){
rowDDElems[i].value="Y";
}
}
else {
for(var i=0; i<rowDDElems.length; i++){
rowDDElems[i].value="N";
}
}
}
[Dolphin]
Timestamp=2018,7,12,14,43,42
Version=3
ViewMode=1
<%@ page language="java" contentType="text/html; charset=ISO-8859-15" pageEncoding="UTF-8"%>
<%@page import = "java.lang.*,java.util.*, ibase.webitm.ejb.dis.StockAllocVerifyWizBean"%>
<%@ page import="ibase.webitm.servlet.ITMWizardHandlerServlet" %>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/Standard/default.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/theme/galaxy-theme.css">
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/SimpleTransactionEditor.css"/>
<SCRIPT language="JavaScript" type="text/javascript" src="/ibase/webitm/js/stockAllocVerifyWiz.js"></SCRIPT>
</head>
<style type="text/css">
.browDataDiv
{
overflow:auto;
}
body
{
overfolw:hidden;
}
</style>
<%
String htmlData1 ="";
String htmlData2 ="";
String xmlData = "";
String xmlDataNew = "";
String formNo = "";
String domID = "";
String objName = "";
String editFlag = "";
try
{
System.out.println("@@@@@@@@@ Inside StkAllocDetailData.jsp @@@@@@@@@@@@@@@@");
StockAllocVerifyWizBean beanObj = new StockAllocVerifyWizBean(objName);
xmlData = ( String ) request.getParameter("XMLDATASTRING");
System.out.println("XMLData:::"+xmlData);
ibase.utility.UserInfoBean userInfo = (ibase.utility.UserInfoBean)session.getAttribute("USER_INFO");
System.out.println("userInfo in jsp"+userInfo);
%>
<script language="javascript">
<%-- var xmlData = <%=xmlData%>; --%>
</script>
<%
//htmlData = beanObj.getAllocDetail(xmlData, formNo, domID, userInfo,objName,editFlag);
htmlData1 = beanObj.getAllocDetail(xmlData, userInfo);
htmlData2 = beanObj.getPendingDetail(xmlData, userInfo);
System.out.println("html Return by function::"+htmlData1);
}
catch(Exception e)
{
e.printStackTrace();
}
%>
<body>
<!--<div class="closeDiv" id="e12popUpPnl-close" onclick="closePopUpContainer();">x</div> -->
<div class="closeDiv" id="e12popUpPnl-close" onclick="closePopUpContainer();">x</div>
<div class="taxTableBodyContainer1" id="Updated_tax">
<%out.print(htmlData1);%>
</div>
<div class="taxTableBodyContainer2" id="Updated_tax">
<%out.print(htmlData2);%>
</div>
</body>
<%@ page import="java.io.*" %>
<%@ page import="java.util.HashMap" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.net.*" %>
<%@ page import="ibase.webitm.bean.wiz.*" %>
<%@ page import="ibase.utility.*" %>
<%@ page import="ibase.webitm.servlet.ITMWizardHandlerServlet" %>
<%@page import = "java.lang.*,java.util.*, ibase.webitm.ejb.dis.StockAllocVerifyWizBean"%>
<%
System.out.println("***********In StockAllocVerifyWiz JSP********************");
String htmlData = "";
try
{
ibase.utility.UserInfoBean userInfo = ( ibase.utility.UserInfoBean )session.getAttribute( "USER_INFO" );
if( userInfo == null )
{
out.println("Your session has been expired. Please re-login.");
}
String objName = request.getParameter("OBJ_NAME");
String PRE_FORM_VAL = ( request.getParameter( "PRE_FORM_VAL" ) != null ) ? request.getParameter( "PRE_FORM_VAL" ) : "";
String editorId = request.getParameter("EDITOR_ID");
String directAcc = ( request.getParameter( "DIRECT_ACC" ) != null ) ? request.getParameter( "DIRECT_ACC" ) : "Y";
System.out.println("objName : " + objName);
ITMWizardBean itmWizardBean;
String transDB = userInfo.getTransDB();
System.out.println("TransDB E12 name is : " + transDB);
if(transDB != null && !"null".equalsIgnoreCase(transDB.trim()) && transDB.trim().length() > 0)
{
itmWizardBean = new ITMWizardBean( objName, request.getSession(), userInfo );
}
else
{
itmWizardBean = new ITMWizardBean( objName, request.getSession() );
}
request.getSession().setAttribute( "WIZARD_BEAN_" + objName, itmWizardBean );
StockAllocVerifyWizBean beanObj = new StockAllocVerifyWizBean(objName);
htmlData = beanObj.previousForm("1", PRE_FORM_VAL);
}
catch(Exception e)
{
e.printStackTrace();
}
%>
<div id="detailData" style="display: ">
<%=htmlData%>
</div>
[Dolphin]
SortRole=date
Timestamp=2018,7,12,14,47,42
Version=3
ViewMode=1
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>175</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code</name>
<dbname>site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>item_code</name>
<dbname>item_code</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lot_no</name>
<dbname>lot_no</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>alloc_type</name>
<dbname>alloc_type</dbname>
<initial>0</initial>
<values>
<item display="All Allocation" data="0"/>
<item display="Inconsistent Allocation" data="1"/>
</values>
</table_column>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>5</border>
<color>33554432</color>
<x>16</x>
<y>6</y>
<height>137</height>
<width>448</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>700</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>54</x>
<y>29</y>
<height>15</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>130</x>
<y>29</y>
<height>18</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Lot Number:</text>
<border>0</border>
<color>33554432</color>
<x>51</x>
<y>95</y>
<height>15</height>
<width>71</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>130</x>
<y>95</y>
<height>18</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Code:</text>
<border>0</border>
<color>33554432</color>
<x>54</x>
<y>62</y>
<height>15</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>130</x>
<y>62</y>
<height>18</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Allocation Type: </text>
<border>0</border>
<color>33554432</color>
<x>255</x>
<y>29</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>alloc_type_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>351</x>
<y>29</y>
<height>18</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>alloc_type</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>19</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>22</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code</name>
<dbname>site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>item_code</name>
<dbname>item_code</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lot_no</name>
<dbname>lot_no</dbname>
</table_column>
<table_column>
<type size="8">char</type>
<updatewhereclause>no</updatewhereclause>
<name>loc_code</name>
<dbname>loc_code</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lot_sl</name>
<dbname>lot_sl</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>no</updatewhereclause>
<name>stock_qty</name>
<dbname>stock_qty</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>no</updatewhereclause>
<name>stock_alloc_qty</name>
<dbname>stock_alloc_qty</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>no</updatewhereclause>
<name>alloc_qty_trace</name>
<dbname>alloc_qty_trace</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>no</updatewhereclause>
<name>pending_qty</name>
<dbname>pending_qty</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Site Code</text>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>15</height>
<width>57</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code</text>
<border>0</border>
<color>33554432</color>
<x>61</x>
<y>2</y>
<height>15</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Lot Number</text>
<border>0</border>
<color>33554432</color>
<x>123</x>
<y>2</y>
<height>15</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Location Code</text>
<border>0</border>
<color>33554432</color>
<x>215</x>
<y>2</y>
<height>15</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Lot Sl</text>
<border>0</border>
<color>33554432</color>
<x>269</x>
<y>2</y>
<height>15</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_sl_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Stock Quantity</text>
<border>0</border>
<color>33554432</color>
<x>361</x>
<y>2</y>
<height>15</height>
<width>57</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_qty_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Allocation Quantity</text>
<border>0</border>
<color>33554432</color>
<x>420</x>
<y>2</y>
<height>15</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_alloc_qty_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Trace Quantity</text>
<border>0</border>
<color>33554432</color>
<x>513</x>
<y>2</y>
<height>15</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>alloc_qty_trace_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Unconfirmed Quantity</text>
<border>0</border>
<color>33554432</color>
<x>575</x>
<y>2</y>
<height>15</height>
<width>59</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pending_qty_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>18</height>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>61</x>
<y>2</y>
<height>18</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>123</x>
<y>2</y>
<height>18</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>215</x>
<y>2</y>
<height>18</height>
<width>52</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>269</x>
<y>2</y>
<height>18</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_sl</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>361</x>
<y>2</y>
<height>18</height>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>420</x>
<y>2</y>
<height>18</height>
<width>91</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_alloc_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>513</x>
<y>2</y>
<height>18</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>alloc_qty_trace</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>575</x>
<y>2</y>
<height>18</height>
<width>59</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pending_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
<Template>
<comment></comment>
<encoding>UTF-8</encoding>
<name>lk</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;d_stock_alloc_verify12&gt;&lt;d_stock_alloc_verify12_row __pbband=&quot;detail&quot;&gt;&lt;site_code&gt;site_code&lt;/site_code&gt;&lt;item_code&gt;item_code&lt;/item_code&gt;&lt;lot_no&gt;lot_no&lt;/lot_no&gt;&lt;loc_code&gt;loc_code&lt;/loc_code&gt;&lt;lot_sl&gt;lot_sl&lt;/lot_sl&gt;&lt;stock_qty&gt;stock_qty&lt;/stock_qty&gt;&lt;stock_alloc_qty&gt;stock_alloc_qty&lt;/stock_alloc_qty&gt;&lt;available_stock/&gt;&lt;iss_qty/&gt;&lt;/d_stock_alloc_verify12_row&gt;&lt;/d_stock_alloc_verify12&gt;</xml>
</Template>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>175</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code</name>
<dbname>site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>item_code</name>
<dbname>item_code</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lot_no</name>
<dbname>lot_no</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>alloc_type</name>
<dbname>alloc_type</dbname>
<initial>0</initial>
<values>
<item display="All Allocation" data="0"/>
<item display="Inconsistent Allocation" data="1"/>
</values>
</table_column>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>5</border>
<color>33554432</color>
<x>16</x>
<y>6</y>
<height>137</height>
<width>448</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>700</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>54</x>
<y>29</y>
<height>15</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>130</x>
<y>29</y>
<height>18</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Lot Number:</text>
<border>0</border>
<color>33554432</color>
<x>51</x>
<y>95</y>
<height>15</height>
<width>71</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>130</x>
<y>95</y>
<height>18</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Code:</text>
<border>0</border>
<color>33554432</color>
<x>54</x>
<y>62</y>
<height>15</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>130</x>
<y>62</y>
<height>18</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Allocation Type: </text>
<border>0</border>
<color>33554432</color>
<x>255</x>
<y>29</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>alloc_type_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>351</x>
<y>29</y>
<height>18</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>alloc_type</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>19</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>22</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code</name>
<dbname>site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>item_code</name>
<dbname>item_code</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lot_no</name>
<dbname>lot_no</dbname>
</table_column>
<table_column>
<type size="8">char</type>
<updatewhereclause>no</updatewhereclause>
<name>loc_code</name>
<dbname>loc_code</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lot_sl</name>
<dbname>lot_sl</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>no</updatewhereclause>
<name>stock_qty</name>
<dbname>stock_qty</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>no</updatewhereclause>
<name>stock_alloc_qty</name>
<dbname>stock_alloc_qty</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>no</updatewhereclause>
<name>alloc_qty_trace</name>
<dbname>alloc_qty_trace</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>no</updatewhereclause>
<name>pending_qty</name>
<dbname>pending_qty</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Site Code</text>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>15</height>
<width>57</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code</text>
<border>0</border>
<color>33554432</color>
<x>61</x>
<y>2</y>
<height>15</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Lot Number</text>
<border>0</border>
<color>33554432</color>
<x>123</x>
<y>2</y>
<height>15</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Location Code</text>
<border>0</border>
<color>33554432</color>
<x>215</x>
<y>2</y>
<height>15</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Lot Sl</text>
<border>0</border>
<color>33554432</color>
<x>269</x>
<y>2</y>
<height>15</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_sl_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Stock Quantity</text>
<border>0</border>
<color>33554432</color>
<x>361</x>
<y>2</y>
<height>15</height>
<width>57</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_qty_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Allocation Quantity</text>
<border>0</border>
<color>33554432</color>
<x>420</x>
<y>2</y>
<height>15</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_alloc_qty_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Trace Quantity</text>
<border>0</border>
<color>33554432</color>
<x>513</x>
<y>2</y>
<height>15</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>alloc_qty_trace_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Unconfirmed Quantity</text>
<border>0</border>
<color>33554432</color>
<x>575</x>
<y>2</y>
<height>15</height>
<width>59</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pending_qty_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>18</height>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>61</x>
<y>2</y>
<height>18</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>123</x>
<y>2</y>
<height>18</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>215</x>
<y>2</y>
<height>18</height>
<width>52</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>269</x>
<y>2</y>
<height>18</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_sl</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>361</x>
<y>2</y>
<height>18</height>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>420</x>
<y>2</y>
<height>18</height>
<width>91</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_alloc_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>513</x>
<y>2</y>
<height>18</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>alloc_qty_trace</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>575</x>
<y>2</y>
<height>18</height>
<width>59</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pending_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
<Template>
<comment></comment>
<encoding>UTF-8</encoding>
<name>lk</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;d_stock_alloc_verify12&gt;&lt;d_stock_alloc_verify12_row __pbband=&quot;detail&quot;&gt;&lt;site_code&gt;site_code&lt;/site_code&gt;&lt;item_code&gt;item_code&lt;/item_code&gt;&lt;lot_no&gt;lot_no&lt;/lot_no&gt;&lt;loc_code&gt;loc_code&lt;/loc_code&gt;&lt;lot_sl&gt;lot_sl&lt;/lot_sl&gt;&lt;stock_qty&gt;stock_qty&lt;/stock_qty&gt;&lt;stock_alloc_qty&gt;stock_alloc_qty&lt;/stock_alloc_qty&gt;&lt;available_stock/&gt;&lt;iss_qty/&gt;&lt;/d_stock_alloc_verify12_row&gt;&lt;/d_stock_alloc_verify12&gt;</xml>
</Template>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
[Dolphin]
Timestamp=2015,10,27,14,39,24
SortOrder=1
SortRole=date
Timestamp=2018,7,12,15,0,18
Version=3
ViewMode=1
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('stock_alloc_verify_wiz','default_data_wiz','1','stkic_default_ejb',null,'0',to_date('12-07-18','DD-MM-RR'),'BASE ','BASE','2','EJB','StockAllocVerifyWiz',null);
insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('stock_alloc_verify_wiz','post_item_change','1','stkic_default_ejb',null,'0',TO_DATE('12-07-18','DD-MM-RR'),'BASE ','BASE','2','EJB','StockAllocVerifyWiz',null);
insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('stock_alloc_verify_wiz','pre_navigate','1','stkprv_default_ejb',null,'0',TO_DATE('12-07-18','DD-MM-RR'),'BASE ','BASE','2','EJB','StockAllocVerifyWiz',null);
insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('stock_alloc_verify_wiz','pre_validate','1','stkprv_default_ejb',null,'0',TO_DATE('12-07-18','DD-MM-RR'),'BASE ','BASE','2','EJB','StockAllocVerifyWiz',null);
insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('stkic_default_ejb',null,'http://localhost:9090/axis/services/ValidatorService',null,'itemChanged','String','S',null,null,TO_DATE('01-06-12','DD-MM-RR'),'BASE','BASE',null,null,null);
insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('stkprv_default_ejb',null,'http://localhost:9090/axis/services/ProcessService',null,'wfValData','String','S',null,null,TO_DATE('01-06-12','DD-MM-RR'),'BASE','BASE',null,null,null);
insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkic_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,null,null,null,'EJB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkic_default_ejb',2,'COMPONENT_NAME','I',null,'S',null,null,null,null,'StockAllocVerifyWiz');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkic_default_ejb',3,'XML_DATA','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkic_default_ejb',4,'XML_DATA_1','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkic_default_ejb',5,'XML_DATA_ALL','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkic_default_ejb',6,'OBJ_CONTEXT','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkic_default_ejb',7,'FOCUSED_COLUMN','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkic_default_ejb',8,'EDIT_FLAG','I',null,'S',null,null,null,null,null);
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) VALUES ('stkic_default_ejb',9,'XTRA_PARAMS','I',NULL,'S',NULL,NULL,NULL,NULL,NULL);
insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkprv_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,TO_DATE('01-06-12','DD-MM-RR'),'Manohar ','Manohar','EJB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkprv_default_ejb',2,'COMPONENT_NAME','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','Manohar','StockAllocVerifyWiz');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkprv_default_ejb',3,'XML_DATA','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkprv_default_ejb',4,'XML_DATA_1','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkprv_default_ejb',5,'XML_DATA_ALL','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkprv_default_ejb',6,'OBJ_CONTEXT','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkprv_default_ejb',7,'EDIT_FLAG','I',null,'S',null,to_date('01-06-12','DD-MM-RR'),'Manohar ','Manohar',null);
insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('stkprv_default_ejb',8,'XTRA_PARAMS','I',null,'S',null,TO_DATE('01-06-12','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into obj_forms (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,FREEZE_COL_POS,DEFAULT_ROW_CNT,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_ICON,FORM_NAME,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN) values ('w_stock_alloc_verify_wiz','Stk wizard',null,null,null,null,null,null,'1',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
insert into obj_forms (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,FREEZE_COL_POS,DEFAULT_ROW_CNT,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_ICON,FORM_NAME,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN) values ('w_stock_alloc_verify_wiz','Stk wizard',null,null,null,null,null,null,'2',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
INSERT INTO ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,ENT_TYPES) VALUES ('DIS',7,32,0,0,0,'/ibase/webitm/jsp/E12WizardPage.jsp?OBJ_NAME=stock_alloc_verify_wiz&amp;FORM_NO=1','Stock Alloc Identification/Rectification',NULL,'DIS.7.32.0.0.0',NULL,NULL,NULL,'I',NULL,NULL,NULL,NULL,NULL,NULL,'0 ');
[Dolphin]
SortOrder=1
SortRole=date
Timestamp=2018,7,12,14,48,53
Version=3
ViewMode=1
$PBExportHeader$d_stock_alloc_verify11.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=175 color="536870912" )
table(column=(type=char(5) updatewhereclause=no name=site_code dbname="site_code" )
column=(type=char(10) updatewhereclause=no name=item_code dbname="item_code" )
column=(type=char(15) updatewhereclause=no name=lot_no dbname="lot_no" )
column=(type=char(1) updatewhereclause=no name=alloc_type dbname="alloc_type" initial="0" values="All Allocation 0/Inconsistent Allocation 1/" )
)
groupbox(band=detail text="Basic"border="5" color="33554432" x="16" y="6" height="137" width="448" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="54" y="29" height="15" width="68" html.valueishtml="0" name=site_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=20 border="5" color="33554432" x="130" y="29" height="18" width="90" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
text(band=detail alignment="1" text="Lot Number:" border="0" color="33554432" x="51" y="95" height="15" width="71" html.valueishtml="0" name=lot_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=40 border="5" color="33554432" x="130" y="95" height="18" width="90" format="[general]" html.valueishtml="0" name=lot_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
text(band=detail alignment="1" text="Item Code:" border="0" color="33554432" x="54" y="62" height="15" width="68" html.valueishtml="0" name=item_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=30 border="5" color="33554432" x="130" y="62" height="18" width="90" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
text(band=detail alignment="0" text="Allocation Type: " border="0" color="33554432" x="255" y="29" height="16" width="93" html.valueishtml="0" name=alloc_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=4 alignment="0" tabsequence=10 border="5" color="33554432" x="351" y="29" height="18" width="90" html.valueishtml="0" name=alloc_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_stock_alloc_verify12.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=19 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=22 color="536870912" )
table(column=(type=char(5) updatewhereclause=no name=site_code dbname="site_code" )
column=(type=char(10) updatewhereclause=no name=item_code dbname="item_code" )
column=(type=char(15) updatewhereclause=no name=lot_no dbname="lot_no" )
column=(type=char(8) updatewhereclause=no name=loc_code dbname="loc_code" )
column=(type=char(15) updatewhereclause=no name=lot_sl dbname="lot_sl" )
column=(type=decimal(3) updatewhereclause=no name=stock_qty dbname="stock_qty" )
column=(type=decimal(3) updatewhereclause=no name=stock_alloc_qty dbname="stock_alloc_qty" )
column=(type=decimal(3) updatewhereclause=no name=alloc_qty_trace dbname="alloc_qty_trace" )
column=(type=decimal(3) updatewhereclause=no name=pending_qty dbname="pending_qty" )
)
text(band=header alignment="2" text="Site Code" border="0" color="33554432" x="2" y="2" height="15" width="57" html.valueishtml="0" name=site_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Item Code" border="0" color="33554432" x="61" y="2" height="15" width="60" html.valueishtml="0" name=item_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Lot Number" border="0" color="33554432" x="123" y="2" height="15" width="90" html.valueishtml="0" name=lot_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Location Code" border="0" color="33554432" x="215" y="2" height="15" width="52" html.valueishtml="0" name=loc_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Lot Sl" border="0" color="33554432" x="269" y="2" height="15" width="90" html.valueishtml="0" name=lot_sl_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Stock Quantity" border="0" color="33554432" x="361" y="2" height="15" width="57" html.valueishtml="0" name=stock_qty_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Allocation Quantity" border="0" color="33554432" x="420" y="2" height="15" width="91" html.valueishtml="0" name=stock_alloc_qty_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Trace Quantity" border="0" color="33554432" x="513" y="2" height="15" width="60" html.valueishtml="0" name=alloc_qty_trace_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Unconfirmed Quantity" border="0" color="33554432" x="575" y="2" height="15" width="59" html.valueishtml="0" name=pending_qty_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="2" y="2" height="18" width="57" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="33554432" x="61" y="2" height="18" width="60" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="33554432" x="123" y="2" height="18" width="90" format="[general]" html.valueishtml="0" name=lot_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="33554432" x="215" y="2" height="18" width="52" format="[general]" html.valueishtml="0" name=loc_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="269" y="2" height="18" width="90" format="[general]" html.valueishtml="0" name=lot_sl visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=6 alignment="1" tabsequence=32766 border="5" color="33554432" x="361" y="2" height="18" width="57" format="[general]" html.valueishtml="0" name=stock_qty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=7 alignment="1" tabsequence=32766 border="5" color="33554432" x="420" y="2" height="18" width="91" format="[general]" html.valueishtml="0" name=stock_alloc_qty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=8 alignment="1" tabsequence=32766 border="5" color="33554432" x="513" y="2" height="18" width="60" format="[general]" html.valueishtml="0" name=alloc_qty_trace visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=9 alignment="1" tabsequence=32766 border="5" color="33554432" x="575" y="2" height="18" width="59" format="[general]" html.valueishtml="0" name=pending_qty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="lk" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><d_stock_alloc_verify12><d_stock_alloc_verify12_row __pbband=~"detail~"><site_code>site_code</site_code><item_code>item_code</item_code><lot_no>lot_no</lot_no><loc_code>loc_code</loc_code><lot_sl>lot_sl</lot_sl><stock_qty>stock_qty</stock_qty><stock_alloc_qty>stock_alloc_qty</stock_alloc_qty><available_stock/><iss_qty/></d_stock_alloc_verify12_row></d_stock_alloc_verify12>"))
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_stock_alloc_verify11.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=175 color="536870912" )
table(column=(type=char(5) updatewhereclause=no name=site_code dbname="site_code" )
column=(type=char(10) updatewhereclause=no name=item_code dbname="item_code" )
column=(type=char(15) updatewhereclause=no name=lot_no dbname="lot_no" )
column=(type=char(1) updatewhereclause=no name=alloc_type dbname="alloc_type" initial="0" values="All Allocation 0/Inconsistent Allocation 1/" )
)
groupbox(band=detail text="Basic"border="5" color="33554432" x="16" y="6" height="137" width="448" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="54" y="29" height="15" width="68" html.valueishtml="0" name=site_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=20 border="5" color="33554432" x="130" y="29" height="18" width="90" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
text(band=detail alignment="1" text="Lot Number:" border="0" color="33554432" x="51" y="95" height="15" width="71" html.valueishtml="0" name=lot_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=40 border="5" color="33554432" x="130" y="95" height="18" width="90" format="[general]" html.valueishtml="0" name=lot_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
text(band=detail alignment="1" text="Item Code:" border="0" color="33554432" x="54" y="62" height="15" width="68" html.valueishtml="0" name=item_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=30 border="5" color="33554432" x="130" y="62" height="18" width="90" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
text(band=detail alignment="0" text="Allocation Type: " border="0" color="33554432" x="255" y="29" height="16" width="93" html.valueishtml="0" name=alloc_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=4 alignment="0" tabsequence=10 border="5" color="33554432" x="351" y="29" height="18" width="90" html.valueishtml="0" name=alloc_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_stock_alloc_verify12.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=19 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=22 color="536870912" )
table(column=(type=char(5) updatewhereclause=no name=site_code dbname="site_code" )
column=(type=char(10) updatewhereclause=no name=item_code dbname="item_code" )
column=(type=char(15) updatewhereclause=no name=lot_no dbname="lot_no" )
column=(type=char(8) updatewhereclause=no name=loc_code dbname="loc_code" )
column=(type=char(15) updatewhereclause=no name=lot_sl dbname="lot_sl" )
column=(type=decimal(3) updatewhereclause=no name=stock_qty dbname="stock_qty" )
column=(type=decimal(3) updatewhereclause=no name=stock_alloc_qty dbname="stock_alloc_qty" )
column=(type=decimal(3) updatewhereclause=no name=alloc_qty_trace dbname="alloc_qty_trace" )
column=(type=decimal(3) updatewhereclause=no name=pending_qty dbname="pending_qty" )
)
text(band=header alignment="2" text="Site Code" border="0" color="33554432" x="2" y="2" height="15" width="57" html.valueishtml="0" name=site_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Item Code" border="0" color="33554432" x="61" y="2" height="15" width="60" html.valueishtml="0" name=item_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Lot Number" border="0" color="33554432" x="123" y="2" height="15" width="90" html.valueishtml="0" name=lot_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Location Code" border="0" color="33554432" x="215" y="2" height="15" width="52" html.valueishtml="0" name=loc_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Lot Sl" border="0" color="33554432" x="269" y="2" height="15" width="90" html.valueishtml="0" name=lot_sl_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Stock Quantity" border="0" color="33554432" x="361" y="2" height="15" width="57" html.valueishtml="0" name=stock_qty_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Allocation Quantity" border="0" color="33554432" x="420" y="2" height="15" width="91" html.valueishtml="0" name=stock_alloc_qty_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Trace Quantity" border="0" color="33554432" x="513" y="2" height="15" width="60" html.valueishtml="0" name=alloc_qty_trace_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Unconfirmed Quantity" border="0" color="33554432" x="575" y="2" height="15" width="59" html.valueishtml="0" name=pending_qty_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="2" y="2" height="18" width="57" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="33554432" x="61" y="2" height="18" width="60" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="33554432" x="123" y="2" height="18" width="90" format="[general]" html.valueishtml="0" name=lot_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="33554432" x="215" y="2" height="18" width="52" format="[general]" html.valueishtml="0" name=loc_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="269" y="2" height="18" width="90" format="[general]" html.valueishtml="0" name=lot_sl visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=6 alignment="1" tabsequence=32766 border="5" color="33554432" x="361" y="2" height="18" width="57" format="[general]" html.valueishtml="0" name=stock_qty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=7 alignment="1" tabsequence=32766 border="5" color="33554432" x="420" y="2" height="18" width="91" format="[general]" html.valueishtml="0" name=stock_alloc_qty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=8 alignment="1" tabsequence=32766 border="5" color="33554432" x="513" y="2" height="18" width="60" format="[general]" html.valueishtml="0" name=alloc_qty_trace visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=9 alignment="1" tabsequence=32766 border="5" color="33554432" x="575" y="2" height="18" width="59" format="[general]" html.valueishtml="0" name=pending_qty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="lk" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><d_stock_alloc_verify12><d_stock_alloc_verify12_row __pbband=~"detail~"><site_code>site_code</site_code><item_code>item_code</item_code><lot_no>lot_no</lot_no><loc_code>loc_code</loc_code><lot_sl>lot_sl</lot_sl><stock_qty>stock_qty</stock_qty><stock_alloc_qty>stock_alloc_qty</stock_alloc_qty><available_stock/><iss_qty/></d_stock_alloc_verify12_row></d_stock_alloc_verify12>"))
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
[Dolphin]
Timestamp=2018,7,12,14,45,39
Version=3
ViewMode=1
[Dolphin]
Timestamp=2018,7,12,14,47,0
Version=3
ViewMode=1
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body >
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/Standard/default.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/theme/galaxy-theme.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/SimpleTransactionEditor.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/stockAllocWiz.css"/>
<!--link type="text/css" rel="stylesheet" href="/ibase/webitm/css/FixedTableHeader.css"/-->
<script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/stockAllocVerifyWiz.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/jquery.datetimepicker.css"/>
<link href="/ibase/webitm/css/Galaxy/galaxy-theme.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/Standard/default.css" rel="stylesheet"/>
<style type="text/css">
.tHeader
{
border-top: #6cf 2px solid !important;
border-left: 1px solid #ddd !important;
border-right: 1px solid #ddd !important;
border-bottom: 1px solid #ddd !important
}
.ft_container table tr td
{
color: #555 !important;
}
input:focus{
outline: none;
}
.table-body>tr>td {
word-wrap: break-word;
}
.tableClass {
table-layout: fixed;
}
.tableClassDet {
table-layout: fixed;
}
</style>
<script>
<![CDATA[
$(document).on("keydown", function (e) {
if (e.which === 8 && !$(e.target).is("input, textarea, form")) {
e.preventDefault();
}
else if(e.which === 13){
e.preventDefault();
}
});
]]>
</script>
<!-- <xsl:variable name="dbIDs"><xsl:value-of select="domId"/></xsl:variable> -->
<div id="mainPageHeaderContatiner">
<h3 class="titleDet"> Trace Quantity details</h3>
<div id="detailPage-input-Container">
<!-- <table class = "tableClass" id="schemeDetails"> -->
<table class = "tableClassDet">
<!-- thead align="center" -->
<thead align="center">
<tr class = "trClass">
<th class="tHeader" nowrap="true" valign="bottom" style="width:100px;">
Site Code
</th>
<th class="tHeader" nowrap="false" style="width:100px;" valign="bottom">
Item Code
</th>
<th class="tHeader" nowrap="true" valign="bottom" style="width:100px;">
Location Code
</th>
<th class="tHeader" nowrap="false" valign="bottom" style="width:100px;">
Lot Number
</th>
<th class="tHeader" nowrap="true" valign="bottom" style="width:100px;">
Lot Serial
</th>
<th class="tHeader" nowrap="true" valign="bottom" style="width:100px;">
Reference Id
</th>
<th class="tHeader" nowrap="true" valign="bottom" style="width:100px;">
Reference Line
</th>
<th class="tHeader" nowrap="true" valign="bottom" style="width:120px;">
Reference Series
</th>
<th class="tHeader" nowrap="true" valign="bottom" style="width:100px;">
Trace Qunatity
</th>
<th class="tHeader" nowrap="true" valign="bottom" style="width:120px;">
Transaction Date
</th>
<th class="tHeader" nowrap="true" valign="bottom" style="width:100px;">
Changed On
</th>
</tr>
</thead>
<!--tbody class="table-body" to display column data with spaces-->
<tbody class="table-body">
<xsl:for-each select="//Detail2">
<xsl:variable name="domId"><xsl:value-of select="@domId"/></xsl:variable>
<tr class = "trClass" id="Detail2.{normalize-space($domId)}.rowID" value="{$domId}" >
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{site_code}" name="Detail2.{normalize-space($domId)}.site_code" id="Detail2.{normalize-space($domId)}.site_code" style="width:100%;background-color: transparent;border: none;color:#666666; text-align: center;" tabindex="-1"/>
</td>
<td style="max-width:60px;color:#666666;" align="center">
<xsl:value-of select="item_code"/>
<input type="hidden" maxlength="4" readOnly = "1" value="{item_code}" name="Detail2.{normalize-space($domId)}.item_code" id="Detail2.{normalize-space($domId)}.item_code" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<!--sample pavan -->
<input type="text" maxlength="4" readOnly = "1" value="{loc_code}" name="Detail2.{normalize-space($domId)}.loc_code" id="Detail2.{normalize-space($domId)}.loc_code" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{lot_no}" name="Detail2.{normalize-space($domId)}.lot_no" id="Detail2.{normalize-space($domId)}.lot_no" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{lot_sl}" name="Detail2.{normalize-space($domId)}.lot_sl" id="Detail2.{normalize-space($domId)}.lot_sl" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center" style="width:150px;">
<input type="text" maxlength="4" readOnly = "1" value="{ref_id}" name="Detail2.{normalize-space($domId)}.ref_id" id="Detail2.{normalize-space($domId)}.ref_id" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{ref_line}" name="Detail2.{normalize-space($domId)}.ref_line" id="Detail2.{normalize-space($domId)}.ref_line" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{ref_ser}" name="Detail2.{normalize-space($domId)}.ref_ser" id="Detail2.{normalize-space($domId)}.ref_ser" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{alloc_qty_trc}" name="Detail2.{normalize-space($domId)}.alloc_qty_trc" id="Detail2.{normalize-space($domId)}.alloc_qty_trc" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{tran_date}" name="Detail2.{normalize-space($domId)}.tran_date" id="Detail2.{normalize-space($domId)}.tran_date" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{chg_date}" name="Detail2.{normalize-space($domId)}.chg_date" id="Detail2.{normalize-space($domId)}.chg_date" style="width:100%;background-color: transparent;border: none;color:#666666; width:100px; text-align: center;" tabindex="-1"/>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
<!-- <div class="closeDiv" id="e12popUpPnl-close" onclick="closePopUpOfScheme()">x</div>
<div class="taxApplyButton" id="applyTax" name="applyTax" title="Apply Tax" onclick ="getCheckedVal();">
<p class="checkTax"> <img src="/ibase/webitm/images/checkMark.png" height="15" width="15"/> </p>
</div> -->
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body >
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/Standard/default.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/theme/galaxy-theme.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/SimpleTransactionEditor.css"/>
<script type="text/javascript" src="/ibase/webitm/js/stockAllocVerifyWiz.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/stockAllocWiz.css"/>
<link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/jquery.datetimepicker.css"/>
<link href="/ibase/webitm/css/Galaxy/galaxy-theme.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/Standard/default.css" rel="stylesheet"/>
<style type="text/css">
.tHeader
{
border-top: #6cf 2px solid !important;
border-left: 1px solid #ddd !important;
border-right: 1px solid #ddd !important;
border-bottom: 1px solid #ddd !important
}
.ft_container table tr td
{
color: #555 !important;
}
input:focus{
outline: none;
}
.table-body>tr>td {
word-wrap: break-word;
}
.tableClass {
table-layout: fixed;
}
.tableClassDet {
table-layout: fixed;
}
</style>
<script>
<![CDATA[
$(document).on("keydown", function (e) {
if (e.which === 8 && !$(e.target).is("input, textarea, form")) {
e.preventDefault();
}
else if(e.which === 13){
e.preventDefault();
}
});
]]>
</script>
<!-- <xsl:variable name="dbIDs"><xsl:value-of select="domId"/></xsl:variable> -->
<div id="mainPageHeaderContatiner"><h3 class="titleDet">Unconfirmed Quantity details</h3>
<div id="detailPage-input-Container">
<!-- <table class = "tableClass" id="schemeDetails"> -->
<table class = "tableClassDet" id="schemeDetails">
<thead><!-- class = "table-haead" -->
<tr class = "trClass" style="text-align:center;">
<th class="tHeader" nowrap="true" valign="bottom">
Site Code
</th>
<th class="tHeader" nowrap="false" style="max-width:100px;" valign="bottom" >
Item Code
</th>
<th class="tHeader" nowrap="true" valign="bottom" >
Location Code
</th>
<th class="tHeader" nowrap="false" valign="bottom">
Lot Number
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Lot Serial
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Quantity
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Transaction Id
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Reference Series
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Exp Level
</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="//Detail3">
<xsl:variable name="domId"><xsl:value-of select="@domId"/></xsl:variable>
<tr class = "trClass" id="Detail3.{normalize-space($domId)}.rowID" value="{$domId}" >
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{site_code}" name="Detail3.{normalize-space($domId)}.site_code" id="Detail3.{normalize-space($domId)}.site_code" style="width:110px;background-color: transparent;border: none;color:#666666; text-align: center;" tabindex="-1"/>
</td>
<td style="max-width:60px;color:#666666;" align="center">
<xsl:value-of select="item_code"/>
<input type="hidden" maxlength="4" readOnly = "1" value="{item_code}" name="Detail3.{normalize-space($domId)}.item_code" id="Detail3.{normalize-space($domId)}.item_code" style="width:100px;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<!--sample pavan -->
<input type="text" maxlength="4" readOnly = "1" value="{loc_code}" name="Detail3.{normalize-space($domId)}.loc_code" id="Detail3.{normalize-space($domId)}.loc_code" style="width:100px;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{lot_no}" name="Detail3.{normalize-space($domId)}.lot_no" id="Detail3.{normalize-space($domId)}.lot_no" style="width:100px;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{lot_sl}" name="Detail3.{normalize-space($domId)}.lot_sl" id="Detail3.{normalize-space($domId)}.lot_sl" style="width:40px;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{iss_qty}" name="Detail3.{normalize-space($domId)}.iss_qty" id="Detail3.{normalize-space($domId)}.iss_qty" style="width:50px;background-color: transparent;border: none;color:#666666;text-align:right;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{tran_id}" name="Detail3.{normalize-space($domId)}.ref_line" id="Detail3.{normalize-space($domId)}.tran_id" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{tran_ser}" name="Detail3.{normalize-space($domId)}.tran_ser" id="Detail3.{normalize-space($domId)}.tran_ser" style="width:100%;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
<td nowrap="true" align="center">
<input type="text" maxlength="4" readOnly = "1" value="{exp_lev}" name="Detail3.{normalize-space($domId)}.exp_lev" id="Detail3.{normalize-space($domId)}.exp_lev" style="width:40px;background-color: transparent;border: none;color:#666666;text-align:center;" tabindex="-1"/>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
<!-- <div class="closeDiv" id="e12popUpPnl-close" onclick="closePopUpOfScheme()">x</div>
<div class="taxApplyButton" id="applyTax" name="applyTax" title="Apply Tax" onclick ="getCheckedVal();">
<p class="checkTax"> <img src="/ibase/webitm/images/checkMark.png" height="15" width="15"/> </p>
</div> -->
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body onload="formatDate(); checkType();">
<script type="text/javascript" src="/ibase/webitm/js/stockAllocVerifyWiz.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<script language="Javascript" src="/ibase/webitm/js/date.js"></script>
<link href="/ibase/webitm/css/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.core.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.position.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.menu.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.autocomplete.js"></script>
<link href="/ibase/webitm/css/htmlWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/StockallocWiz.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/jquery.datetimepicker.css" rel="stylesheet"/>
<script>
<![CDATA[
$(document).on("keydown", function (e) {
if (e.which === 8 && !$(e.target).is("input, textarea, form")) {
e.preventDefault();
}
else if(e.which ===13){
e.preventDefault();
}
});
]]>
</script>
<form name="stock_alloc_verify_wizform1" id="stock_alloc_verify_wizform1" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet" >
<div class="contentHeaderLbl" style="position:fixed;overflow:hidden;width:100%;padding:12px; background-color:white;top:0px;">
&#160;&#160;<img src="/ibase/images/menuImages/web/plistgen_wiz.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px; height: 20px; width: 20px;"/>
&#160;Stock Allocation Identification and Rectification
</div><br></br><br></br>
<div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;width:99%;position:absolute;">
<table id="errorActivityTable" height="10%" class="tableClass" style="margin: 12px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true"></td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
</div>
<div id="popHelpContainer"></div>
<div id="overlay"></div>
<div id="mainPageHeaderContatiner">
<div id="mainPage-input-Container">
<xsl:for-each select="//Detail1">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="alloc_type"><xsl:value-of select="alloc_type"/></xsl:variable>
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="lot_no"><xsl:value-of select="lot_no"/></xsl:variable>
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0" style="margin-bottom:25px;">
<tr>
<td class="td_rightAlign" nowrap="true" valign="left" >
Site Code :
</td>
<td class="td_leftAlign" >
<input type="text" class="input_editable" value="{$site_code}" popupFldName="SITE_CODE" name="Detail1.{normalize-space($dbID)}.site_code" id="Detail1.{normalize-space($dbID)}.site_code" onfocus="displayPopUpIcon('popUpIcon3');" onkeyup="getAutoPopupData(this);" style="width:65%;margin-left:8px;font-size: 14px;" tabIndex="40"/>
<a href="javascript:getListOfValues('SITE_CODE','Detail1.{normalize-space($dbID)}.site_code','','');" id="popUpIcon3" tabIndex="-1" ><img src="/ibase/webitm/images/pophelp.png"/></a>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true" valign="left" >
Allocation Type :
</td>
<td class="td_leftAlign" >
<!--select class="input_editable" name="Detail1.{normalize-space($dbIDs)}.alloc_type" id="Detail1.{normalize-space($dbIDs)}.alloc_type">
<OPTION value="0"><xsl:choose><xsl:when test="alloc_type='0'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Yes]]></OPTION>
<OPTION value="1"><xsl:choose><xsl:when test="alloc_type='1'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[No]]></OPTION>
</select-->
<!-- input type="text" class="input_editable" value="{$alloc_type}" popupFldName="ALLOC_TYPE" name="Detail1.{normalize-space($dbID)}.alloc_type" id="Detail1.{normalize-space($dbID)}.alloc_type" onfocus="displayPopUpIcon('popUpIcon4');" onkeyup="getAutoPopupData(this);" style="width:51%;margin-left:8px; font-size: 14px;" tabIndex="40"/>
<a href="javascript:getListOfValues('ALLOC_TYPE','Detail1.{normalize-space($dbID)}.alloc_type','','');" id="popUpIcon4" tabIndex="-1" ><img src="/ibase/webitm/images/pophelp.png"/></a-->
<select name="Detail1.{normalize-space($dbID)}.alloc_type"
id="Detail1.{normalize-space($dbID)}.alloc_type" class="input_editable"
value="{$alloc_type}" onfocus="displayPopUpIcon('popUpIcon3');" onkeyup="getAutoPopupData(this);" style="width:65%;margin-left:8px;font-size: 14px;" tabIndex="40">
<option value="0">All Allocation</option>
<option value="1">Inconsistent Allocation</option>
</select>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true" valign="left" >
Item Code :
</td>
<td class="td_leftAlign" >
<input type="text" class="input_editable" value="{$item_code}" popupFldName="ITEM_CODE" name="Detail1.{normalize-space($dbID)}.item_code" id="Detail1.{normalize-space($dbID)}.item_code" onfocus="displayPopUpIcon('popUpIcon4');" onkeyup="getAutoPopupData(this);" style="width:65%;margin-left:8px; font-size: 14px;" tabIndex="40"/>
<a href="javascript:getListOfValues('ITEM_CODE','Detail1.{normalize-space($dbID)}.item_code','','');" id="popUpIcon4" tabIndex="-1" ><img src="/ibase/webitm/images/pophelp.png"/></a>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true" valign="left" >
Lot Number :
</td>
<td class="td_leftAlign" >
<input type="text" class="input_editable" value="{$lot_no}" popupFldName="LOT_NO" name="Detail1.{normalize-space($dbID)}.lot_no" id="Detail1.{normalize-space($dbID)}.lot_no" onfocus="displayPopUpIcon('popUpIcon5');" onkeyup="getAutoPopupData(this);" style="width:65%;margin-left:8px;font-size: 14px;" tabIndex="40"/>
<a href="javascript:getListOfValues('LOT_NO','Detail1.{normalize-space($dbID)}.lot_no','','');" id="popUpIcon5" tabIndex="-1" ><img src="/ibase/webitm/images/pophelp.png"/></a>
</td>
</tr>
</table>
</xsl:for-each>
</div>
<div id="btnDiv">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="stock_alloc_verify_wiz" name="OBJ_NAME" />
<input type="hidden" value="next" name="action" id="action" />
<input type="reset" style="cursor:hand;margin-left:5px;" value="Reset" class="button" title='Reset' id="reset"/>
<input type="submit" style="cursor:hand;margin-left:2px;" value="Next" onclick="setActionVal('next');" class="button" title='Next' id="next"/>
</div>
</div>
<!-- div id="buttonreplacement">
<! img src="/ibase/images/preload.gif" alt="Please wait work in progress" ></img >
<span>Please wait......</span>
</div -->
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<!-- <?xml version='1.0' encoding='utf-8'?> -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/stockAllocVerifyWiz.js"></script>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/FixedTableHeader.css"/>
<!-- <link href="/ibase/webitm/css/theme/galaxy-theme.css" rel="stylesheet"/> -->
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/stockAllocWiz.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/jquery.datetimepicker.css"/>
<script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<script language="JavaScript" type="text/javascript">
<![CDATA[
<!-- $(document).ready(function() {
$('#Details').fxdHdrCol({
fixedCols: 0,
width: "200%",
height: "85%",
colModal: [
{ width: 5, align: 'center' },
{ width: 100, align: 'center' },
{ width: 100, align: 'center' },
{ width: 300, align: 'center' },
{ width: 70, align: 'center' },
{ width: 70, align: 'center' },
{ width: 70, align: 'center' },
{ width: 50, align: 'center' },
{ width: 200, align: 'center' },
{ width: 70, align: 'center' },
{ width: 70, align: 'center' },
{ width: 70, align: 'center' }
],
sort: true
});
}); -->
]]>
</script>
<style type="text/css">
.tHeader
{
border-top: #6cf 2px solid !important;
border-left: 1px solid #ddd !important;
border-right: 1px solid #ddd !important;
border-bottom: 1px solid #ddd !important
}
.ft_container table tr td
{
color: #555 !important;
}
tr.schemeRow>td {
background-color: #f2fdff !important;
}
tr.schemeRow>td>input {
background-color: #f2fdff !important;
}
</style>
<body onload="foarmatSchemeRows();">
<form name="stock_alloc_verify_wizform2" id="stock_alloc_verify_wizform2" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<xsl:for-each select="//Detail2">
<xsl:if test="position() = 1">
<TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<TR>
<div class='contentHeaderLbl'> <!-- img src="/ibase/images/menuImages/web/salesorder.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/ -->
<img src="/ibase/images/menuImages/web/plistgen_wiz.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<!-- Summary-->Stock Allocation Trace and Unconfirmed Data
</TD>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<!--Sales Order:--> <xsl:value-of select="sale_order"/>
</TD>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="" width="2%" >
<!-- Order Date:--> <xsl:value-of select="order_date"/>
</TD>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<xsl:variable name="udf__str2"><xsl:value-of select="udf__str2"/></xsl:variable>
<xsl:if test="$udf__str2 = 'A'">Add Mode</xsl:if>
<xsl:if test="$udf__str2 = 'E'">Edit Mode</xsl:if>
</TD>
</div>
</TR>
</TABLE>
</xsl:if>
</xsl:for-each>
<div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;">
<table id="errorActivityTable" width="100%" height="13%" class="tableClass" style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="description"/><br></br>
<xsl:value-of select="trace"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
</div>
<xsl:for-each select="//Detail2">
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="lot_no"><xsl:value-of select="lot_no"/></xsl:variable>
<xsl:variable name="dbIDs"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<xsl:if test="$dbIDs = '0'">
<input type="hidden" value="{$site_code}" name="Detail2.{normalize-space($dbIDs)}.site_code" id="site_code" />
<input type="hidden" value="{$item_code}" name="Detail2.{normalize-space($dbIDs)}.item_code" id="item_code" />
<input type="hidden" value="{$lot_no}" name="Detail2.{normalize-space($dbIDs)}.lot_no" id="lot_no" />
</xsl:if>
</xsl:for-each>
<div style="height:calc(100% - 80px); width:100%;margin-top:2px;margin-left:1px;overflow:-moz-scrollbars-vertical;overflow-x:auto;overflow-y:auto;white-space:nowrap;border:thin ridge lightgray;">
<table id="Details" class="headertableClass" border="0" cellspacing="0" cellpadding="0" width='100%' style = "color: #333 !important;">
<THEAD class="table-head">
<tr>
<th class="tHeader" nowrap="true" width='20px'>
<INPUT type="checkbox" onchange="checkAll(this)" name="chk[]" />
</th>
<th class="tHeader" nowrap="true" width='20px'>
Details
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Site Code
</th>
<th class="tHeader" nowrap="true" valign="bottom" width='40px'>
Item Code
</th>
<th class="tHeader" nowrap="true" valign="bottom" >
Lot Number
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Location Code
<!-- <INPUT type="checkbox" onchange="selectRowDD(this, 1)" /> -->
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Lot Serial
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Stock Quantity
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Allocation Quantity
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Trace Quantity
</th>
<th class="tHeader" nowrap="true" valign="bottom" >
Unconfirmed Quantity
</th>
</tr>
</THEAD>
<tbody>
<xsl:for-each select="//Detail2">
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="lot_no"><xsl:value-of select="lot_no"/></xsl:variable>
<xsl:variable name="loc_code"><xsl:value-of select="loc_code"/></xsl:variable>
<xsl:variable name="lot_sl"><xsl:value-of select="lot_sl"/></xsl:variable>
<xsl:variable name="stock_qty"><xsl:value-of select="stock_qty"/></xsl:variable>
<xsl:variable name="stock_alloc_qty"><xsl:value-of select="stock_alloc_qty"/></xsl:variable>
<xsl:variable name="alloc_qty_trace"><xsl:value-of select="alloc_qty_trace"/></xsl:variable>
<xsl:variable name="pending_qty"><xsl:value-of select="pending_qty"/></xsl:variable>
<xsl:variable name="dbIDs"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<xsl:if test="$dbIDs != '0'">
<tr class="trClass" id="itemRow{$dbIDs}" >
<td>
<input type="checkbox" name="Detail2.{normalize-space($dbIDs)}.selectbox" id="Detail2.{normalize-space($dbIDs)}.selectbox" value="true" class="test1" />
</td>
<td style="width:100px" nowrap="true">
<input type="button" id="myBtn" class="buttons buttons5" onclick="getAllocDetails('{$site_code}~{$item_code}~{$lot_no}~{$loc_code}~{$lot_sl}')" value="Detail" />
</td>
<xsl:choose>
<xsl:when test="$site_code =''">
<td style="width:100px" nowrap="true">
<!-- <xsl:value-of select="item_code"/> -->
<input id="Detail2.{normalize-space($dbIDs)}.site_code" name="Detail2.{normalize-space($dbIDs)}.site_code" value="{$site_code}" type="text" style="border: none;outline: none;color: #555;font-size: 14px; width:120px; text-align: center;" readonly="" />
</td>
</xsl:when>
<xsl:otherwise>
<td style="width:100px;" nowrap="true">
<!-- <xsl:value-of select="item_code"/> -->
<input id="Detail2.{normalize-space($dbIDs)}.site_code" name="Detail2.{normalize-space($dbIDs)}.site_code" value="{$site_code}" type="text" style="border: none;outline: none;color: #555;font-size: 14px; width:120px; text-align: center;" readonly=""/>
</td>
</xsl:otherwise>
</xsl:choose>
<td nowrap="true" >
<input id="Detail2.{normalize-space($dbIDs)}.item_code" name="Detail2.{normalize-space($dbIDs)}.item_code" value="{$item_code}" type="text" style="border: none;outline: none;color: #555;font-size: 14px;width:150px; text-align: center;" readonly="" />
</td>
<td style="width:75px;" nowrap="true">
<input type="text" value="{$lot_no}" name="Detail2.{normalize-space($dbIDs)}.lot_no" id="Detail2.{normalize-space($dbIDs)}.lot_no" style="border: none;outline: none;color: #555;font-size: 14px; text-align: center;" maxlength="10" readonly=""/>
</td>
<td style="width:75px;" nowrap="true">
<input type="text" value="{$loc_code}" name="Detail2.{normalize-space($dbIDs)}.loc_code" id="Detail2.{normalize-space($dbIDs)}.loc_code" style="border: none;outline: none;color: #555;font-size: 14px; text-align: center;" maxlength="10" readonly=""/>
</td>
<td style="width:75px;" nowrap="true">
<input type="text" value="{$lot_sl}" name="Detail2.{normalize-space($dbIDs)}.lot_sl" id="Detail2.{normalize-space($dbIDs)}.lot_sl" style="border: none;outline: none;color: #555;font-size: 14px; text-align: center;" maxlength="10" readonly=""/>
</td>
<td style="width:75px;" nowrap="true">
<input type="text" value="{$stock_qty}" name="Detail2.{normalize-space($dbIDs)}.stock_qty" id="Detail2.{normalize-space($dbIDs)}.stock_qty" style="border: none;outline: none;color: #555;font-size: 14px; width:120px; text-align: right;" maxlength="10" readonly=""/>
</td>
<td style="width:75px;" nowrap="true">
<input type="text" value="{$stock_alloc_qty}" name="Detail2.{normalize-space($dbIDs)}.stock_alloc_qty" id="Detail2.{normalize-space($dbIDs)}.stock_alloc_qty" style="border: none;outline: none;color: #555;font-size: 14px; width:100px; text-align: right;" maxlength="10" readonly=""/>
</td>
<td style="width:75px;" nowrap="true">
<input type="text" value="{$alloc_qty_trace}" name="Detail2.{normalize-space($dbIDs)}.alloc_qty_trace" id="Detail2.{normalize-space($dbIDs)}.alloc_qty_trace" style="border: none;outline: none;color: #555;font-size: 14px; width:100px; text-align: right;" maxlength="10" readonly=""/>
<!-- PAVAN --> </td>
<td style="width:75px;" nowrap="true">
<input type="text" value="{$pending_qty}" name="Detail2.{normalize-space($dbIDs)}.pending_qty" id="Detail2.{normalize-space($dbIDs)}.pending_qty" style="border: none;outline: none;color: #555;font-size: 14px; width:100px; text-align: right;" maxlength="10" readonly=""/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
</tbody>
</table>
</div>
<div style="width=20%;height:6px;margin-left=-12px;margin-top:5px;margin-bottom:0px;">
<table cellSpacing="1" cellPadding="1" width="50%" border="0">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="stock_alloc_verify_wiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="hidden" value="2:MP" name="formType" id="formType" />
<input type="hidden" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" />
<input type="hidden" name="PRE_FORM_VAL2" ID="PRE_FORM_VAL2" />
<input type="hidden" name="EXISITING_COL_VALUES" ID="EXISITING_COL_VALUES" />
<input type="button" style="cursor:hand" class="button" value="Previous" title='Previous' id="back" onclick="history.go(-1)"/>
<!--<input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' id="back" onclick="setActionVal('previous');"/>-->
<!--input type="submit" style="cursor:hand" class="button" value="Finish" title='Finish' id="finish" onclick="history.go(-1)" /> <!id="finish" onclick="setActionVal('finish');" -->
<div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div>
</table>
<div id="BgGlass" class="bgGlass" style="display: none"></div>
<div id='taxCalDiv' class="popUpContainerForTax">
</div>
<!-- <div id="BgGlassLastPg" class="bgGlass" style="display: none"></div>
<div id='taxCalDivLastPg' class="popUpContainerForTax"></div>
<div id='SchemeDiv' class="popUpContainerForTax"></div> -->
</div>
</form>
</body>
<script language="JavaScript" type="text/javascript">
<![CDATA[
fixedTableHdr('Details', '', 'simpleTran') ;
]]>
</script>
</html>
</xsl:template>
</xsl:stylesheet>
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