Commit 5478659d authored by ppatro's avatar ppatro

Physical count verification


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92173 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 32a86ed3
...@@ -300,6 +300,7 @@ public class CartonNoGenIC extends ValidatorEJB implements CartonNoGenICLocal, C ...@@ -300,6 +300,7 @@ public class CartonNoGenIC extends ValidatorEJB implements CartonNoGenICLocal, C
{ {
siteCode = checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginSiteCode" )); siteCode = checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginSiteCode" ));
valueXmlString.append("<pallet_label>").append("N").append("</pallet_label>"); valueXmlString.append("<pallet_label>").append("N").append("</pallet_label>");
valueXmlString.append("<printer_name protect=\"1\">").append("").append("</printer_name>");
} }
else if("pallet_label".equalsIgnoreCase(currentColumn.trim())) else if("pallet_label".equalsIgnoreCase(currentColumn.trim()))
{ {
......
...@@ -42,6 +42,7 @@ public class MPhyItemScanPos extends ValidatorEJB implements MPhyItemScanPosLoca ...@@ -42,6 +42,7 @@ public class MPhyItemScanPos extends ValidatorEJB implements MPhyItemScanPosLoca
int lineNo = 0; int lineNo = 0;
String invStat = "",sql = ""; String invStat = "",sql = "";
Double quantityInput = 0.0; Double quantityInput = 0.0;
int rec=0;
try try
{ {
conn.setAutoCommit(false); conn.setAutoCommit(false);
...@@ -128,6 +129,32 @@ public class MPhyItemScanPos extends ValidatorEJB implements MPhyItemScanPosLoca ...@@ -128,6 +129,32 @@ public class MPhyItemScanPos extends ValidatorEJB implements MPhyItemScanPosLoca
//added by Kunal ON 07/09/12 //added by Kunal ON 07/09/12
PhyScanQtyUpdate qtyUpdate = new PhyScanQtyUpdate(); PhyScanQtyUpdate qtyUpdate = new PhyScanQtyUpdate();
qtyUpdate.quantityUpdate( tranId, lineNo, locCode, itemCode, lotNo, lotSl, quantityInput , invStat, conn); qtyUpdate.quantityUpdate( tranId, lineNo, locCode, itemCode, lotNo, lotSl, quantityInput , invStat, conn);
rec=0;
sql="select count(*) from physcandet where tran_id=? and line_no=? and QUANTITY<>QTY_PHYSICAL";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,tranId);
pstmt.setInt(2,lineNo);
rs=pstmt.executeQuery();
if(rs.next())
{
rec=rs.getInt(1);
}
rs.close();
rs=null;
pstmt.close();
pstmt=null;
if(rec==0)
{
sql="update physcandet set verified='Y',reverify='N' where tran_id=? and line_no=? ";
pstmt=conn.prepareStatement(sql);
pstmt1.setString(1,tranId);
pstmt1.setInt(2,lineNo);
pstmt.executeUpdate();
pstmt.close();
pstmt=null;
}
} }
} }
catch(Exception e) catch(Exception e)
......
...@@ -67,6 +67,7 @@ public class PhyItemScanPos extends ValidatorEJB implements PhyItemScanPosLocal, ...@@ -67,6 +67,7 @@ public class PhyItemScanPos extends ValidatorEJB implements PhyItemScanPosLocal,
String invStat = "", winName = ""; String invStat = "", winName = "";
NodeList parentNodeList = null; NodeList parentNodeList = null;
Node parentNode = null; Node parentNode = null;
int rec=0;
try try
{ {
...@@ -107,6 +108,7 @@ public class PhyItemScanPos extends ValidatorEJB implements PhyItemScanPosLocal, ...@@ -107,6 +108,7 @@ public class PhyItemScanPos extends ValidatorEJB implements PhyItemScanPosLocal,
if("w_phy_scan_verify".equalsIgnoreCase(winName))//added by Kunal on 07/09/12 if("w_phy_scan_verify".equalsIgnoreCase(winName))//added by Kunal on 07/09/12
{ {
lineNo=Integer.parseInt((genericUtility.getColumnValueFromNode("line_no",dom.getElementsByTagName("Detail3").item(i))).trim()); lineNo=Integer.parseInt((genericUtility.getColumnValueFromNode("line_no",dom.getElementsByTagName("Detail3").item(i))).trim());
tranId=genericUtility.getColumnValueFromNode("tran_id",dom.getElementsByTagName("Detail3").item(i));
} }
else else
{ {
...@@ -176,7 +178,30 @@ public class PhyItemScanPos extends ValidatorEJB implements PhyItemScanPosLocal, ...@@ -176,7 +178,30 @@ public class PhyItemScanPos extends ValidatorEJB implements PhyItemScanPosLocal,
//added by Kunal on 07/09/12 //added by Kunal on 07/09/12
PhyScanQtyUpdate qtyUpdate = new PhyScanQtyUpdate(); PhyScanQtyUpdate qtyUpdate = new PhyScanQtyUpdate();
qtyUpdate.quantityUpdate( tranId, lineNo, locCode, itemCode, lotNo, lotSl, quantityInput , invStat, conn); qtyUpdate.quantityUpdate( tranId, lineNo, locCode, itemCode, lotNo, lotSl, quantityInput , invStat, conn);
rec=0;
sql="select count(*) from physcandet where tran_id=? and line_no=? and QUANTITY<>QTY_PHYSICAL";
pstmt1=conn.prepareStatement(sql);
pstmt1.setString(1,tranId);
pstmt1.setInt(2,lineNo);
rs1=pstmt1.executeQuery();
if(rs1.next())
{
rec=rs1.getInt(1);
}
rs1.close();
rs1=null;
pstmt1.close();
pstmt1=null;
if(rec==0)
{
sql="update physcandet set verified='Y',reverify='N' where tran_id=? and line_no=? ";
pstmt1=conn.prepareStatement(sql);
pstmt1.setString(1,tranId);
pstmt1.setInt(2,lineNo);
pstmt1.executeUpdate();
pstmt1.close();
pstmt1=null;
}
} }
...@@ -383,9 +408,10 @@ class PhyScanQtyUpdate ...@@ -383,9 +408,10 @@ class PhyScanQtyUpdate
sql = " SELECT L.PHY_HAN_BASIS, L.PHY_HAN_UOM , D.UNIT FROM PHYSCAN H,PHYSCANDET D,ITEM M,LOCATION L " sql = " SELECT L.PHY_HAN_BASIS, L.PHY_HAN_UOM , D.UNIT FROM PHYSCAN H,PHYSCANDET D,ITEM M,LOCATION L "
+ " WHERE H.TRAN_ID = ? AND D.ITEM_CODE = M.ITEM_CODE AND D.LOC_CODE = L.LOC_CODE AND L.INV_STAT = ? " + " WHERE H.TRAN_ID=D.TRAN_ID AND H.TRAN_ID = ? AND D.ITEM_CODE = M.ITEM_CODE AND D.LOC_CODE = L.LOC_CODE AND L.INV_STAT = ? "
+ " AND D.LOT_NO = ? AND D.ITEM_CODE = ? AND D.LOT_SL = ? "; + " AND D.LOT_NO = ? AND D.ITEM_CODE = ? AND D.LOT_SL = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId); pstmt.setString(1, tranId);
pstmt.setString(2, invStat); pstmt.setString(2, invStat);
......
package ibase.webitm.ejb.wms;
import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import ibase.webitm.utility.TransIDGenerator;
import java.rmi.RemoteException;
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.Calendar;
import java.util.GregorianCalendar;
import java.sql.Timestamp;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.ejb.Stateless;
@Stateless
public class PhyItemVerifyIC extends ValidatorEJB implements PhyItemVerifyICLocal, PhyItemVerifyICRemote
{
GenericUtility genericUtility = GenericUtility.getInstance();
public String wfValData() throws RemoteException,ITMException
{
return "";
}
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
String errString = null;
Document dom = null;
Document dom1 = null;
Document dom2 = null;
try
{
System.out.println("Val xmlString :: " + xmlString );
System.out.println("Val xmlString1 :: " + xmlString1 );
System.out.println("Val xmlString2 :: " + xmlString2 );
dom = parseString(xmlString);
dom1 = parseString(xmlString1);
dom2 = parseString(xmlString2);
errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
}
catch(Exception e)
{
throw new ITMException( e );
}
return (errString);
}
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
int ctr=0;
int count = 0;
String childNodeName = null;
String errString = "";
Connection conn = null;
PreparedStatement pstmt = null ;
ResultSet rs = null , rs1 = null;
String sql = "" ;
String userId = "";
int currentFormNo=0;
int childNodeListLength;
double quantity = 0;
double qty = 0;
ConnDriver connDriver = new ConnDriver();
String columnValue ="", sSQL = "", itemCode = "", lotNo = "", lotSl ="";
String locCode = "";
String siteCode = "";
String invStat = "",isEmpty;
double quantityInput=0;
String phyHanBasis="",unit="",toUnit="",mrfPartNo="";
String sqlForCase="";
PreparedStatement pstmt1= null;
ResultSet rs2 = null;
double shipperSize = 0, volumn = 0, convFact = 1, meffQty = 0;
DistCommon discommon = new DistCommon();
Timestamp date1 = null;
String remarks="";
String reverify="";
ArrayList errList = new ArrayList();
ArrayList errFields = new ArrayList();
StringBuffer errStringXml = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root><Errors>");
String errorType = "", errCode = "";
String errFieldName = "";
try
{
conn = connDriver.getConnectDB("DriverITM");
connDriver = null;
userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode");
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
}
switch(currentFormNo)
{
case 2:
{
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
System.out.println("Enter into second form validation");
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if( childNodeName.equalsIgnoreCase( "item_code" ))
{
if(childNode.getFirstChild() == null)
{
errList.add( "NULLITCODE" );
errFields.add( childNodeName.toLowerCase() );
}
else
{
locCode = genericUtility.getColumnValue("loc_code", dom);
itemCode = genericUtility.getColumnValue("item_code", dom);
sSQL = "SELECT COUNT(*) FROM item WHERE ITEM_CODE = ?";
pstmt = conn.prepareStatement(sSQL);
pstmt.setString(1, itemCode);
rs = pstmt.executeQuery();
if(rs.next())
{
count = rs.getInt(1);
}
pstmt.close();
pstmt = null;
rs.close();
rs = null;
if(count == 0)
{
errList.add( "VMITEM1" );
errFields.add( childNodeName.toLowerCase() );
}
}
}
else if( childNodeName.equalsIgnoreCase( "lot_no" ))
{
if(childNode.getFirstChild() == null)
{
errList.add( "NULLLOTNO" );
errFields.add( childNodeName.toLowerCase() );
}
}
else if( childNodeName.equalsIgnoreCase( "lot_sl" ))
{
System.out.println("lot sl["+childNode.getNodeValue()+"]");
if(childNode.getFirstChild() == null)
{
errList.add( "VLOT01" );
errFields.add( childNodeName.toLowerCase() );
}
}
else if(childNodeName.equalsIgnoreCase( "reverify" ))
{
reverify = genericUtility.getColumnValue("reverify", dom);
System.out.println("reverify----"+reverify);
if(!"N".equals(reverify.trim()) && !"Y".equals(reverify.trim()))
{
errList.add( "INVVERIFY" );
errFields.add( childNodeName.toLowerCase() );
}
}
else if( childNodeName.equalsIgnoreCase( "phy_input" ))
{
System.out.println("phy_input["+childNode.getNodeValue()+"]");
System.out.println("phy input="+checkNull(genericUtility.getColumnValue("phy_input",dom)).trim());
if( !isInteger( checkNull(genericUtility.getColumnValue("phy_input",dom)).trim()))
{
errList.add( "NOTANUMBER" );
errFields.add( childNodeName.toLowerCase() );
}
else
{
errString=validateQty(dom,dom2,conn,userId);
System.out.println("errString----"+errString);
if((errString.trim()).length()>0)
{
errList.add( errString );
errFields.add( childNodeName.toLowerCase() );
}
}
}
}
}
}
int errListSize = errList.size();
if (errListSize > 0)
{
for (int cnt = 0; cnt < errListSize; cnt++)
{
errCode = (String)errList.get(cnt);
errFieldName = (String)errFields.get(cnt);
errString = getErrorString(errFieldName, 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)
{
e.printStackTrace();
errString=e.getMessage();
throw new ITMException( e );
}
finally
{
try
{
if(conn!=null)
{
if(rs != null )rs.close();
if(rs1 != null )rs.close();
rs = null;
rs1 = null;
if(pstmt != null )pstmt.close();
pstmt =null;
conn.close();
conn = null;
}
conn = null;
}catch(Exception d)
{
d.printStackTrace();
throw new ITMException( d );
}
}
errString = errStringXml.toString();
return errString;
}
public String itemChanged() throws RemoteException, ITMException
{
return "";
}
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 valueXmlString = "";
try
{
dom = parseString(xmlString);
dom1 = parseString(xmlString1);
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);
}
System.out.println("xmlString---"+xmlString);
System.out.println("xmlString1---"+xmlString1);
System.out.println("xmlString2---"+xmlString2);
valueXmlString = itemChanged( dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams );
}
catch(Exception e)
{
System.out.println("Exception : [TrainingEJB][itemChanged(String,String)] :==>\n"+e.getMessage());
throw new ITMException( e );
}
return valueXmlString;
}
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
StringBuffer valueXmlString = new StringBuffer();
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null ;
String sSQL = "";
String sql = "";
int currentFormNo = 0 ;
int lineNo = 0 ;
int prioritySeq = 0;
String siteCode = "";
String loginCode = "";
String chgTerm = "";
String siteDescr = "";
String itemDescr = "";
String locDescr = "";
String tranId = "";
int cnt = 0;
java.sql.Date wDate=null;
int days=0;
int totHdays=0;
String status = "";
String cycleCriteria = "";
String analysisClass = "";
String itemCode = "",locCode = "", lotNo = "", lotSl = "", quantity = "", unit = "";
String currAppdate= "", empCode = "",loginSiteCode = "",isEmpty = "";
String phyHanBasis = "", phyHanBasisDesc = "";
Timestamp currDateNew = null;
Timestamp date2 = null;
java.util.Date currDate = null;
java.util.Date todayDate=new java.util.Date();
String currDateStr = null;
ConnDriver connDriver = new ConnDriver();
GenericUtility genericUtility = GenericUtility.getInstance();
String phyHanUOM = "";
java.util.Date utilDate = new java.util.Date();
String isStock="";
try
{
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver=null;
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getDBDateFormat());
Timestamp date1 = Timestamp.valueOf(sdf.format(utilDate).toString() + " 00:00:00.0");
String applDateFormat = genericUtility.getApplDateFormat();
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
}
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?><Root><header><editFlag>");
valueXmlString.append(editFlag).append("</editFlag></header>");
sSQL = "select work_date from work_calendar where work_date < ? and working='N' order by work_date desc ";
pstmt=conn.prepareStatement(sSQL);
pstmt.setTimestamp(1,date1);
rs=pstmt.executeQuery();
while(rs.next())
{
date2=rs.getTimestamp(1);
wDate=new java.sql.Date(date2.getTime());
if(wDate.before(todayDate))
{
System.out.println("days-----"+days);
days = (int)countDaysBetween(wDate,todayDate);
System.out.println("days-----"+days);
if(days==1)
{
todayDate=wDate;
totHdays++;
}
}
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (rs != null)
{
rs.close();
rs = null;
}
System.out.println("totHdays---"+totHdays);
System.out.println("days-----"+days);
date2.setTime(date1.getTime() - (totHdays*(1000 * 60 * 60 * 24)));
switch(currentFormNo)
{
case 1 :
{
siteCode=checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginSiteCode" ));
System.out.println("siteCode---"+siteCode);
if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{
currDate = new java.util.Date();
sdf = new SimpleDateFormat(applDateFormat);
currDateStr = sdf.format(currDate);
loginCode = checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" ));
System.out.println("********* login code ["+loginCode+"]");
sql = "SELECT EMP_CODE FROM USERS WHERE CODE = ?";
pstmt = conn.prepareStatement( sql );
pstmt.setString(1, loginCode);
rs = pstmt.executeQuery();
if( rs.next() )
{
empCode = rs.getString("EMP_CODE");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("Checking for location Stock availability isStock---"+isStock);
valueXmlString.append("<Detail1 domID='1' selected=\"N\">\r\n");
valueXmlString.append("<attribute selected=\"N\" updateFlag=\"A\" status=\"N\" pkNames=\"\" />\r\n");
chgTerm = checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "chgTerm" ));
siteCode = checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginSiteCode" ));
valueXmlString.append("<confirmed protect=\"1\">").append("<![CDATA[N]]>").append("</confirmed>");
valueXmlString.append( "<tran_date><![CDATA[" ).append( currDateStr ).append( "]]></tran_date>\r\n" );
valueXmlString.append("<site_code>").append("<![CDATA["+siteCode+"]]>").append("</site_code>");
currDateNew = new java.sql.Timestamp(System.currentTimeMillis()) ;
currAppdate = new SimpleDateFormat(genericUtility.getApplDateFormat()).format(currDateNew).toString();
currAppdate = genericUtility.getValidDateString(currAppdate,genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat());
valueXmlString.append( "<emp_code__user><![CDATA[" ).append( empCode ).append( "]]></emp_code__user>\r\n" );
sql = "SELECT DESCR FROM SITE WHERE SITE_CODE = ?";
pstmt = conn.prepareStatement( sql );
pstmt.setString( 1, siteCode );
rs = pstmt.executeQuery();
if( rs.next() )
{
siteDescr = rs.getString("DESCR");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append( "<tran_type><![CDATA[" ).append("M").append( "]]></tran_type>\r\n" );
valueXmlString.append( "<descr><![CDATA[" ).append( checkNull( siteDescr )).append( "]]></descr>\r\n" );
valueXmlString.append( "<chg_user><![CDATA[" ).append( loginCode ).append( "]]></chg_user>\r\n" );
valueXmlString.append( "<chg_date><![CDATA[" ).append( currDateStr ).append( "]]></chg_date>\r\n" );
valueXmlString.append( "<chg_term><![CDATA[" ).append( chgTerm ).append( "]]></chg_term>\r\n" );
}
valueXmlString.append("</Detail1>");
}
break;
case 2 :
{
loginCode = checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" ));
loginSiteCode = checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginSiteCode" ));
System.out.println("loginCode --->["+loginCode+"]");
tranId = genericUtility.getColumnValue("tran_id", dom1);
System.out.println("tran Id in Detail --->["+tranId+"]");
if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{
sSQL = "SELECT H.TRAN_ID,S.STATUS , S.LINE_NO, S.ITEM_CODE,S.SITE_CODE,S.LOC_CODE,S.LOT_NO,S.LOT_SL, S.QUANTITY,S.UNIT,M.DESCR AS ITEM_DESCR, "
+ " L.DESCR AS LOC_DESCR, L.PHY_HAN_BASIS, L.PHY_HAN_UOM , S.CYCLE_CRITERIA, S.ANALYSIS_CLASS , S.PHY_INPUT, S.PRIORITY_SEQ"
+ " ,CASE WHEN S.PHY_INPUT IS NULL THEN 0 ELSE S.PHY_INPUT END PHY_INPUT "
+ " FROM PHYSCANDET S,ITEM M,LOCATION L,PHYSCAN H "
+ " WHERE H.TRAN_ID=S.TRAN_ID AND S.ITEM_CODE = M.ITEM_CODE AND S.LOC_CODE = L.LOC_CODE "
+ " AND H.tran_date <= ? AND " +
" (CASE WHEN S.QUANTITY IS NULL THEN 0 ELSE S.QUANTITY END ) !=(CASE WHEN S.QTY_PHYSICAL IS NULL THEN 0 ELSE S.QTY_PHYSICAL END ) " + //change done by kunal add QTY_PHYSICAL for PHY_INPUT
" AND S.STATUS = 'Y' AND H.SITE_CODE=? AND CASE WHEN S.VERIFIED IS NULL THEN 'N' ELSE S.VERIFIED END='N' " +
" AND CASE WHEN S.REVERIFY IS NULL THEN 'Y' ELSE S.REVERIFY END='Y' ORDER BY PRIORITY_SEQ ASC";
pstmt=conn.prepareStatement(sSQL);
pstmt.setTimestamp(1,date1);
pstmt.setString(2, loginSiteCode);
rs=pstmt.executeQuery();
while(rs.next())
{
lineNo++;
tranId=rs.getString("TRAN_ID");
System.out.println("Line_no["+lineNo+"]");
itemCode = rs.getString("ITEM_CODE");
itemDescr = rs.getString("ITEM_DESCR");
siteCode = rs.getString("SITE_CODE");
locCode = rs.getString("LOC_CODE");
locDescr = rs.getString("LOC_DESCR");
lotNo = rs.getString("LOT_NO");
lotSl = rs.getString("LOT_SL");
quantity = rs.getString("QUANTITY");
unit = rs.getString("UNIT");
phyHanBasis = rs.getString("PHY_HAN_BASIS");
phyHanUOM = rs.getString("PHY_HAN_UOM");
cycleCriteria = rs.getString("CYCLE_CRITERIA");
analysisClass = rs.getString("ANALYSIS_CLASS");
System.out.println("phyHanBasis - >[" + phyHanBasis + "] phyHanUOM [" + phyHanUOM + "]");
phyHanBasisDesc = "";
if (phyHanBasis != null )
{
if ("L".equalsIgnoreCase(phyHanBasis)) {
phyHanBasisDesc = "Lot Wise Shipper";
} else if ("I".equalsIgnoreCase(phyHanBasis))
{
phyHanBasisDesc = " Integral Quantity";
} else if ("U".equalsIgnoreCase(phyHanBasis))
{
phyHanBasisDesc = "UOM";
} else if ("P".equalsIgnoreCase(phyHanBasis))
{
phyHanBasisDesc = "Pallet Basis";
}
}
System.out.println(" phyHanBasisDesc ["+phyHanBasisDesc+"]");
valueXmlString.append("<Detail2 domID='" + lineNo+ "' selected=\"N\">\r\n");
valueXmlString.append("<tran_id/>");
valueXmlString.append( "<ref_id><![CDATA[" ).append( tranId).append( "]]></ref_id>\r\n" );
valueXmlString.append( "<ref_line_no><![CDATA[" ).append( rs.getInt("LINE_NO")).append( "]]></ref_line_no>\r\n" );
valueXmlString.append("<line_no><![CDATA[").append(lineNo).append("]]></line_no>\r\n");
valueXmlString.append("<item_code><![CDATA[").append(checkNullAndTrim(itemCode)).append("]]></item_code>\r\n");
valueXmlString.append( "<descr><![CDATA[" ).append( checkNull( itemDescr )).append( "]]></descr>\r\n" );
valueXmlString.append("<site_code><![CDATA[").append(siteCode).append("]]></site_code>\r\n");
valueXmlString.append("<loc_code><![CDATA[").append(checkNullAndTrim(locCode)).append("]]></loc_code>\r\n");
//valueXmlString.append("<location_descr>").append(locDescr).append("</location_descr>\r\n");
valueXmlString.append("<location_descr><![CDATA[").append(checkNullAndTrim(locDescr)).append("]]></location_descr>\r\n");
valueXmlString.append("<lot_no><![CDATA[").append(checkNullAndTrim(lotNo)).append("]]></lot_no>\r\n");
valueXmlString.append("<lot_sl><![CDATA[").append(checkNullAndTrim(lotSl)).append("]]></lot_sl>\r\n");
valueXmlString.append("<quantity><![CDATA[").append(quantity).append("]]></quantity>\r\n");
valueXmlString.append("<unit><![CDATA[").append(unit).append("]]></unit>\r\n");
valueXmlString.append("<qty_physical><![CDATA[").append(("0")).append("]]></qty_physical>\r\n");
valueXmlString.append("<phy_han_basis><![CDATA[").append(checkNull(phyHanBasis)).append("]]></phy_han_basis>\r\n");
valueXmlString.append("<phy_input_scan><![CDATA[").append(phyHanBasisDesc).append("]]></phy_input_scan>\r\n");
valueXmlString.append("<priority_seq><![CDATA[").append(prioritySeq+1).append("]]></priority_seq>\r\n");
valueXmlString.append("<emp_code__user><![CDATA[").append(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginEmpCode" )).append("]]></emp_code__user>\r\n"); //change done by Kunal on 14/09/12
valueXmlString.append("<analysis_class><![CDATA[").append(analysisClass).append("]]></analysis_class>\r\n");
valueXmlString.append("<cycle_criteria><![CDATA[").append(cycleCriteria).append("]]></cycle_criteria>\r\n");
valueXmlString.append("<phy_input><![CDATA[").append("").append("]]></phy_input>\r\n");
valueXmlString.append("<no_art><![CDATA[").append(Double.parseDouble(quantity)/convFact(itemCode, lotNo, lotSl, locCode, Double.parseDouble(quantity), conn,getValueFromXTRA_PARAMS(xtraParams,"loginCode"),date1)).append("]]></no_art>\r\n");
/*if( "U".equalsIgnoreCase(phyHanBasis))
{
valueXmlString.append("<conv_fact><![CDATA[").append(checkNull(phyHanUOM)).append("]]></conv_fact>\r\n");
}
else
{
valueXmlString.append("<conv_fact><![CDATA[").append("").append("]]></conv_fact>\r\n");
}*/
valueXmlString.append("<status><![CDATA[").append("Y").append("]]></status>\r\n");
valueXmlString.append("<reverify><![CDATA[").append("N").append("]]></reverify>\r\n");
valueXmlString.append("</Detail2>\r\n");
}
rs.close();
rs=null;
pstmt.close();
pstmt=null;
}
}
break;
}
valueXmlString.append("</Root>");
System.out.println("=================["+valueXmlString+"]");
}
catch(Exception e)
{
e.printStackTrace();
System.out.println("Exception ::"+e.getMessage());
try {
conn.rollback();
} catch (SQLException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
throw new ITMException(e);
}
finally
{
try
{
if(conn!=null)
{
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rs != null)
{
rs.close();
rs = null;
}
if(conn != null)
{
conn.close();
conn = null;
}
}
}
catch(Exception d)
{
d.printStackTrace();
}
}
return valueXmlString.toString();
}
private boolean isInteger( String input )
{
try
{
System.out.println(" Value of input ["+input+"]");
Integer.parseInt( input );
return true;
}
catch( Exception e)
{
return false;
}
}
private String checkNullAndTrim( String inputVal )
{
if ( inputVal == null )
{
inputVal = "";
}
else
{
inputVal = inputVal.trim();
}
return inputVal;
}
private String checkNull( String inputVal )
{
if ( inputVal == null )
{
inputVal = "";
}
return inputVal;
}
private double quanitityPerPallet(String itemCode,String lotNo, double pallet ,Connection conn)
{
int findNosOfPallet=0;
int nosOfPalletPerVolume=0;
int nosOfPalletPerWeight=0;
int perPalletArticle=0;
String sql="";
PreparedStatement pstmt = null;
ResultSet rs =null;
double shipperSize =0.0;
double grossWeight =0.0;
double netWeight =0.0;
double length=0.0;
double width=0.0;
double height=0.0;
Double nosOfPallet=0.0;
double quantity = 0.0;
DistCommon distComm = new DistCommon();
sql= "SELECT SHIPPER_SIZE, GROSS_WEIGHT, NET_WEIGHT, LENGTH, WIDTH ,HEIGHT FROM ITEM_LOT_PACKSIZE WHERE ITEM_CODE = ? " +
" AND ? BETWEEN LOT_NO__FROM AND LOT_NO__TO ";
try {
pstmt =conn.prepareStatement(sql);
pstmt.setString(1,itemCode);
pstmt.setString(2,lotNo);
rs=pstmt.executeQuery();
if(rs.next())
{
shipperSize=rs.getDouble(1);
grossWeight =rs.getDouble(2);
netWeight=rs.getDouble(3);
length=rs.getDouble(4);
width=rs.getDouble(5);
height=rs.getDouble(6);
}
rs.close();
pstmt.close();
rs=null;
pstmt =null;
double perPallateVolume = Double.parseDouble(distComm.getDisparams("999999","PER_PALLET__VOLUME",conn));
System.out.println("shipperSize ["+shipperSize+"] grossWeight ["+grossWeight+"] netWeight ["+netWeight+"] length ["+length+"] width ["+width+"] height ["+height+"]");
//nosOfPallet=(quantity*length*width*height/shipperSize)/(Double.parseDouble(distComm.getDisparams("999999","PER_PALLET__VOLUME",conn)));
double newValue = Math.floor((pallet * perPallateVolume)/(length*width*height));
System.out.println(" before Math.floor -->["+newValue+"]");
quantity = newValue * shipperSize;
System.out.println("<!@#>QUANTITY " +quantity);
/*//nosOfPalletPerVolume=(new Double((Math.round(nosOfPallet)))).intValue();
System.out.println("<!@#>nosOfPalletPerVolume" +nosOfPalletPerVolume);*/
//System.out.println("<!@#>findNosOfPallet" +findNosOfPallet);
} catch (SQLException e) {
e.printStackTrace();
}
return quantity;
}
public long countDaysBetween(java.sql.Date startdate, java.util.Date enddate)
{
//reset all hours mins and secs to zero on start date
Calendar startCal = GregorianCalendar.getInstance();
startCal.setTime(startdate);
startCal.set(Calendar.HOUR_OF_DAY, 0);
startCal.set(Calendar.MINUTE, 0);
startCal.set(Calendar.SECOND, 0);
long startTime = startCal.getTimeInMillis();
//reset all hours mins and secs to zero on end date
Calendar endCal = GregorianCalendar.getInstance();
endCal.setTime(enddate);
endCal.set(Calendar.HOUR_OF_DAY, 0);
endCal.set(Calendar.MINUTE, 0);
endCal.set(Calendar.SECOND, 0);
long endTime = endCal.getTimeInMillis();
return (endTime - startTime)/(1000 * 60 * 60 * 24) ;
}
private String generateTranId( String windowName, Connection conn )throws
ITMException
{
PreparedStatement pstmt = null;
ResultSet rs = null;
String selSql = "";
String tranId = "";
String tranSer = "";
String keyString = "";
String keyCol = "";
String xmlValues = "";
String paySiteCode = "";
String effectiveDate = "";
java.sql.Date effDate = null;
try
{
selSql = "SELECT KEY_STRING, TRAN_ID_COL, REF_SER FROM TRANSETUP WHERE TRAN_WINDOW = ? ";
//System.out.println("selSql :"+selSql);
pstmt = conn.prepareStatement(selSql);
pstmt.setString( 1, windowName );
rs = pstmt.executeQuery();
if (rs.next())
{
keyString = rs.getString("KEY_STRING");
keyCol = rs.getString("TRAN_ID_COL");
tranSer = rs.getString("REF_SER");
}
rs.close();rs = null;
pstmt.close();pstmt = null;
System.out.println("keyString :"+keyString);
System.out.println("keyCol :"+keyCol);
System.out.println("tranSer :"+tranSer);
xmlValues ="<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>";
xmlValues = xmlValues + "<Header></Header>";
xmlValues = xmlValues + "<Detail1>";
xmlValues = xmlValues + "<tran_id></tran_id>";
xmlValues = xmlValues + "</Detail1></Root>";
System.out.println("xmlValues :["+xmlValues+"]");
TransIDGenerator tg = new TransIDGenerator(xmlValues, "BASE",
CommonConstants.DB_NAME);
tranId = tg.generateTranSeqID(tranSer, keyCol, keyString, conn);
System.out.println("tranId :"+tranId);
}
catch (SQLException ex)
{
System.out.println("Exception ::" +selSql+ ex.getMessage() + ":");
ex.printStackTrace();
throw new ITMException(ex);
}
catch (Exception e)
{
System.out.println("Exception ::" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e){}
}
return tranId;
}//generateTranTd()
private String validateQty(Document dom,Document dom2,Connection conn,String userId)
{
double quantityTest = 0.0;
java.util.Date utilDate=new java.util.Date();
SimpleDateFormat sdf =null;
Timestamp date1 = null;
System.out.println("tran date="+date1);
String itemCode="";
String lotNo="";
String lotSl="";
String sSQL="";
String locCode="";
PreparedStatement pstmt=null,pstmt1=null;
ResultSet rs=null,rs2=null;
String invStat="";
double quantity=0;
double quantityInput=0;
String phyHanBasis="";
String unit="";
String toUnit="";
String sqlForCase="";
int shipperSize=0;
String mrfPartNo="";
double volumn=0, convFact = 1, meffQty = 0;
String errString="";
DistCommon discommon = new DistCommon();
try
{
sdf =new SimpleDateFormat(genericUtility.getDBDateFormat());
date1 =Timestamp.valueOf(sdf.format(utilDate).toString() + " 00:00:00.0");
date1 = Timestamp.valueOf(genericUtility.getValidDateString( genericUtility.getColumnValue("tran_date", dom2) , genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
itemCode = genericUtility.getColumnValue("item_code", dom);
lotNo = genericUtility.getColumnValue("lot_no", dom);
lotSl = genericUtility.getColumnValue("lot_sl", dom);
locCode = genericUtility.getColumnValue("loc_code", dom);
System.out.println("locCode ="+locCode);
sSQL = "select inv_stat from location where loc_code = ? ";
pstmt = conn.prepareStatement(sSQL);
pstmt.setString(1, locCode);
rs = pstmt.executeQuery();
if(rs.next())
{
invStat = rs.getString(1);
}
pstmt.close();
pstmt = null;
rs.close();
rs = null;
System.out.println("@@@@@ quantity validation modified.....");
quantity = Double.parseDouble(genericUtility.getColumnValue("quantity", dom) == null ?"0":genericUtility.getColumnValue("quantity", dom)); //chnage done by Kunal on 14/09/12
quantityInput = Double.parseDouble(genericUtility.getColumnValue("phy_input", dom) == null ? "0":genericUtility.getColumnValue("phy_input", dom) ); //chnage done by Kunal on 14/09/12
itemCode = checkNull(genericUtility.getColumnValue("item_code",dom)).trim();
lotNo = checkNull(genericUtility.getColumnValue("lot_no",dom)).trim();
lotSl = checkNull(genericUtility.getColumnValue("lot_sl",dom)).trim();
System.out.println("quantity ["+quantity+"] quantityInput ["+quantityInput+"] itemCode ["+itemCode+"] lotNo ["+lotNo+"] lotSl ["+lotSl+"]");
date1 = Timestamp.valueOf(genericUtility.getValidDateString( genericUtility.getColumnValue("tran_date", dom2) , genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
sSQL = "SELECT L.PHY_HAN_BASIS, L.PHY_HAN_UOM , D.UNIT FROM PHYSCAN H,PHYSCANDET D,ITEM M,LOCATION L "
+" WHERE H.TRAN_DATE <= ? AND D.ITEM_CODE = M.ITEM_CODE "
+" AND D.LOC_CODE = L.LOC_CODE AND L.INV_STAT = ? "
+" AND D.LOT_NO = ? AND D.ITEM_CODE = ? AND D.LOT_SL = ? AND CASE WHEN D.VERIFIED IS NULL THEN 'N' ELSE D.VERIFIED END='N' ";
System.out.println("** sSQL **["+sSQL+"]");
pstmt = conn.prepareStatement(sSQL);
pstmt.setTimestamp(1, date1);
pstmt.setString(2, invStat);
pstmt.setString(3, lotNo);
pstmt.setString(4, itemCode);
pstmt.setString(5, lotSl);
rs = pstmt.executeQuery();
if(rs.next())
{
phyHanBasis = rs.getString("PHY_HAN_BASIS");
unit = checkNull(rs.getString("PHY_HAN_UOM"));
toUnit = checkNull(rs.getString("UNIT"));
System.out.println(" Physical handel basis is ["+phyHanBasis+"]");
phyHanBasis = checkNull(phyHanBasis);
sqlForCase =" SELECT ILP.SHIPPER_SIZE, I.UNIT, I.MFR_PART_NO, I.VOLUME FROM ITEM I, ITEM_LOT_PACKSIZE ILP " +
" WHERE ILP.ITEM_CODE = ? AND I.ITEM_CODE = ILP.ITEM_CODE "+
" AND ? BETWEEN LOT_NO__FROM AND LOT_NO__TO ";
pstmt1 = conn.prepareStatement(sqlForCase);
pstmt1.setString(1, itemCode);
pstmt1.setString(2, lotNo);
rs2 = pstmt1.executeQuery();
if( rs2.next())
{
shipperSize = rs2.getInt("SHIPPER_SIZE");
mrfPartNo = rs2.getString("MFR_PART_NO");
volumn = rs2.getDouble("VOLUME");
}
rs2.close();
rs2 = null;
pstmt1.close();
pstmt1 = null;
if("".equalsIgnoreCase(phyHanBasis))
{
//errString = getErrorString("phy_input","SCANTYPE",userId);
errString = "SCANTYPE";
return errString;
}
if("L".equalsIgnoreCase(phyHanBasis))
{
if( (shipperSize * quantityInput) != quantity)
{
System.out.println(" as per 'L' ");
//errString = getErrorString("phy_input","NOTMATCH",userId);
errString="NOTMATCH";
return errString;
}
}
else if("I".equalsIgnoreCase(phyHanBasis))
{
if( quantityInput != quantity)
{
System.out.println(" as per 'I' ");
//errString = getErrorString("phy_input","NOTMATCH",userId);
errString="NOTMATCH";
return errString;
}
}
else if ("U".equalsIgnoreCase(phyHanBasis))
{
System.out.println(" as per 'U' ");
if(!unit.equalsIgnoreCase(toUnit))
{
if(volumn != 0)
{
convFact = volumn;
}
ArrayList convQtyList = discommon.getConvQuantityFact(unit, toUnit, itemCode, quantityInput, convFact,conn);
System.out.println("convQtyList = "+convQtyList);
meffQty = Double.parseDouble(convQtyList.get(1).toString());
System.out.println("meffQty ["+meffQty+"]");
if(meffQty == -999999999)
{
meffQty = 0;
//errString = getErrorString("phy_input","CONVQTYNFD",userId);
errString="CONVQTYNFD";
return errString;
}
if (volumn == 0)
{
volumn= Double.parseDouble(convQtyList.get(0).toString());
}
}
else
{
meffQty = quantityInput ;
if (volumn == 0)
{
volumn=1;
}
}
System.out.println("meffQty ["+meffQty+"] and quantity ["+quantityInput+"]");
if( meffQty != quantity )
{
System.out.println(" in side (meffQty != quantity) ");
//errString = getErrorString("phy_input","NOTMATCH",userId);
errString="NOTMATCH";
return errString;
}
}
else if ("P".equalsIgnoreCase(phyHanBasis))
{
quantityInput = quanitityPerPallet(itemCode,lotNo, quantityInput ,conn );
if( quantityInput != quantity)
{
System.out.println(" as per 'P' ");
//errString = getErrorString("phy_input","NOTMATCH",userId);
errString="NOTMATCH";
return errString;
}
}
}
if( rs != null )
{
rs.close();
rs = null;
}
if( pstmt != null)
{
pstmt.close();
pstmt = null;
}
}catch(Exception e)
{
e.printStackTrace();
}
return errString;
}
private double convFact(String itemCode,String lotNo,String lotSl,String locCode,double quantity,Connection conn,String userId,Timestamp date1)
{
double quantityTest = 0.0;
java.util.Date utilDate=new java.util.Date();
SimpleDateFormat sdf =null;
//Timestamp date1 = null;
System.out.println("tran date="+date1);
String sSQL="";
PreparedStatement pstmt=null,pstmt1=null;
ResultSet rs=null,rs2=null;
String invStat="";
double quantityInput=0;
String phyHanBasis="";
String unit="";
String toUnit="";
String sqlForCase="";
int shipperSize=0;
String mrfPartNo="";
double volumn=0, convFact = 1, meffQty = 0;
String errString="";
DistCommon discommon = new DistCommon();
try
{
sdf =new SimpleDateFormat(genericUtility.getDBDateFormat());
//date1 =Timestamp.valueOf(sdf.format(utilDate).toString() + " 00:00:00.0");
//date1 = Timestamp.valueOf(genericUtility.getValidDateString( genericUtility.getColumnValue("tran_date", dom2) , genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("locCode ="+locCode);
sSQL = "select inv_stat from location where loc_code = ? ";
pstmt = conn.prepareStatement(sSQL);
pstmt.setString(1, locCode);
rs = pstmt.executeQuery();
if(rs.next())
{
invStat = rs.getString(1);
}
pstmt.close();
pstmt = null;
rs.close();
rs = null;
System.out.println("@@@@@ quantity validation modified.....");
//quantity = Double.parseDouble(genericUtility.getColumnValue("quantity", dom) == null ?"0":genericUtility.getColumnValue("quantity", dom)); //chnage done by Kunal on 14/09/12
System.out.println("quantity ["+quantity+"] quantityInput ["+quantityInput+"] itemCode ["+itemCode+"] lotNo ["+lotNo+"] lotSl ["+lotSl+"]");
//date1 = Timestamp.valueOf(genericUtility.getValidDateString( genericUtility.getColumnValue("tran_date", dom2) , genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
sSQL = "SELECT L.PHY_HAN_BASIS, L.PHY_HAN_UOM , D.UNIT FROM PHYSCAN H,PHYSCANDET D,ITEM M,LOCATION L "
+" WHERE H.TRAN_DATE <= ? AND D.ITEM_CODE = M.ITEM_CODE "
+" AND D.LOC_CODE = L.LOC_CODE AND L.INV_STAT = ? "
+" AND D.LOT_NO = ? AND D.ITEM_CODE = ? AND D.LOT_SL = ? AND CASE WHEN D.VERIFIED IS NULL THEN 'N' ELSE D.VERIFIED END='N' ";
System.out.println("** sSQL **["+sSQL+"]");
pstmt = conn.prepareStatement(sSQL);
pstmt.setTimestamp(1, date1);
pstmt.setString(2, invStat);
pstmt.setString(3, lotNo);
pstmt.setString(4, itemCode);
pstmt.setString(5, lotSl);
rs = pstmt.executeQuery();
if(rs.next())
{
phyHanBasis = rs.getString("PHY_HAN_BASIS");
unit = checkNull(rs.getString("PHY_HAN_UOM"));
toUnit = checkNull(rs.getString("UNIT"));
System.out.println(" Physical handel basis is ["+phyHanBasis+"]");
phyHanBasis = checkNull(phyHanBasis);
sqlForCase =" SELECT ILP.SHIPPER_SIZE, I.UNIT, I.MFR_PART_NO, I.VOLUME FROM ITEM I, ITEM_LOT_PACKSIZE ILP " +
" WHERE ILP.ITEM_CODE = ? AND I.ITEM_CODE = ILP.ITEM_CODE "+
" AND ? BETWEEN LOT_NO__FROM AND LOT_NO__TO ";
pstmt1 = conn.prepareStatement(sqlForCase);
pstmt1.setString(1, itemCode);
pstmt1.setString(2, lotNo);
rs2 = pstmt1.executeQuery();
if( rs2.next())
{
shipperSize = rs2.getInt("SHIPPER_SIZE");
mrfPartNo = rs2.getString("MFR_PART_NO");
volumn = rs2.getDouble("VOLUME");
}
rs2.close();
rs2 = null;
pstmt1.close();
pstmt1 = null;
if("".equalsIgnoreCase(phyHanBasis))
{
convFact=0;
}
if("L".equalsIgnoreCase(phyHanBasis))
{
convFact=shipperSize;
}
else if("I".equalsIgnoreCase(phyHanBasis))
{
convFact=1;
}
else if ("U".equalsIgnoreCase(phyHanBasis))
{
System.out.println(" as per 'U' ");
if(!unit.equalsIgnoreCase(toUnit))
{
if(volumn != 0)
{
convFact = volumn;
}
}
else
{
convFact=1;
}
}
else if ("P".equalsIgnoreCase(phyHanBasis))
{
convFact = getPallet(itemCode,lotNo, quantity ,conn );
}
}
if( rs != null )
{
rs.close();
rs = null;
}
if( pstmt != null)
{
pstmt.close();
pstmt = null;
}
}catch(Exception e)
{
e.printStackTrace();
}
return convFact;
}
private double getPallet(String itemCode,String lotNo, double quantity ,Connection conn)
{
int findNosOfPallet=0;
int nosOfPalletPerVolume=0;
int nosOfPalletPerWeight=0;
int perPalletArticle=0;
String sql="";
PreparedStatement pstmt = null;
ResultSet rs =null;
double shipperSize =0.0;
double grossWeight =0.0;
double netWeight =0.0;
double length=0.0;
double width=0.0;
double height=0.0;
Double nosOfPallet=0.0;
DistCommon distComm = new DistCommon();
sql= "SELECT SHIPPER_SIZE, GROSS_WEIGHT, NET_WEIGHT, LENGTH, WIDTH ,HEIGHT FROM ITEM_LOT_PACKSIZE WHERE ITEM_CODE = ? " +
" AND ? BETWEEN LOT_NO__FROM AND LOT_NO__TO ";
try {
pstmt =conn.prepareStatement(sql);
pstmt.setString(1,itemCode);
pstmt.setString(2,lotNo);
rs=pstmt.executeQuery();
if(rs.next())
{
shipperSize=rs.getDouble(1);
grossWeight =rs.getDouble(2);
netWeight=rs.getDouble(3);
length=rs.getDouble(4);
width=rs.getDouble(5);
height=rs.getDouble(6);
}
rs.close();
pstmt.close();
rs=null;
pstmt =null;
double perPallateVolume = Double.parseDouble(distComm.getDisparams("999999","PER_PALLET__VOLUME",conn));
System.out.println("shipperSize ["+shipperSize+"] grossWeight ["+grossWeight+"] netWeight ["+netWeight+"] length ["+length+"] width ["+width+"] height ["+height+"]");
nosOfPallet=(quantity*length*width*height/shipperSize)/(Double.parseDouble(distComm.getDisparams("999999","PER_PALLET__VOLUME",conn)));
} catch (SQLException e) {
e.printStackTrace();
}
return nosOfPallet;
}
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();
while( rs.next() )
{
msgType = rs.getString("MSG_TYPE");
}
}
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;
}
}
package ibase.webitm.ejb.wms;
import ibase.webitm.ejb.dis.DistCommon;
import java.rmi.RemoteException;
import org.w3c.dom.*;
//import javax.ejb.EJBObject;
import java.sql.Connection;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local; // added for ejb3
@Local // added for ejb3
public interface PhyItemVerifyICLocal extends ValidatorLocal
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(Document currDom, Document hdrDom, Document allDom, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlCurrFrmString, String xmlHdrFrmString, String xmlAllFrmString, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlCurrFrmString, String xmlHdrFrmString,String xmlAllFrmString, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document currDom, Document hdrDom, Document allDom, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.wms;
import ibase.webitm.ejb.dis.DistCommon;
import java.rmi.RemoteException;
import org.w3c.dom.*;
//import javax.ejb.EJBObject;
import java.sql.Connection;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote; // added for ejb3
@Remote // added for ejb3
public interface PhyItemVerifyICRemote extends ValidatorRemote
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(Document currDom, Document hdrDom, Document allDom, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlCurrFrmString, String xmlHdrFrmString, String xmlAllFrmString, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlCurrFrmString, String xmlHdrFrmString,String xmlAllFrmString, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document currDom, Document hdrDom, Document allDom, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.wms;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.*;
import java.text.SimpleDateFormat;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
@javax.ejb.Stateless
public class PhyItemVerifyPos extends ValidatorEJB implements PhyItemVerifyPosLocal, PhyItemVerifyPosRemote
{
public String postSave()throws RemoteException,ITMException
{
return "";
}
public String postSave(String domString, String tranId,String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException
{
String errString = "";
String sSQL="",itemCode = "", locCode = "";
String siteCode = "";
String lotNo = "";
String lotSl = "";
NodeList parentNodeList = null;
Node parentNode = null;
int parentNodeListLength = 0;
int ctr = 0;
Document dom = null;
PreparedStatement pstmt = null, pstmt1 = null;
ResultSet rs = null,rs1=null;
java.util.Date utilDate = new java.util.Date();
int lineNo = 0;
String invStat = "",sql = "";
Double quantityInput = 0.0;
String refId="";
int refLineNo=0;
int rec=0;
try
{
conn.setAutoCommit(false);
GenericUtility genericUtility = GenericUtility.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getDBDateFormat());
Timestamp date1 = Timestamp.valueOf(sdf.format(utilDate).toString() + " 00:00:00.0");
System.out.println("STRING{"+domString+"}");
dom = genericUtility.parseString(domString);
siteCode = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginSiteCode" );
parentNodeList = dom.getElementsByTagName("Detail2");
parentNodeListLength = parentNodeList.getLength();
for(ctr = 0; ctr < parentNodeListLength ; ctr++ )
{
lineNo=Integer.parseInt((genericUtility.getColumnValueFromNode("line_no",dom.getElementsByTagName("Detail2").item(ctr))).trim());
quantityInput = Double.parseDouble(genericUtility.getColumnValue("phy_input", dom) == null ?"0":genericUtility.getColumnValue("phy_input", dom)); //change done by kunal on 10/09/12
System.out.println("lineNo----"+lineNo);
parentNode = parentNodeList.item(ctr);
itemCode = genericUtility.getColumnValueFromNode("item_code", parentNode);
locCode = genericUtility.getColumnValueFromNode("loc_code", parentNode);
lotNo = genericUtility.getColumnValueFromNode("lot_no", parentNode);
lotSl = genericUtility.getColumnValueFromNode("lot_sl", parentNode);
refId=genericUtility.getColumnValueFromNode("ref_id", parentNode);
refLineNo=Integer.parseInt(genericUtility.getColumnValueFromNode("ref_line_no", parentNode));
System.out.println("ITEM CODE["+itemCode+"] SITE CODE["+siteCode+"] LOC CODE["+locCode+"] LOT_NO["+lotNo+"] LOT SL["+lotSl+"]");
sql ="select inv_stat from location where loc_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, locCode);
rs = pstmt.executeQuery();
if( rs.next())
{
invStat = rs.getString("inv_stat");
}
rs.close();
rs = null;
pstmt.close();
System.out.println("invStat"+invStat+" quantityInput="+quantityInput);
sSQL = "UPDATE STOCK SET LAST_PHYC_DATE = ? WHERE ITEM_CODE = ? AND SITE_CODE = ? AND LOC_CODE = ? AND LOT_NO = ? AND LOT_SL = ?";
pstmt1 = conn.prepareStatement(sSQL);
pstmt1.setTimestamp(1, date1);
pstmt1.setString(2, itemCode);
pstmt1.setString(3, siteCode);
pstmt1.setString(4, locCode);
pstmt1.setString(5, lotNo);
pstmt1.setString(6, lotSl);
pstmt1.executeUpdate();
pstmt1.close();
pstmt1 = null;
sSQL = "UPDATE PHYSCANDET SET STATUS=?,VERIFIED = ? WHERE TRAN_ID = ? AND LINE_NO = ? ";
pstmt1 = conn.prepareStatement(sSQL);
pstmt1.setString(1, "Y");
pstmt1.setString(2, "Y");
pstmt1.setString(3, refId);
pstmt1.setInt(4, refLineNo);
pstmt1.executeUpdate();
pstmt1.close();
pstmt1 = null;
PhyScanQtyUpdate qtyUpdate = new PhyScanQtyUpdate();
qtyUpdate.quantityUpdate( tranId, lineNo, locCode, itemCode, lotNo, lotSl, quantityInput , invStat, conn);
rec=0;
sql="select count(*) from physcandet where tran_id=? and line_no=? and QUANTITY<>QTY_PHYSICAL";
pstmt1=conn.prepareStatement(sql);
pstmt1.setString(1,tranId);
pstmt1.setInt(2,lineNo);
rs1=pstmt1.executeQuery();
if(rs1.next())
{
rec=rs1.getInt(1);
}
rs1.close();
rs1=null;
pstmt1.close();
pstmt1=null;
if(rec==0)
{
sql="update physcandet set verified='Y',reverify='N' where tran_id=? and line_no=? ";
pstmt1=conn.prepareStatement(sql);
pstmt1.setString(1,tranId);
pstmt1.setInt(2,lineNo);
pstmt1.executeUpdate();
pstmt1.close();
pstmt1=null;
}
}
}
catch(Exception e)
{
try
{
System.out.println("Exception "+e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
catch (Exception e1)
{
e1.printStackTrace();
}
}
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 errString;
}
}
package ibase.webitm.ejb.wms;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
@javax.ejb.Local
public interface PhyItemVerifyPosLocal extends ValidatorLocal
{
public String postSave()throws RemoteException,ITMException;
public String postSave( String domString,String tranId, String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.wms;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
@javax.ejb.Remote
public interface PhyItemVerifyPosRemote extends ValidatorRemote
{
public String postSave()throws RemoteException,ITMException;
public String postSave( String domString,String tranId, String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException;
}
...@@ -1251,7 +1251,7 @@ public class PhyScanVerifyIC extends ValidatorEJB implements PhyScanVerifyICLoca ...@@ -1251,7 +1251,7 @@ public class PhyScanVerifyIC extends ValidatorEJB implements PhyScanVerifyICLoca
if( rs.next() ) if( rs.next() )
{ {
tranId = rs.getString("TRAN_ID"); tranId = rs.getString("TRAN_ID");
valueXmlString.append( "<tran_id><![CDATA[" ).append( tranId ).append( "]]></tran_id>\r\n" ); //valueXmlString.append( "<tran_id><![CDATA[" ).append( tranId ).append( "]]></tran_id>\r\n" );
} }
if(rs != null) if(rs != null)
{ {
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<grid.lines>0</grid.lines> <grid.lines>0</grid.lines>
</BaseDefinition> </BaseDefinition>
<Header> <Header>
<height>20</height> <height>22</height>
<color>536870912</color> <color>536870912</color>
</Header> </Header>
<Summary> <Summary>
...@@ -44,39 +44,719 @@ ...@@ -44,39 +44,719 @@
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>23</height> <height>25</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>physcan.tran_id</dbname> <dbname>physcan.tran_id</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>tran_date</name> <name>tran_date</name>
<dbname>physcan.tran_date</dbname> <dbname>physcan.tran_date</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcan&quot; ) COLUMN(NAME=&quot;physcan.tran_id&quot;) COLUMN(NAME=&quot;physcan.tran_date&quot;)) </retrieve> <table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>physcan.site_code</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>site.descr</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>status</name>
<dbname>physcan.status</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>status_date</name>
<dbname>physcan.status_date</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>physcan.confirmed</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>physcan.remarks</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>physcan.chg_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>physcan.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>physcan.chg_term</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__user</name>
<dbname>physcan.emp_code__user</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ref_id</name>
<dbname>physcan.ref_id</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>loc_code</name>
<dbname>loc_code</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcan&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;physcan.tran_id&quot;) COLUMN(NAME=&quot;physcan.tran_date&quot;) COLUMN(NAME=&quot;physcan.site_code&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;physcan.status&quot;) COLUMN(NAME=&quot;physcan.status_date&quot;) COLUMN(NAME=&quot;physcan.confirmed&quot;) COLUMN(NAME=&quot;physcan.remarks&quot;) COLUMN(NAME=&quot;physcan.chg_date&quot;) COLUMN(NAME=&quot;physcan.chg_user&quot;) COLUMN(NAME=&quot;physcan.chg_term&quot;) COLUMN(NAME=&quot;physcan.emp_code__user&quot;) COLUMN(NAME=&quot;physcan.ref_id&quot;) COMPUTE(NAME=&quot;&apos;&apos; loc_code&quot;) JOIN (LEFT=&quot;physcan.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )) </retrieve>
<update>PHYSCAN</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
</TableDefinition> </TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tran Id</text>
<border>6</border>
<color>0</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_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> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Tran Date</text> <text>Tran Date</text>
<border>6</border>
<color>0</color>
<x>89</x>
<y>2</y>
<height>16</height>
<width>94</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_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>Site Code</text>
<border>6</border>
<color>0</color>
<x>185</x>
<y>2</y>
<height>16</height>
<width>75</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>Site Decsription</text>
<border>6</border>
<color>0</color>
<x>262</x>
<y>2</y>
<height>16</height>
<width>230</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr_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>Status</text>
<border>6</border>
<color>0</color>
<x>494</x>
<y>2</y>
<height>16</height>
<width>51</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_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>Status Date</text>
<border>6</border>
<color>0</color>
<x>547</x>
<y>2</y>
<height>16</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_date_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>Confirmed</text>
<border>6</border>
<color>0</color>
<x>681</x>
<y>2</y>
<height>16</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_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>Remarks</text>
<border>6</border>
<color>0</color>
<x>741</x>
<y>2</y>
<height>16</height>
<width>366</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_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>Chg Date</text>
<border>6</border>
<color>0</color>
<x>1109</x>
<y>2</y>
<height>16</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_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>Chg User</text>
<border>6</border>
<color>0</color>
<x>1243</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_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>Chg Term</text>
<border>6</border>
<color>0</color>
<x>1311</x>
<y>2</y>
<height>16</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_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>Emp Code User</text>
<border>6</border>
<color>33554432</color>
<x>1457</x>
<y>2</y>
<height>16</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__user_t</name>
<visible>0</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>Refrence Id</text>
<border>6</border>
<color>0</color>
<x>1517</x>
<y>2</y>
<height>16</height>
<width>70</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_id_t</name>
<visible>0</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>Loc Code</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1409</x>
<y>1</y>
<height>16</height>
<width>46</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code_t</name>
<visible>1</visible>
<font>
<face>System</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2</x> <x>2</x>
<y>2</y> <y>2</y>
<height>16</height> <height>19</height>
<width>85</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>89</x>
<y>2</y>
<height>19</height>
<width>94</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>185</x>
<y>2</y>
<height>19</height>
<width>75</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>262</x>
<y>2</y>
<height>19</height>
<width>230</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>60</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>494</x>
<y>2</y>
<height>19</height>
<width>51</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>547</x>
<y>2</y>
<height>19</height>
<width>132</width> <width>132</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date_t</name> <name>status_date</name>
<visible>1</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -86,25 +766,35 @@ ...@@ -86,25 +766,35 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Header</band> <band>Detail</band>
<alignment>2</alignment> <id>7</id>
<text>Tran Id</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>33554432</color> <border>5</border>
<x>136</x> <color>0</color>
<x>681</x>
<y>2</y> <y>2</y>
<height>16</height> <height>19</height>
<width>66</width> <width>58</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id_t</name> <name>confirmed</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>1</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -114,26 +804,64 @@ ...@@ -114,26 +804,64 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>8</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>0</color>
<x>2</x> <x>741</x>
<y>2</y> <y>2</y>
<height>16</height> <height>19</height>
<width>366</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>60</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1109</x>
<y>2</y>
<height>19</height>
<width>132</width> <width>132</width>
<format>[shortdate] [time]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date</name> <name>chg_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -158,21 +886,21 @@ ...@@ -158,21 +886,21 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>10</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>20</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>5</border>
<color>33554432</color> <color>0</color>
<x>136</x> <x>1243</x>
<y>2</y> <y>2</y>
<height>16</height> <height>19</height>
<width>66</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id</name> <name>chg_user</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
<case>any</case> <case>any</case>
...@@ -190,8 +918,154 @@ ...@@ -190,8 +918,154 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1311</x>
<y>2</y>
<height>19</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1457</x>
<y>2</y>
<height>19</height>
<width>58</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__user</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1517</x>
<y>2</y>
<height>19</height>
<width>70</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_id</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>1409</x>
<y>1</y>
<height>16</height>
<width>46</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>
<autoselect>yes</autoselect>
<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>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<HtmlTable> <HtmlTable>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<grid.lines>0</grid.lines> <grid.lines>0</grid.lines>
</BaseDefinition> </BaseDefinition>
<Header> <Header>
<height>22</height> <height>21</height>
<color>536870912</color> <color>536870912</color>
</Header> </Header>
<Summary> <Summary>
...@@ -44,100 +44,172 @@ ...@@ -44,100 +44,172 @@
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>25</height> <height>23</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>physcan.tran_id</dbname> <dbname>physcandet.tran_id</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>tran_date</name> <key>yes</key>
<dbname>physcan.tran_date</dbname> <name>line_no</name>
<dbname>physcandet.line_no</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>site_code</name> <name>site_code</name>
<dbname>physcan.site_code</dbname> <dbname>physcandet.site_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="60">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>physcandet.item_code</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>descr</name> <name>descr</name>
<dbname>site.descr</dbname> <dbname>item.descr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="8">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>status</name> <name>loc_code</name>
<dbname>physcan.status</dbname> <dbname>physcandet.loc_code</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>location_descr</name>
<dbname>location.descr</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>lot_no</name>
<dbname>physcandet.lot_no</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>lot_sl</name>
<dbname>physcandet.lot_sl</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>physcandet.quantity</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>unit</name>
<dbname>physcandet.unit</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>qty_physical</name>
<dbname>physcandet.qty_physical</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>phy_input_scan</name>
<dbname>phy_input_scan</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>status_date</name> <name>phy_input</name>
<dbname>physcan.status_date</dbname> <dbname>physcandet.phy_input</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="1">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>confirmed</name> <name>location_phy_han_basis</name>
<dbname>physcan.confirmed</dbname> <dbname>location.phy_han_basis</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="60">char</type> <type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>remarks</name> <name>conv_fact</name>
<dbname>physcan.remarks</dbname> <dbname>physcandet.conv_fact</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_date</name> <name>status</name>
<dbname>physcan.chg_date</dbname> <dbname>physcandet.status</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_user</name> <name>physcandet_ref_id</name>
<dbname>physcan.chg_user</dbname> <dbname>physcandet.ref_id</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>ref_line_no</name>
<dbname>physcan.chg_term</dbname> <dbname>physcandet.ref_line_no</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="1">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_code__user</name> <name>reverify</name>
<dbname>physcan.emp_code__user</dbname> <dbname>physcandet.reverify</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="0">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>ref_id</name> <name>no_art</name>
<dbname>physcan.ref_id</dbname> <dbname>no_art</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcan&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;physcan.tran_id&quot;) COLUMN(NAME=&quot;physcan.tran_date&quot;) COLUMN(NAME=&quot;physcan.site_code&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;physcan.status&quot;) COLUMN(NAME=&quot;physcan.status_date&quot;) COLUMN(NAME=&quot;physcan.confirmed&quot;) COLUMN(NAME=&quot;physcan.remarks&quot;) COLUMN(NAME=&quot;physcan.chg_date&quot;) COLUMN(NAME=&quot;physcan.chg_user&quot;) COLUMN(NAME=&quot;physcan.chg_term&quot;) COLUMN(NAME=&quot;physcan.emp_code__user&quot;) COLUMN(NAME=&quot;physcan.ref_id&quot;) JOIN (LEFT=&quot;physcan.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;location&quot; ) TABLE(NAME=&quot;physcandet&quot; ) COLUMN(NAME=&quot;physcandet.tran_id&quot;) COLUMN(NAME=&quot;physcandet.line_no&quot;) COLUMN(NAME=&quot;physcandet.site_code&quot;) COLUMN(NAME=&quot;physcandet.item_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;physcandet.loc_code&quot;) COLUMN(NAME=&quot;location.descr&quot;) COLUMN(NAME=&quot;physcandet.lot_no&quot;) COLUMN(NAME=&quot;physcandet.lot_sl&quot;) COLUMN(NAME=&quot;physcandet.quantity&quot;) COLUMN(NAME=&quot;physcandet.unit&quot;) COLUMN(NAME=&quot;physcandet.qty_physical&quot;) COMPUTE(NAME=&quot;&apos;&apos; phy_input_scan&quot;) COLUMN(NAME=&quot;physcandet.phy_input&quot;) COLUMN(NAME=&quot;location.phy_han_basis&quot;) COLUMN(NAME=&quot;physcandet.conv_fact&quot;) COLUMN(NAME=&quot;physcandet.status&quot;) COLUMN(NAME=&quot;physcandet.ref_id&quot;) COLUMN(NAME=&quot;physcandet.ref_line_no&quot;) COLUMN(NAME=&quot;physcandet.reverify&quot;) COMPUTE(NAME=&quot;&apos;&apos; no_art&quot;) JOIN (LEFT=&quot;location.loc_code&quot; OP =&quot;=&quot;RIGHT=&quot;physcandet.loc_code&quot; ) JOIN (LEFT=&quot;item.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;physcandet.item_code&quot; )WHERE( EXP1 =&quot;PHYSCANDET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>physcandet</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
</TableDefinition> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Tran Id</text> <text>Tran Id</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>2</x> <x>2</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>85</width> <width>69</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -159,17 +231,17 @@ ...@@ -159,17 +231,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Tran Date</text> <text>Line No</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>89</x> <x>73</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>94</width> <width>72</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date_t</name> <name>line_no_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -188,12 +260,12 @@ ...@@ -188,12 +260,12 @@
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Site Code</text> <text>Site Code</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>185</x> <x>147</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>75</width> <width>69</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -215,17 +287,17 @@ ...@@ -215,17 +287,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Site Decsription</text> <text>Item Code</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>262</x> <x>218</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>230</width> <width>69</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>descr_t</name> <name>item_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -243,17 +315,17 @@ ...@@ -243,17 +315,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Status</text> <text>Item Descrption</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>494</x> <x>289</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>51</width> <width>260</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status_t</name> <name>descr_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -271,17 +343,17 @@ ...@@ -271,17 +343,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Status Date</text> <text>Location Code</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>547</x> <x>551</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>132</width> <width>69</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status_date_t</name> <name>loc_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -299,17 +371,17 @@ ...@@ -299,17 +371,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Confirmed</text> <text>Location Description</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>681</x> <x>622</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>58</width> <width>246</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>confirmed_t</name> <name>location_descr_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -327,17 +399,17 @@ ...@@ -327,17 +399,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Remarks</text> <text>Lot No</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>741</x> <x>870</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>366</width> <width>96</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>remarks_t</name> <name>lot_no_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -355,17 +427,17 @@ ...@@ -355,17 +427,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Chg Date</text> <text>LPN No</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>1109</x> <x>968</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>132</width> <width>96</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>lot_sl_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -383,17 +455,17 @@ ...@@ -383,17 +455,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Chg User</text> <text>Quantity</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>1243</x> <x>1066</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>66</width> <width>72</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <name>quantity_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -408,21 +480,77 @@ ...@@ -408,21 +480,77 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Location Phy Han Basis</text>
<border>0</border>
<color>33554432</color>
<x>1952</x>
<y>1</y>
<height>16</height>
<width>55</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>location_phy_han_basis_t</name>
<visible>0</visible>
<font>
<face>System</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Conv Fact</text>
<border>0</border>
<color>33554432</color>
<x>1887</x>
<y>1</y>
<height>16</height>
<width>63</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conv_fact_t</name>
<visible>0</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> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Chg Term</text> <text>Physical Input</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>1311</x> <x>1773</x>
<y>2</y> <y>1</y>
<height>16</height> <height>16</height>
<width>96</width> <width>112</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>phy_input_t</name>
<visible>1</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -439,17 +567,17 @@ ...@@ -439,17 +567,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Emp Code User</text> <text>Physical Scan Type</text>
<border>6</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1409</x> <x>1647</x>
<y>2</y> <y>1</y>
<height>16</height> <height>16</height>
<width>58</width> <width>124</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code__user_t</name> <name>phy_input_scan_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -466,18 +594,18 @@ ...@@ -466,18 +594,18 @@
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>2</alignment>
<text>Refrence Id</text> <text>Physical Quantity</text>
<border>6</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>1469</x> <x>1519</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>70</width> <width>126</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>ref_id_t</name> <name>qty_physical_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -492,6 +620,146 @@ ...@@ -492,6 +620,146 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Unit</text>
<border>0</border>
<color>33554432</color>
<x>1140</x>
<y>2</y>
<height>16</height>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit_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>Status</text>
<border>0</border>
<color>33554432</color>
<x>1211</x>
<y>1</y>
<height>16</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_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>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Ref Id</text>
<border>0</border>
<color>33554432</color>
<x>1271</x>
<y>1</y>
<height>16</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_id_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>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Ref Line No</text>
<border>0</border>
<color>33554432</color>
<x>1331</x>
<y>1</y>
<height>16</height>
<width>119</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_line_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>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Reverify</text>
<border>0</border>
<color>33554432</color>
<x>1452</x>
<y>1</y>
<height>16</height>
<width>65</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>reverify_t</name>
<visible>1</visible>
<font>
<face>Tahoma</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -502,7 +770,7 @@ ...@@ -502,7 +770,7 @@
<x>2</x> <x>2</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>85</width> <width>69</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -533,19 +801,19 @@ ...@@ -533,19 +801,19 @@
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>2</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>89</x> <x>73</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>94</width> <width>72</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date</name> <name>line_no</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -575,10 +843,10 @@ ...@@ -575,10 +843,10 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>185</x> <x>147</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>75</width> <width>69</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -613,18 +881,18 @@ ...@@ -613,18 +881,18 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>262</x> <x>218</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>230</width> <width>69</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>descr</name> <name>item_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>60</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -651,18 +919,18 @@ ...@@ -651,18 +919,18 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>494</x> <x>289</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>51</width> <width>260</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status</name> <name>descr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>1</limit> <limit>120</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -689,18 +957,18 @@ ...@@ -689,18 +957,18 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>547</x> <x>551</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>132</width> <width>69</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status_date</name> <name>loc_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>8</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -727,18 +995,18 @@ ...@@ -727,18 +995,18 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>681</x> <x>622</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>58</width> <width>246</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>confirmed</name> <name>location_descr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>1</limit> <limit>40</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -765,18 +1033,18 @@ ...@@ -765,18 +1033,18 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>741</x> <x>870</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>366</width> <width>96</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>remarks</name> <name>lot_no</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>60</limit> <limit>15</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -803,18 +1071,18 @@ ...@@ -803,18 +1071,18 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1109</x> <x>968</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>132</width> <width>96</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>lot_sl</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>15</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -837,22 +1105,22 @@ ...@@ -837,22 +1105,22 @@
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>10</id> <id>10</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1243</x> <x>1066</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>66</width> <width>72</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>quantity</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -879,18 +1147,18 @@ ...@@ -879,18 +1147,18 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1311</x> <x>1140</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>96</width> <width>69</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term</name> <name>unit</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>15</limit> <limit>3</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -912,20 +1180,20 @@ ...@@ -912,20 +1180,20 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>12</id> <id>15</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>0</border>
<color>0</color> <color>0</color>
<x>1409</x> <x>1952</x>
<y>2</y> <y>1</y>
<height>19</height> <height>16</height>
<width>58</width> <width>55</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code__user</name> <name>location_phy_han_basis</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -948,21 +1216,203 @@ ...@@ -948,21 +1216,203 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>13</id> <id>16</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>0</border>
<color>0</color>
<x>1887</x>
<y>2</y>
<height>19</height>
<width>63</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conv_fact</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>1773</x>
<y>2</y>
<height>19</height>
<width>112</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>phy_input</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>1647</x>
<y>2</y>
<height>19</height>
<width>124</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>phy_input_scan</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color> <color>0</color>
<x>1469</x> <x>1519</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>70</width> <width>126</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>ref_id</name> <name>qty_physical</name>
<visible>0</visible> <visible>0</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>1211</x>
<y>1</y>
<height>16</height>
<width>58</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>1271</x>
<y>1</y>
<height>16</height>
<width>58</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>physcandet_ref_id</name>
<visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
...@@ -982,6 +1432,143 @@ ...@@ -982,6 +1432,143 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>1331</x>
<y>1</y>
<height>16</height>
<width>119</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>1452</x>
<y>1</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>reverify</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>0</tabsequence>
<border>0</border>
<color>0</color>
<x>2010</x>
<y>1</y>
<height>16</height>
<width>46</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_art</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>No Art</text>
<border>0</border>
<color>33554432</color>
<x>2009</x>
<y>1</y>
<height>16</height>
<width>47</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_art_t</name>
<visible>1</visible>
<font>
<face>Tahoma</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -39,23 +39,130 @@ ...@@ -39,23 +39,130 @@
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>58</height> <height>376</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>physcan.tran_id</dbname> <dbname>physcan.tran_id</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>tran_date</name> <name>tran_date</name>
<dbname>physcan.tran_date</dbname> <dbname>physcan.tran_date</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcan&quot; ) COLUMN(NAME=&quot;physcan.tran_id&quot;) COLUMN(NAME=&quot;physcan.tran_date&quot;)WHERE( EXP1 =&quot;~&quot;PHYSCAN~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve> <table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>physcan.site_code</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>site.descr</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>status</name>
<dbname>physcan.status</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>status_date</name>
<dbname>physcan.status_date</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>physcan.confirmed</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>physcan.remarks</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>physcan.chg_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>physcan.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>physcan.chg_term</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__user</name>
<dbname>physcan.emp_code__user</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ref_id</name>
<dbname>physcan.ref_id</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>loc_code</name>
<dbname>loc_code</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>isempty</name>
<dbname>isempty</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_type</name>
<dbname>physcan.tran_type</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>isstock</name>
<dbname>isstock</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcan&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;physcan.tran_id&quot;) COLUMN(NAME=&quot;physcan.tran_date&quot;) COLUMN(NAME=&quot;physcan.site_code&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;physcan.status&quot;) COLUMN(NAME=&quot;physcan.status_date&quot;) COLUMN(NAME=&quot;physcan.confirmed&quot;) COLUMN(NAME=&quot;physcan.remarks&quot;) COLUMN(NAME=&quot;physcan.chg_date&quot;) COLUMN(NAME=&quot;physcan.chg_user&quot;) COLUMN(NAME=&quot;physcan.chg_term&quot;) COLUMN(NAME=&quot;physcan.emp_code__user&quot;) COLUMN(NAME=&quot;physcan.ref_id&quot;) COMPUTE(NAME=&quot;&apos;&apos; loc_code&quot;) COMPUTE(NAME=&quot;&apos;&apos; isempty&quot;) COLUMN(NAME=&quot;physcan.tran_type&quot;) COMPUTE(NAME=&quot;&apos;&apos; isstock&quot;) JOIN (LEFT=&quot;physcan.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;~&quot;PHYSCAN~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>PHYSCAN</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>tran_id</name> <name>tran_id</name>
<type>string</type> <type>string</type>
...@@ -64,18 +171,18 @@ ...@@ -64,18 +171,18 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Tran Date:</text> <text>Status Date:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>8</x> <x>161</x>
<y>30</y> <y>80</y>
<height>16</height> <height>16</height>
<width>62</width> <width>73</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date_t</name> <name>status_date_t</name>
<visible>1</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -91,21 +198,21 @@ ...@@ -91,21 +198,21 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>6</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>0</color>
<x>73</x> <x>242</x>
<y>30</y> <y>80</y>
<height>19</height> <height>16</height>
<width>100</width> <width>76</width>
<format>[shortdate] [time]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date</name> <name>status_date</name>
<visible>1</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
...@@ -130,17 +237,45 @@ ...@@ -130,17 +237,45 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Tran Id:</text> <text>Confirmed:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>8</x> <x>322</x>
<y>4</y> <y>80</y>
<height>16</height> <height>16</height>
<width>62</width> <width>71</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id_t</name> <name>confirmed_t</name>
<visible>0</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>Detail</band>
<alignment>1</alignment>
<text>Chg User:</text>
<border>0</border>
<color>33554432</color>
<x>172</x>
<y>129</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -157,20 +292,20 @@ ...@@ -157,20 +292,20 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>10</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>255</color>
<x>73</x> <x>241</x>
<y>4</y> <y>129</y>
<height>19</height> <height>16</height>
<width>100</width> <width>63</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id</name> <name>chg_user</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
...@@ -188,6 +323,844 @@ ...@@ -188,6 +323,844 @@
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Term:</text>
<border>0</border>
<color>33554432</color>
<x>312</x>
<y>129</y>
<height>16</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>0</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>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>389</x>
<y>104</y>
<height>16</height>
<width>67</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__user</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>397</x>
<y>80</y>
<height>16</height>
<width>59</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>1</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>101</x>
<y>34</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_id</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>101</x>
<y>80</y>
<height>16</height>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>1</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>101</x>
<y>105</y>
<height>16</height>
<width>264</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>60</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>101</x>
<y>129</y>
<height>16</height>
<width>66</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>0</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>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>101</x>
<y>55</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>5</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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Ref ID</text>
<border>0</border>
<color>33554432</color>
<x>23</x>
<y>34</y>
<height>16</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_id_t</name>
<visible>0</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>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>23</x>
<y>55</y>
<height>16</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>0</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>Detail</band>
<alignment>1</alignment>
<text>Status:</text>
<border>0</border>
<color>33554432</color>
<x>23</x>
<y>80</y>
<height>16</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_t</name>
<visible>0</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>Detail</band>
<alignment>1</alignment>
<text>Remarks:</text>
<border>0</border>
<color>33554432</color>
<x>23</x>
<y>105</y>
<height>16</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_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>Detail</band>
<alignment>1</alignment>
<text>Chg Date:</text>
<border>0</border>
<color>33554432</color>
<x>23</x>
<y>129</y>
<height>16</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>0</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>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>101</x>
<y>11</y>
<height>18</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Id:</text>
<border>0</border>
<color>33554432</color>
<x>23</x>
<y>11</y>
<height>18</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_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>Detail</band>
<alignment>1</alignment>
<text>Tran Date:</text>
<border>0</border>
<color>33554432</color>
<x>309</x>
<y>11</y>
<height>18</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_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>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>180</x>
<y>56</y>
<height>16</height>
<width>279</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>60</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>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>386</x>
<y>11</y>
<height>18</height>
<width>73</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>386</x>
<y>33</y>
<height>16</height>
<width>73</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>
<autoselect>yes</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Location Code:</text>
<border>0</border>
<color>33554432</color>
<x>297</x>
<y>33</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_1</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>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>389</x>
<y>129</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>15</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>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>37</x>
<y>163</y>
<height>16</height>
<width>64</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>isempty</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Type:</text>
<border>0</border>
<color>33554432</color>
<x>310</x>
<y>164</y>
<height>15</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type_t</name>
<visible>0</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>16</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>389</x>
<y>163</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>0</border>
<color>0</color>
<x>148</x>
<y>163</y>
<height>16</height>
<width>48</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>isstock</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
......
...@@ -39,89 +39,172 @@ ...@@ -39,89 +39,172 @@
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>376</height> <height>301</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>physcan.tran_id</dbname> <dbname>physcandet.tran_id</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>tran_date</name> <key>yes</key>
<dbname>physcan.tran_date</dbname> <name>line_no</name>
<dbname>physcandet.line_no</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>site_code</name> <name>site_code</name>
<dbname>physcan.site_code</dbname> <dbname>physcandet.site_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="60">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>physcandet.item_code</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>descr</name> <name>descr</name>
<dbname>site.descr</dbname> <dbname>item.descr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="8">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>status</name> <name>loc_code</name>
<dbname>physcan.status</dbname> <dbname>physcandet.loc_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type size="40">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>status_date</name> <name>location_descr</name>
<dbname>physcan.status_date</dbname> <dbname>location.descr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>confirmed</name> <name>lot_no</name>
<dbname>physcan.confirmed</dbname> <dbname>physcandet.lot_no</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="60">char</type> <type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>remarks</name> <name>lot_sl</name>
<dbname>physcan.remarks</dbname> <dbname>physcandet.lot_sl</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_date</name> <name>quantity</name>
<dbname>physcan.chg_date</dbname> <dbname>physcandet.quantity</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_user</name> <name>unit</name>
<dbname>physcan.chg_user</dbname> <dbname>physcandet.unit</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>qty_physical</name>
<dbname>physcandet.qty_physical</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>phy_input_scan</name>
<dbname>phy_input_scan</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>phy_input</name>
<dbname>physcandet.phy_input</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>location_phy_han_basis</name>
<dbname>location.phy_han_basis</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>conv_fact</name>
<dbname>physcan.chg_term</dbname> <dbname>physcandet.conv_fact</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_code__user</name> <name>emp_code__user</name>
<dbname>physcan.emp_code__user</dbname> <dbname>physcandet.emp_code__user</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>isempty</name>
<dbname>physcandet.isempty</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>status</name>
<dbname>physcandet.status</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>ref_id</name> <name>ref_id</name>
<dbname>physcan.ref_id</dbname> <dbname>physcandet.ref_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ref_line_no</name>
<dbname>physcandet.ref_line_no</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>reverify</name>
<dbname>physcandet.reverify</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcan&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;physcan.tran_id&quot;) COLUMN(NAME=&quot;physcan.tran_date&quot;) COLUMN(NAME=&quot;physcan.site_code&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;physcan.status&quot;) COLUMN(NAME=&quot;physcan.status_date&quot;) COLUMN(NAME=&quot;physcan.confirmed&quot;) COLUMN(NAME=&quot;physcan.remarks&quot;) COLUMN(NAME=&quot;physcan.chg_date&quot;) COLUMN(NAME=&quot;physcan.chg_user&quot;) COLUMN(NAME=&quot;physcan.chg_term&quot;) COLUMN(NAME=&quot;physcan.emp_code__user&quot;) COLUMN(NAME=&quot;physcan.ref_id&quot;) JOIN (LEFT=&quot;physcan.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;~&quot;PHYSCAN~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve> <table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>no_art</name>
<dbname>no_art</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;location&quot; ) TABLE(NAME=&quot;physcandet&quot; ) COLUMN(NAME=&quot;physcandet.tran_id&quot;) COLUMN(NAME=&quot;physcandet.line_no&quot;) COLUMN(NAME=&quot;physcandet.site_code&quot;) COLUMN(NAME=&quot;physcandet.item_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;physcandet.loc_code&quot;) COLUMN(NAME=&quot;location.descr&quot;) COLUMN(NAME=&quot;physcandet.lot_no&quot;) COLUMN(NAME=&quot;physcandet.lot_sl&quot;) COLUMN(NAME=&quot;physcandet.quantity&quot;) COLUMN(NAME=&quot;physcandet.unit&quot;) COLUMN(NAME=&quot;physcandet.qty_physical&quot;) COMPUTE(NAME=&quot;&apos;&apos; phy_input_scan&quot;) COLUMN(NAME=&quot;physcandet.phy_input&quot;) COLUMN(NAME=&quot;location.phy_han_basis&quot;) COLUMN(NAME=&quot;physcandet.conv_fact&quot;) COLUMN(NAME=&quot;physcandet.emp_code__user&quot;) COLUMN(NAME=&quot;physcandet.isempty&quot;) COLUMN(NAME=&quot;physcandet.status&quot;) COLUMN(NAME=&quot;physcandet.ref_id&quot;) COLUMN(NAME=&quot;physcandet.ref_line_no&quot;) COLUMN(NAME=&quot;physcandet.reverify&quot;) COMPUTE(NAME=&quot;&apos;&apos; no_art&quot;) JOIN (LEFT=&quot;physcandet.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; ) JOIN (LEFT=&quot;physcandet.loc_code&quot; OP =&quot;=&quot;RIGHT=&quot;location.loc_code&quot; )WHERE( EXP1 =&quot;PHYSCANDET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>physcandet</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>tran_id</name> <name>tran_id</name>
<type>string</type> <type>string</type>
...@@ -130,18 +213,18 @@ ...@@ -130,18 +213,18 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Status Date:</text> <text>LPN No:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>161</x> <x>338</x>
<y>80</y> <y>114</y>
<height>16</height> <height>16</height>
<width>73</width> <width>49</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status_date_t</name> <name>lot_sl_t</name>
<visible>0</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -157,23 +240,61 @@ ...@@ -157,23 +240,61 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>9</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>33554432</color>
<x>242</x> <x>391</x>
<y>80</y> <y>114</y>
<height>19</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_sl</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>169</x>
<y>90</y>
<height>16</height> <height>16</height>
<width>76</width> <width>294</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status_date</name> <name>location_descr</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>40</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -190,24 +311,24 @@ ...@@ -190,24 +311,24 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Confirmed:</text> <text>Item Code:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>322</x> <x>13</x>
<y>80</y> <y>66</y>
<height>16</height> <height>16</height>
<width>71</width> <width>79</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>confirmed_t</name> <name>item_code_t</name>
<visible>0</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -224,18 +345,18 @@ ...@@ -224,18 +345,18 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Chg User:</text> <text>Loc Code:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>172</x> <x>13</x>
<y>129</y> <y>91</y>
<height>16</height> <height>16</height>
<width>64</width> <width>79</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <name>loc_code_t</name>
<visible>0</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -249,31 +370,21 @@ ...@@ -249,31 +370,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>10</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Tran Id:</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border> <color>33554432</color>
<color>255</color> <x>13</x>
<x>241</x> <y>16</y>
<y>129</y>
<height>16</height> <height>16</height>
<width>63</width> <width>79</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>tran_id_t</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -283,25 +394,25 @@ ...@@ -283,25 +394,25 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Chg Term:</text> <text>Site Code:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>312</x> <x>13</x>
<y>129</y> <y>41</y>
<height>16</height> <height>16</height>
<width>73</width> <width>79</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>site_code_t</name>
<visible>0</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -317,25 +428,27 @@ ...@@ -317,25 +428,27 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>12</id> <id>3</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>33554432</color>
<x>389</x> <x>97</x>
<y>104</y> <y>41</y>
<height>16</height> <height>16</height>
<width>67</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code__user</name> <name>site_code</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>5</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -347,29 +460,29 @@ ...@@ -347,29 +460,29 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>11</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>5</border>
<color>255</color> <color>33554432</color>
<x>389</x> <x>96</x>
<y>129</y> <y>66</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term</name> <name>item_code</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>15</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -385,29 +498,29 @@ ...@@ -385,29 +498,29 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>6</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>33554432</color>
<x>397</x> <x>96</x>
<y>80</y> <y>91</y>
<height>16</height> <height>16</height>
<width>59</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>confirmed</name> <name>loc_code</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>1</limit> <limit>8</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -423,31 +536,33 @@ ...@@ -423,31 +536,33 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>13</id> <id>8</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>33554432</color>
<x>101</x> <x>97</x>
<y>34</y> <y>116</y>
<height>16</height> <height>16</height>
<width>73</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>ref_id</name> <name>lot_no</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>15</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -459,8 +574,8 @@ ...@@ -459,8 +574,8 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
...@@ -469,19 +584,19 @@ ...@@ -469,19 +584,19 @@
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>255</color>
<x>101</x> <x>170</x>
<y>80</y> <y>66</y>
<height>16</height> <height>16</height>
<width>57</width> <width>293</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status</name> <name>descr</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>1</limit> <limit>120</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -498,34 +613,24 @@ ...@@ -498,34 +613,24 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>8</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Lot No:</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border> <color>33554432</color>
<color>0</color> <x>14</x>
<x>101</x> <y>116</y>
<y>105</y>
<height>16</height> <height>16</height>
<width>264</width> <width>79</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>remarks</name> <name>lot_no_t</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>60</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -535,35 +640,25 @@ ...@@ -535,35 +640,25 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Unit:</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border> <color>33554432</color>
<color>255</color> <x>202</x>
<x>101</x> <y>138</y>
<y>129</y>
<height>16</height> <height>16</height>
<width>66</width> <width>52</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>unit_t</name>
<visible>0</visible> <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> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -573,29 +668,29 @@ ...@@ -573,29 +668,29 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <id>11</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>33554432</color>
<x>101</x> <x>258</x>
<y>55</y> <y>138</y>
<height>16</height> <height>16</height>
<width>73</width> <width>29</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code</name> <name>unit</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>5</limit> <limit>3</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -611,24 +706,24 @@ ...@@ -611,24 +706,24 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Ref ID</text> <text>Qty Physical:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>23</x> <x>308</x>
<y>34</y> <y>138</y>
<height>16</height> <height>16</height>
<width>73</width> <width>79</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>ref_id_t</name> <name>qty_physical_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -640,24 +735,34 @@ ...@@ -640,24 +735,34 @@
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>553648127</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>12</id>
<alignment>1</alignment> <alignment>1</alignment>
<text>Site Code:</text> <tabsequence>32766</tabsequence>
<border>0</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>23</x> <x>391</x>
<y>55</y> <y>138</y>
<height>16</height> <height>16</height>
<width>73</width> <width>72</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code_t</name> <name>qty_physical</name>
<visible>1</visible> <visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -670,21 +775,57 @@ ...@@ -670,21 +775,57 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>389</x>
<y>187</y>
<height>16</height>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conv_fact</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Status:</text> <text>Handle Basis :</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>23</x> <x>7</x>
<y>80</y> <y>166</y>
<height>16</height> <height>16</height>
<width>73</width> <width>85</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status_t</name> <name>phy_han_basis_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -699,21 +840,93 @@ ...@@ -699,21 +840,93 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>95</x>
<y>166</y>
<height>16</height>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>location_phy_han_basis</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>170</x>
<y>166</y>
<height>16</height>
<width>293</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>phy_input_scan</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Remarks:</text> <text>Physical Input:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>23</x> <x>6</x>
<y>105</y> <y>191</y>
<height>16</height> <height>16</height>
<width>73</width> <width>87</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>remarks_t</name> <name>phy_input_t</name>
<visible>0</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -727,20 +940,58 @@ ...@@ -727,20 +940,58 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>97</x>
<y>141</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</name>
<visible>0</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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Chg Date:</text> <text>Quantity:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>23</x> <x>13</x>
<y>129</y> <y>141</y>
<height>16</height> <height>16</height>
<width>73</width> <width>79</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>quantity_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -757,27 +1008,25 @@ ...@@ -757,27 +1008,25 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>17</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>0</color>
<x>101</x> <x>391</x>
<y>11</y> <y>38</y>
<height>18</height> <height>15</height>
<width>73</width> <width>72</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id</name> <name>emp_code__user</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -789,24 +1038,24 @@ ...@@ -789,24 +1038,24 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>553648127</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Tran Id:</text> <text>Line No:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>23</x> <x>324</x>
<y>11</y> <y>16</y>
<height>18</height> <height>16</height>
<width>73</width> <width>62</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id_t</name> <name>line_no_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -824,18 +1073,18 @@ ...@@ -824,18 +1073,18 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Tran Date:</text> <text>Emp Code:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>309</x> <x>318</x>
<y>11</y> <y>39</y>
<height>18</height> <height>15</height>
<width>73</width> <width>68</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date_t</name> <name>emp_code__user_t</name>
<visible>1</visible> <visible>0</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
...@@ -851,23 +1100,95 @@ ...@@ -851,23 +1100,95 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>18</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>281</x>
<y>189</y>
<height>16</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>isempty</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>0</border>
<color>33554432</color>
<x>197</x>
<y>191</y>
<height>16</height>
<width>39</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>180</x> <x>96</x>
<y>56</y> <y>16</y>
<height>16</height> <height>16</height>
<width>279</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>descr</name> <name>tran_id</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>60</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -890,20 +1211,20 @@ ...@@ -890,20 +1211,20 @@
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>2</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>33554432</color>
<x>386</x> <x>391</x>
<y>11</y> <y>16</y>
<height>18</height> <height>16</height>
<width>73</width> <width>72</width>
<format>[shortdate] [time]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_date</name> <name>line_no</name>
<visible>1</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
...@@ -921,8 +1242,190 @@ ...@@ -921,8 +1242,190 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>16777215</color> <color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>388</x>
<y>213</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_line_no</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>97</x>
<y>191</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>phy_input</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>281</x>
<y>214</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_id</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>96</x>
<y>213</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>reverify</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<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>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>193</x>
<y>215</y>
<height>16</height>
<width>48</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_art</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<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>1</mode>
<color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<HtmlTable> <HtmlTable>
......
...@@ -34922,4 +34922,151 @@ update obj_forms set SCAN_METADATA = '<SCAN_INFO><MAPPING_SCAN ORDER="1"><SCAN_L ...@@ -34922,4 +34922,151 @@ update obj_forms set SCAN_METADATA = '<SCAN_INFO><MAPPING_SCAN ORDER="1"><SCAN_L
where win_name ='w_active_repl_iss' and form_no = 3; where win_name ='w_active_repl_iss' and form_no = 3;
commit; commit;
------------- Manoj sharma 22-nov-12
alter table physcandet add ref_id char(10);
alter table physcandet add verified char(1);
alter table physcandet add ref_line_no number(5);
ALTER TABLE PHYSCANDET ADD REVERIFY CHAR(1);
update transetup set header_form_no='1' where tran_window='w_phy_scan_verify';
delete from TARO.obj_forms where win_name='w_phy_scan_verify';
INSERT INTO TARO.obj_forms VALUES (
'w_phy_scan_verify',
'Header',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'1',
'F',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'E',
NULL,
NULL,
NULL);
INSERT INTO TARO.obj_forms VALUES (
'w_phy_scan_verify',
'Detail',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'2',
'T',
NULL,
NULL,
'<SCAN_INFO><MAPPING_SCAN ORDER="1"> <SCAN_LABEL>LOCATION:</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>loc_code</FIELD></FIELDS> </MAPPING_SCAN><MAPPING_SCAN ORDER="2"> <SCAN_LABEL>LPN NO:</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>lot_sl</FIELD></FIELDS> </MAPPING_SCAN> <MAPPING_SCAN ORDER="3"> <SCAN_LABEL>Item Code:</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>item_code</FIELD></FIELDS> </MAPPING_SCAN> <MAPPING_SCAN ORDER="4"> <SCAN_LABEL>Lot No:</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>lot_no</FIELD></FIELDS> </MAPPING_SCAN> <INPUT_SCAN ORDER="1"> <SCAN_LABEL>Case Count:</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>phy_input</FIELD></FIELDS> </INPUT_SCAN><INPUT_SCAN ORDER="2"> <SCAN_LABEL>Re-verify (Y/N)?:</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>reverify</FIELD></FIELDS> </INPUT_SCAN> <SCAN_CONDITION field="loc_code">parseInt(quantity) != 0</SCAN_CONDITION><SCAN_CONDITION field="reverify">parseInt(phy_input) != parseInt(no_art)</SCAN_CONDITION></SCAN_INFO>',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'checkedImage@img<descr>(<item_code>),<loc_code>,<lot_no>,<lot_sl>',
NULL,
NULL,
NULL,
'E',
NULL,
NULL,
NULL);
delete from system_events where obj_name='phy_scan_verify';
INSERT INTO system_events VALUES (
'phy_scan_verify',
'default_data_wiz',
'1',
'phy_scan_default_data',
NULL,
'0',
sysdate,
'MANOJ ',
'BASE',
'2',
'EJB',
'PhyItemVerifyIC',
NULL);
INSERT INTO system_events VALUES (
'phy_scan_verify',
'post_save',
'1',
'pos_phy_scan',
NULL,
'0',
sysdate,
'MANOJ ',
'BASE',
'2',
'EJB',
'PhyItemVerifyPos',
NULL);
INSERT INTO system_events VALUES (
'phy_scan_verify',
'pre_navigate_next',
'1',
'prv_phy_scan',
NULL,
'0',
sysdate,
'MANOJ ',
'BASE',
'2',
'EJB',
'PhyItemVerifyIC',
NULL);
INSERT INTO system_events VALUES (
'phy_scan_verify',
'pre_validate',
'1',
'prv_phy_scan',
NULL,
'0',
sysdate,
'MANOJ ',
'BASE',
'2',
'EJB',
'PhyItemVerifyIC',
NULL);
INSERT INTO system_events VALUES (
'phy_scan_verify',
'pre_navigate_finish',
'1',
'prv_phy_scan',
NULL,
'0',
sysdate,
'MANOJ ',
'BASE',
'2',
'EJB',
'PhyItemVerifyIC',
NULL);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('INVVERIFY','Invalid Value','Please enter Y/N to Re-verify','E','Y',null,null,null,SYSDATE,'BASE ','BASE ',null,null);
commit; commit;
\ No newline at end of file
$PBExportHeader$d_phy_scan_11.srd $PBExportHeader$d_phy_scan_verify11.srd
release 9; 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 ) 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=20 color="536870912" ) header(height=22 color="536870912" )
summary(height=0 color="536870912" ) summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=23 color="536870912" ) detail(height=25 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=tran_id dbname="physcan.tran_id" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="physcan.tran_id" )
column=(type=datetime updatewhereclause=yes name=tran_date dbname="physcan.tran_date" ) column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="physcan.tran_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcan~" ) COLUMN(NAME=~"physcan.tran_id~") COLUMN(NAME=~"physcan.tran_date~")) " ) column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="physcan.site_code" )
text(band=header alignment="2" text="Tran Date" border="0" color="33554432" x="2" y="2" height="16" width="132" html.valueishtml="0" name=tran_date_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=(type=char(60) updatewhereclause=yes name=descr dbname="site.descr" )
text(band=header alignment="2" text="Tran Id" border="0" color="33554432" x="136" y="2" height="16" width="66" html.valueishtml="0" name=tran_id_t visible="0" 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=(type=char(1) update=yes updatewhereclause=yes name=status dbname="physcan.status" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="2" height="16" width="132" format="[shortdate] [time]" html.valueishtml="0" name=tran_date 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="16777215" ) column=(type=datetime update=yes updatewhereclause=yes name=status_date dbname="physcan.status_date" )
column(band=detail id=1 alignment="0" tabsequence=20 border="0" color="33554432" x="136" y="2" height="16" width="66" format="[general]" html.valueishtml="0" name=tran_id visible="0" edit.limit=10 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="1" background.color="536870912" ) column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="physcan.confirmed" )
column=(type=char(60) update=yes updatewhereclause=yes name=remarks dbname="physcan.remarks" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="physcan.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="physcan.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="physcan.chg_term" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__user dbname="physcan.emp_code__user" )
column=(type=char(10) update=yes updatewhereclause=yes name=ref_id dbname="physcan.ref_id" )
column=(type=char(0) updatewhereclause=yes name=loc_code dbname="loc_code" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcan~" ) TABLE(NAME=~"site~" ) COLUMN(NAME=~"physcan.tran_id~") COLUMN(NAME=~"physcan.tran_date~") COLUMN(NAME=~"physcan.site_code~") COLUMN(NAME=~"site.descr~") COLUMN(NAME=~"physcan.status~") COLUMN(NAME=~"physcan.status_date~") COLUMN(NAME=~"physcan.confirmed~") COLUMN(NAME=~"physcan.remarks~") COLUMN(NAME=~"physcan.chg_date~") COLUMN(NAME=~"physcan.chg_user~") COLUMN(NAME=~"physcan.chg_term~") COLUMN(NAME=~"physcan.emp_code__user~") COLUMN(NAME=~"physcan.ref_id~") COMPUTE(NAME=~"'' loc_code~") JOIN (LEFT=~"physcan.site_code~" OP =~"=~"RIGHT=~"site.site_code~" )) " update="PHYSCAN" updatewhere=0 updatekeyinplace=no )
text(band=header alignment="2" text="Tran Id" border="6" color="0" x="2" y="2" height="16" width="85" html.valueishtml="0" name=tran_id_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="Tran Date" border="6" color="0" x="89" y="2" height="16" width="94" html.valueishtml="0" name=tran_date_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="Site Code" border="6" color="0" x="185" y="2" height="16" width="75" 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="Site Decsription" border="6" color="0" x="262" y="2" height="16" width="230" html.valueishtml="0" name=descr_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="Status" border="6" color="0" x="494" y="2" height="16" width="51" html.valueishtml="0" name=status_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="Status Date" border="6" color="0" x="547" y="2" height="16" width="132" html.valueishtml="0" name=status_date_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="Confirmed" border="6" color="0" x="681" y="2" height="16" width="58" html.valueishtml="0" name=confirmed_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="Remarks" border="6" color="0" x="741" y="2" height="16" width="366" html.valueishtml="0" name=remarks_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="Chg Date" border="6" color="0" x="1109" y="2" height="16" width="132" html.valueishtml="0" name=chg_date_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="Chg User" border="6" color="0" x="1243" y="2" height="16" width="66" html.valueishtml="0" name=chg_user_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="Chg Term" border="6" color="0" x="1311" y="2" height="16" width="96" html.valueishtml="0" name=chg_term_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="Emp Code User" border="6" color="33554432" x="1457" y="2" height="16" width="58" html.valueishtml="0" name=emp_code__user_t visible="0" 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="Refrence Id" border="6" color="0" x="1517" y="2" height="16" width="70" html.valueishtml="0" name=ref_id_t visible="0" 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="Loc Code" border="0" color="33554432" x="1409" y="1" height="16" width="46" html.valueishtml="0" name=loc_code_t visible="1" font.face="System" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="0" x="2" y="2" height="19" width="85" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 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="16777215" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="0" x="89" y="2" height="19" width="94" format="[shortdate] [time]" html.valueishtml="0" name=tran_date 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="16777215" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="0" x="185" y="2" height="19" width="75" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 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="16777215" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="0" x="262" y="2" height="19" width="230" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=60 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="16777215" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="0" x="494" y="2" height="19" width="51" format="[general]" html.valueishtml="0" name=status visible="1" edit.limit=1 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="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="0" x="547" y="2" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=status_date 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="16777215" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="0" x="681" y="2" height="19" width="58" format="[general]" html.valueishtml="0" name=confirmed visible="1" edit.limit=1 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="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="0" x="741" y="2" height="19" width="366" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=60 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="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="0" x="1109" y="2" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=chg_date 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="16777215" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="0" x="1243" y="2" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 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="16777215" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="0" x="1311" y="2" height="19" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 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="16777215" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="0" x="1457" y="2" height="19" width="58" format="[general]" html.valueishtml="0" name=emp_code__user visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="0" x="1517" y="2" height="19" width="70" format="[general]" html.valueishtml="0" name=ref_id visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="0" x="1409" y="1" height="16" width="46" format="[general]" html.valueishtml="0" name=loc_code visible="1" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) 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 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
$PBExportHeader$d_phy_scan_verify12.srd $PBExportHeader$d_phy_scan_verify12.srd
release 9; 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 ) 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=22 color="536870912" ) header(height=21 color="536870912" )
summary(height=0 color="536870912" ) summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=25 color="536870912" ) detail(height=23 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=tran_id dbname="physcan.tran_id" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="physcandet.tran_id" )
column=(type=datetime updatewhereclause=yes name=tran_date dbname="physcan.tran_date" ) column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="physcandet.line_no" )
column=(type=char(5) updatewhereclause=yes name=site_code dbname="physcan.site_code" ) column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="physcandet.site_code" )
column=(type=char(60) updatewhereclause=yes name=descr dbname="site.descr" ) column=(type=char(10) update=yes updatewhereclause=yes name=item_code dbname="physcandet.item_code" )
column=(type=char(1) updatewhereclause=yes name=status dbname="physcan.status" ) column=(type=char(120) updatewhereclause=yes name=descr dbname="item.descr" )
column=(type=datetime updatewhereclause=yes name=status_date dbname="physcan.status_date" ) column=(type=char(8) update=yes updatewhereclause=yes name=loc_code dbname="physcandet.loc_code" )
column=(type=char(1) updatewhereclause=yes name=confirmed dbname="physcan.confirmed" ) column=(type=char(40) updatewhereclause=yes name=location_descr dbname="location.descr" )
column=(type=char(60) updatewhereclause=yes name=remarks dbname="physcan.remarks" ) column=(type=char(15) update=yes updatewhereclause=yes name=lot_no dbname="physcandet.lot_no" )
column=(type=datetime updatewhereclause=yes name=chg_date dbname="physcan.chg_date" ) column=(type=char(15) update=yes updatewhereclause=yes name=lot_sl dbname="physcandet.lot_sl" )
column=(type=char(10) updatewhereclause=yes name=chg_user dbname="physcan.chg_user" ) column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity dbname="physcandet.quantity" )
column=(type=char(15) updatewhereclause=yes name=chg_term dbname="physcan.chg_term" ) column=(type=char(3) update=yes updatewhereclause=yes name=unit dbname="physcandet.unit" )
column=(type=char(10) updatewhereclause=yes name=emp_code__user dbname="physcan.emp_code__user" ) column=(type=decimal(3) update=yes updatewhereclause=yes name=qty_physical dbname="physcandet.qty_physical" )
column=(type=char(10) updatewhereclause=yes name=ref_id dbname="physcan.ref_id" ) column=(type=char(0) updatewhereclause=yes name=phy_input_scan dbname="phy_input_scan" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcan~" ) TABLE(NAME=~"site~" ) COLUMN(NAME=~"physcan.tran_id~") COLUMN(NAME=~"physcan.tran_date~") COLUMN(NAME=~"physcan.site_code~") COLUMN(NAME=~"site.descr~") COLUMN(NAME=~"physcan.status~") COLUMN(NAME=~"physcan.status_date~") COLUMN(NAME=~"physcan.confirmed~") COLUMN(NAME=~"physcan.remarks~") COLUMN(NAME=~"physcan.chg_date~") COLUMN(NAME=~"physcan.chg_user~") COLUMN(NAME=~"physcan.chg_term~") COLUMN(NAME=~"physcan.emp_code__user~") COLUMN(NAME=~"physcan.ref_id~") JOIN (LEFT=~"physcan.site_code~" OP =~"=~"RIGHT=~"site.site_code~" )) " ) column=(type=decimal(3) update=yes updatewhereclause=yes name=phy_input dbname="physcandet.phy_input" )
text(band=header alignment="2" text="Tran Id" border="6" color="0" x="2" y="2" height="16" width="85" html.valueishtml="0" name=tran_id_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=(type=char(1) updatewhereclause=yes name=location_phy_han_basis dbname="location.phy_han_basis" )
text(band=header alignment="2" text="Tran Date" border="6" color="0" x="89" y="2" height="16" width="94" html.valueishtml="0" name=tran_date_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=(type=char(3) update=yes updatewhereclause=yes name=conv_fact dbname="physcandet.conv_fact" )
text(band=header alignment="2" text="Site Code" border="6" color="0" x="185" y="2" height="16" width="75" 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=(type=char(1) update=yes updatewhereclause=yes name=status dbname="physcandet.status" )
text(band=header alignment="2" text="Site Decsription" border="6" color="0" x="262" y="2" height="16" width="230" html.valueishtml="0" name=descr_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=(type=char(10) update=yes updatewhereclause=yes name=physcandet_ref_id dbname="physcandet.ref_id" )
text(band=header alignment="2" text="Status" border="6" color="0" x="494" y="2" height="16" width="51" html.valueishtml="0" name=status_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=(type=decimal(0) update=yes updatewhereclause=yes name=ref_line_no dbname="physcandet.ref_line_no" )
text(band=header alignment="2" text="Status Date" border="6" color="0" x="547" y="2" height="16" width="132" html.valueishtml="0" name=status_date_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=(type=char(1) updatewhereclause=yes name=reverify dbname="physcandet.reverify" )
text(band=header alignment="2" text="Confirmed" border="6" color="0" x="681" y="2" height="16" width="58" html.valueishtml="0" name=confirmed_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=(type=char(0) updatewhereclause=yes name=no_art dbname="no_art" )
text(band=header alignment="2" text="Remarks" border="6" color="0" x="741" y="2" height="16" width="366" html.valueishtml="0" name=remarks_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" ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"item~" ) TABLE(NAME=~"location~" ) TABLE(NAME=~"physcandet~" ) COLUMN(NAME=~"physcandet.tran_id~") COLUMN(NAME=~"physcandet.line_no~") COLUMN(NAME=~"physcandet.site_code~") COLUMN(NAME=~"physcandet.item_code~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"physcandet.loc_code~") COLUMN(NAME=~"location.descr~") COLUMN(NAME=~"physcandet.lot_no~") COLUMN(NAME=~"physcandet.lot_sl~") COLUMN(NAME=~"physcandet.quantity~") COLUMN(NAME=~"physcandet.unit~") COLUMN(NAME=~"physcandet.qty_physical~") COMPUTE(NAME=~"'' phy_input_scan~") COLUMN(NAME=~"physcandet.phy_input~") COLUMN(NAME=~"location.phy_han_basis~") COLUMN(NAME=~"physcandet.conv_fact~") COLUMN(NAME=~"physcandet.status~") COLUMN(NAME=~"physcandet.ref_id~") COLUMN(NAME=~"physcandet.ref_line_no~") COLUMN(NAME=~"physcandet.reverify~") COMPUTE(NAME=~"'' no_art~") JOIN (LEFT=~"location.loc_code~" OP =~"=~"RIGHT=~"physcandet.loc_code~" ) JOIN (LEFT=~"item.item_code~" OP =~"=~"RIGHT=~"physcandet.item_code~" )WHERE( EXP1 =~"PHYSCANDET.TRAN_ID~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="physcandet" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
text(band=header alignment="2" text="Chg Date" border="6" color="0" x="1109" y="2" height="16" width="132" html.valueishtml="0" name=chg_date_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="Tran Id" border="0" color="33554432" x="2" y="2" height="16" width="69" html.valueishtml="0" name=tran_id_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="Chg User" border="6" color="0" x="1243" y="2" height="16" width="66" html.valueishtml="0" name=chg_user_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="Line No" border="0" color="33554432" x="73" y="2" height="16" width="72" html.valueishtml="0" name=line_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="Chg Term" border="6" color="0" x="1311" y="2" height="16" width="96" html.valueishtml="0" name=chg_term_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="Site Code" border="0" color="33554432" x="147" y="2" height="16" width="69" 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="0" text="Emp Code User" border="6" color="33554432" x="1409" y="2" height="16" width="58" html.valueishtml="0" name=emp_code__user_t visible="0" 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="218" y="2" height="16" width="69" 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="0" text="Refrence Id" border="6" color="0" x="1469" y="2" height="16" width="70" html.valueishtml="0" name=ref_id_t visible="0" 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 Descrption" border="0" color="33554432" x="289" y="2" height="16" width="260" html.valueishtml="0" name=descr_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=32766 border="5" color="0" x="2" y="2" height="19" width="85" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 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="16777215" ) text(band=header alignment="2" text="Location Code" border="0" color="33554432" x="551" y="2" height="16" width="69" 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" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="0" x="89" y="2" height="19" width="94" format="[shortdate] [time]" html.valueishtml="0" name=tran_date 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="16777215" ) text(band=header alignment="2" text="Location Description" border="0" color="33554432" x="622" y="2" height="16" width="246" html.valueishtml="0" name=location_descr_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=32766 border="5" color="0" x="185" y="2" height="19" width="75" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 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="16777215" ) text(band=header alignment="2" text="Lot No" border="0" color="33554432" x="870" y="2" height="16" width="96" 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=4 alignment="0" tabsequence=32766 border="5" color="0" x="262" y="2" height="19" width="230" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=60 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="16777215" ) text(band=header alignment="2" text="LPN No" border="0" color="33554432" x="968" y="2" height="16" width="96" 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" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="0" x="494" y="2" height="19" width="51" format="[general]" html.valueishtml="0" name=status visible="1" edit.limit=1 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="16777215" ) text(band=header alignment="2" text="Quantity" border="0" color="33554432" x="1066" y="2" height="16" width="72" html.valueishtml="0" name=quantity_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=6 alignment="0" tabsequence=32766 border="5" color="0" x="547" y="2" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=status_date 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="16777215" ) text(band=header alignment="0" text="Location Phy Han Basis" border="0" color="33554432" x="1952" y="1" height="16" width="55" html.valueishtml="0" name=location_phy_han_basis_t visible="0" font.face="System" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="0" x="681" y="2" height="19" width="58" format="[general]" html.valueishtml="0" name=confirmed visible="1" edit.limit=1 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="16777215" ) text(band=header alignment="0" text="Conv Fact" border="0" color="33554432" x="1887" y="1" height="16" width="63" html.valueishtml="0" name=conv_fact_t visible="0" 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=8 alignment="0" tabsequence=32766 border="5" color="0" x="741" y="2" height="19" width="366" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=60 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="16777215" ) text(band=header alignment="2" text="Physical Input" border="0" color="33554432" x="1773" y="1" height="16" width="112" html.valueishtml="0" name=phy_input_t visible="0" 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=9 alignment="0" tabsequence=32766 border="5" color="0" x="1109" y="2" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=chg_date 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="16777215" ) text(band=header alignment="0" text="Physical Scan Type" border="0" color="33554432" x="1647" y="1" height="16" width="124" html.valueishtml="0" name=phy_input_scan_t visible="0" 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=10 alignment="0" tabsequence=32766 border="5" color="0" x="1243" y="2" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 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="16777215" ) text(band=header alignment="2" text="Physical Quantity" border="0" color="33554432" x="1519" y="2" height="16" width="126" html.valueishtml="0" name=qty_physical_t visible="0" 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=11 alignment="0" tabsequence=32766 border="5" color="0" x="1311" y="2" height="19" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 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="16777215" ) text(band=header alignment="2" text="Unit" border="0" color="33554432" x="1140" y="2" height="16" width="69" html.valueishtml="0" name=unit_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=12 alignment="0" tabsequence=32766 border="5" color="0" x="1409" y="2" height="19" width="58" format="[general]" html.valueishtml="0" name=emp_code__user visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" ) text(band=header alignment="0" text="Status" border="0" color="33554432" x="1211" y="1" height="16" width="58" html.valueishtml="0" name=status_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="1073741824" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="0" x="1469" y="2" height="19" width="70" format="[general]" html.valueishtml="0" name=ref_id visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" ) text(band=header alignment="0" text="Ref Id" border="0" color="33554432" x="1271" y="1" height="16" width="58" html.valueishtml="0" name=ref_id_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="1073741824" )
text(band=header alignment="0" text="Ref Line No" border="0" color="33554432" x="1331" y="1" height="16" width="119" html.valueishtml="0" name=ref_line_no_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="1073741824" )
text(band=header alignment="0" text="Reverify" border="0" color="33554432" x="1452" y="1" height="16" width="65" html.valueishtml="0" name=reverify_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="0" x="2" y="2" height="19" width="69" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 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="16777215" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="0" x="73" y="2" height="19" width="72" format="[general]" html.valueishtml="0" name=line_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="16777215" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="0" x="147" y="2" height="19" width="69" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 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="16777215" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="0" x="218" y="2" height="19" width="69" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=10 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="16777215" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="0" x="289" y="2" height="19" width="260" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=120 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="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="0" x="551" y="2" height="19" width="69" format="[general]" html.valueishtml="0" name=loc_code visible="1" edit.limit=8 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="16777215" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="0" x="622" y="2" height="19" width="246" format="[general]" html.valueishtml="0" name=location_descr visible="1" edit.limit=40 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="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="0" x="870" y="2" height="19" width="96" format="[general]" html.valueishtml="0" name=lot_no visible="1" edit.limit=15 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="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="0" x="968" y="2" height="19" width="96" format="[general]" html.valueishtml="0" name=lot_sl visible="1" edit.limit=15 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="16777215" )
column(band=detail id=10 alignment="1" tabsequence=32766 border="5" color="0" x="1066" y="2" height="19" width="72" format="[general]" html.valueishtml="0" name=quantity 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="16777215" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="0" x="1140" y="2" height="19" width="69" format="[general]" html.valueishtml="0" name=unit visible="1" edit.limit=3 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="16777215" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="0" color="0" x="1952" y="1" height="16" width="55" format="[general]" html.valueishtml="0" name=location_phy_han_basis visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="0" color="0" x="1887" y="2" height="19" width="63" format="[general]" html.valueishtml="0" name=conv_fact visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="0" x="1773" y="2" height="19" width="112" format="[general]" html.valueishtml="0" name=phy_input visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="0" color="0" x="1647" y="2" height="19" width="124" format="[general]" html.valueishtml="0" name=phy_input_scan visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
column(band=detail id=12 alignment="1" tabsequence=32766 border="0" color="0" x="1519" y="2" height="19" width="126" format="[general]" html.valueishtml="0" name=qty_physical visible="0" 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="16777215" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="0" color="0" x="1211" y="1" height="16" width="58" format="[general]" html.valueishtml="0" name=status visible="1" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="0" color="0" x="1271" y="1" height="16" width="58" format="[general]" html.valueishtml="0" name=physcandet_ref_id visible="1" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="0" color="0" x="1331" y="1" height="16" width="119" format="[general]" html.valueishtml="0" name=ref_line_no visible="1" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
column(band=detail id=20 alignment="0" tabsequence=32766 border="0" color="0" x="1452" y="1" height="16" width="65" format="[general]" html.valueishtml="0" name=reverify visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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="16777215" )
column(band=detail id=21 alignment="0" tabsequence=0 border="0" color="0" x="2010" y="1" height="16" width="46" html.valueishtml="0" name=no_art visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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="16777215" )
text(band=header alignment="0" text="No Art" border="0" color="33554432" x="2009" y="1" height="16" width="47" html.valueishtml="0" name=no_art_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) 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 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
$PBExportHeader$d_phy_scan_21.srd $PBExportHeader$d_phy_scan_verify21.srd
release 9; 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 ) 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" ) summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=58 color="536870912" ) detail(height=376 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=tran_id dbname="physcan.tran_id" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="physcan.tran_id" )
column=(type=datetime updatewhereclause=yes name=tran_date dbname="physcan.tran_date" ) column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="physcan.tran_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcan~" ) COLUMN(NAME=~"physcan.tran_id~") COLUMN(NAME=~"physcan.tran_date~")WHERE( EXP1 =~"~~~"PHYSCAN~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " arguments=(("tran_id", string)) ) column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="physcan.site_code" )
text(band=detail alignment="1" text="Tran Date:" border="0" color="33554432" x="8" y="30" height="16" width="62" html.valueishtml="0" name=tran_date_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=(type=char(60) updatewhereclause=yes name=descr dbname="site.descr" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="33554432" x="73" y="30" height="19" width="100" format="[shortdate] [time]" html.valueishtml="0" name=tran_date 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="16777215" ) column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="physcan.status" )
text(band=detail alignment="1" text="Tran Id:" border="0" color="33554432" x="8" y="4" height="16" width="62" html.valueishtml="0" name=tran_id_t visible="0" 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=(type=datetime update=yes updatewhereclause=yes name=status_date dbname="physcan.status_date" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="73" y="4" height="19" width="100" format="[general]" html.valueishtml="0" name=tran_id visible="0" edit.limit=10 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="16777215" ) column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="physcan.confirmed" )
column=(type=char(60) update=yes updatewhereclause=yes name=remarks dbname="physcan.remarks" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="physcan.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="physcan.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="physcan.chg_term" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__user dbname="physcan.emp_code__user" )
column=(type=char(10) update=yes updatewhereclause=yes name=ref_id dbname="physcan.ref_id" )
column=(type=char(0) updatewhereclause=yes name=loc_code dbname="loc_code" )
column=(type=char(0) updatewhereclause=yes name=isempty dbname="isempty" )
column=(type=char(1) update=yes updatewhereclause=yes name=tran_type dbname="physcan.tran_type" )
column=(type=char(0) updatewhereclause=yes name=isstock dbname="isstock" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcan~" ) TABLE(NAME=~"site~" ) COLUMN(NAME=~"physcan.tran_id~") COLUMN(NAME=~"physcan.tran_date~") COLUMN(NAME=~"physcan.site_code~") COLUMN(NAME=~"site.descr~") COLUMN(NAME=~"physcan.status~") COLUMN(NAME=~"physcan.status_date~") COLUMN(NAME=~"physcan.confirmed~") COLUMN(NAME=~"physcan.remarks~") COLUMN(NAME=~"physcan.chg_date~") COLUMN(NAME=~"physcan.chg_user~") COLUMN(NAME=~"physcan.chg_term~") COLUMN(NAME=~"physcan.emp_code__user~") COLUMN(NAME=~"physcan.ref_id~") COMPUTE(NAME=~"'' loc_code~") COMPUTE(NAME=~"'' isempty~") COLUMN(NAME=~"physcan.tran_type~") COMPUTE(NAME=~"'' isstock~") JOIN (LEFT=~"physcan.site_code~" OP =~"=~"RIGHT=~"site.site_code~" )WHERE( EXP1 =~"~~~"PHYSCAN~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="PHYSCAN" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
text(band=detail alignment="1" text="Status Date:" border="0" color="33554432" x="161" y="80" height="16" width="73" html.valueishtml="0" name=status_date_t visible="0" 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=6 alignment="0" tabsequence=32766 border="5" color="0" x="242" y="80" height="16" width="76" format="[shortdate] [time]" html.valueishtml="0" name=status_date visible="0" 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="16777215" )
text(band=detail alignment="1" text="Confirmed:" border="0" color="33554432" x="322" y="80" height="16" width="71" html.valueishtml="0" name=confirmed_t visible="0" 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=detail alignment="1" text="Chg User:" border="0" color="33554432" x="172" y="129" height="16" width="64" html.valueishtml="0" name=chg_user_t visible="0" 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=10 alignment="0" tabsequence=32766 border="5" color="255" x="241" y="129" height="16" width="63" format="[general]" html.valueishtml="0" name=chg_user visible="0" edit.limit=10 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="67108864" )
text(band=detail alignment="1" text="Chg Term:" border="0" color="33554432" x="312" y="129" height="16" width="73" html.valueishtml="0" name=chg_term_t visible="0" 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=12 alignment="0" tabsequence=32766 border="5" color="255" x="389" y="104" height="16" width="67" format="[general]" html.valueishtml="0" name=emp_code__user visible="0" edit.limit=0 edit.case=any edit.autoselect=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="67108864" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="0" x="397" y="80" height="16" width="59" format="[general]" html.valueishtml="0" name=confirmed visible="0" edit.limit=1 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="16777215" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="101" y="34" height="16" width="73" format="[general]" html.valueishtml="0" name=ref_id visible="0" edit.limit=0 edit.case=any edit.autoselect=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="67108864" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="0" x="101" y="80" height="16" width="57" format="[general]" html.valueishtml="0" name=status visible="0" edit.limit=1 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="16777215" )
column(band=detail id=8 alignment="0" tabsequence=10 border="5" color="0" x="101" y="105" height="16" width="264" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=60 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="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="101" y="129" height="16" width="66" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="0" 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="67108864" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="0" x="101" y="55" height="16" width="73" format="[general]" html.valueishtml="0" name=site_code visible="0" edit.limit=5 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="16777215" )
text(band=detail alignment="1" text="Ref ID" border="0" color="33554432" x="23" y="34" height="16" width="73" html.valueishtml="0" name=ref_id_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="23" y="55" height="16" width="73" html.valueishtml="0" name=site_code_t visible="0" 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=detail alignment="1" text="Status:" border="0" color="33554432" x="23" y="80" height="16" width="73" html.valueishtml="0" name=status_t visible="0" 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=detail alignment="1" text="Remarks:" border="0" color="33554432" x="23" y="105" height="16" width="73" html.valueishtml="0" name=remarks_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=detail alignment="1" text="Chg Date:" border="0" color="33554432" x="23" y="129" height="16" width="73" html.valueishtml="0" name=chg_date_t visible="0" 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=32766 border="5" color="255" x="101" y="11" height="18" width="73" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 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="67108864" )
text(band=detail alignment="1" text="Tran Id:" border="0" color="33554432" x="23" y="11" height="18" width="73" html.valueishtml="0" name=tran_id_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=detail alignment="1" text="Tran Date:" border="0" color="33554432" x="309" y="11" height="18" width="73" html.valueishtml="0" name=tran_date_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=4 alignment="0" tabsequence=32766 border="5" color="255" x="180" y="56" height="16" width="279" format="[general]" html.valueishtml="0" name=descr visible="0" edit.limit=60 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="67108864" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="0" x="386" y="11" height="18" width="73" format="[shortdate] [time]" html.valueishtml="0" name=tran_date 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="16777215" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="0" x="386" y="33" height="16" width="73" format="[general]" html.valueishtml="0" name=loc_code visible="1" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
text(band=detail alignment="1" text="Location Code:" border="0" color="33554432" x="297" y="33" height="16" width="85" html.valueishtml="0" name=t_1 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=11 alignment="0" tabsequence=32766 border="0" color="255" x="389" y="129" height="16" width="66" format="[general]" html.valueishtml="0" name=chg_term visible="0" edit.limit=15 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="67108864" )
column(band=detail id=15 alignment="0" tabsequence=20 border="5" color="0" x="37" y="163" height="16" width="64" format="[general]" html.valueishtml="0" name=isempty visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
text(band=detail alignment="1" text="Tran Type:" border="0" color="33554432" x="310" y="164" height="15" width="73" html.valueishtml="0" name=tran_type_t visible="0" 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=16 alignment="0" tabsequence=30 border="5" color="0" x="389" y="163" height="16" width="66" format="[general]" html.valueishtml="0" name=tran_type visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
column(band=detail id=17 alignment="0" tabsequence=40 border="0" color="0" x="148" y="163" height="16" width="48" format="[general]" html.valueishtml="0" name=isstock visible="0" edit.limit=0 edit.case=any edit.autoselect=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="16777215" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) 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 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
...@@ -3,45 +3,67 @@ release 9; ...@@ -3,45 +3,67 @@ 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 ) 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" ) summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=376 color="536870912" ) detail(height=301 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=tran_id dbname="physcan.tran_id" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="physcandet.tran_id" )
column=(type=datetime updatewhereclause=yes name=tran_date dbname="physcan.tran_date" ) column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="physcandet.line_no" )
column=(type=char(5) updatewhereclause=yes name=site_code dbname="physcan.site_code" ) column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="physcandet.site_code" )
column=(type=char(60) updatewhereclause=yes name=descr dbname="site.descr" ) column=(type=char(10) update=yes updatewhereclause=yes name=item_code dbname="physcandet.item_code" )
column=(type=char(1) updatewhereclause=yes name=status dbname="physcan.status" ) column=(type=char(120) updatewhereclause=yes name=descr dbname="item.descr" )
column=(type=datetime updatewhereclause=yes name=status_date dbname="physcan.status_date" ) column=(type=char(8) update=yes updatewhereclause=yes name=loc_code dbname="physcandet.loc_code" )
column=(type=char(1) updatewhereclause=yes name=confirmed dbname="physcan.confirmed" ) column=(type=char(40) updatewhereclause=yes name=location_descr dbname="location.descr" )
column=(type=char(60) updatewhereclause=yes name=remarks dbname="physcan.remarks" ) column=(type=char(15) update=yes updatewhereclause=yes name=lot_no dbname="physcandet.lot_no" )
column=(type=datetime updatewhereclause=yes name=chg_date dbname="physcan.chg_date" ) column=(type=char(15) update=yes updatewhereclause=yes name=lot_sl dbname="physcandet.lot_sl" )
column=(type=char(10) updatewhereclause=yes name=chg_user dbname="physcan.chg_user" ) column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity dbname="physcandet.quantity" )
column=(type=char(15) updatewhereclause=yes name=chg_term dbname="physcan.chg_term" ) column=(type=char(3) update=yes updatewhereclause=yes name=unit dbname="physcandet.unit" )
column=(type=char(10) updatewhereclause=yes name=emp_code__user dbname="physcan.emp_code__user" ) column=(type=decimal(3) update=yes updatewhereclause=yes name=qty_physical dbname="physcandet.qty_physical" )
column=(type=char(10) updatewhereclause=yes name=ref_id dbname="physcan.ref_id" ) column=(type=char(0) updatewhereclause=yes name=phy_input_scan dbname="phy_input_scan" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcan~" ) TABLE(NAME=~"site~" ) COLUMN(NAME=~"physcan.tran_id~") COLUMN(NAME=~"physcan.tran_date~") COLUMN(NAME=~"physcan.site_code~") COLUMN(NAME=~"site.descr~") COLUMN(NAME=~"physcan.status~") COLUMN(NAME=~"physcan.status_date~") COLUMN(NAME=~"physcan.confirmed~") COLUMN(NAME=~"physcan.remarks~") COLUMN(NAME=~"physcan.chg_date~") COLUMN(NAME=~"physcan.chg_user~") COLUMN(NAME=~"physcan.chg_term~") COLUMN(NAME=~"physcan.emp_code__user~") COLUMN(NAME=~"physcan.ref_id~") JOIN (LEFT=~"physcan.site_code~" OP =~"=~"RIGHT=~"site.site_code~" )WHERE( EXP1 =~"~~~"PHYSCAN~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " arguments=(("tran_id", string)) ) column=(type=decimal(3) update=yes updatewhereclause=yes name=phy_input dbname="physcandet.phy_input" )
text(band=detail alignment="1" text="Status Date:" border="0" color="33554432" x="161" y="80" height="16" width="73" html.valueishtml="0" name=status_date_t visible="0" 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=(type=char(1) updatewhereclause=yes name=location_phy_han_basis dbname="location.phy_han_basis" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="0" x="242" y="80" height="16" width="76" format="[shortdate] [time]" html.valueishtml="0" name=status_date visible="0" 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="16777215" ) column=(type=char(3) update=yes updatewhereclause=yes name=conv_fact dbname="physcandet.conv_fact" )
text(band=detail alignment="1" text="Confirmed:" border="0" color="33554432" x="322" y="80" height="16" width="71" html.valueishtml="0" name=confirmed_t visible="0" 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=(type=char(10) update=yes updatewhereclause=yes name=emp_code__user dbname="physcandet.emp_code__user" )
text(band=detail alignment="1" text="Chg User:" border="0" color="33554432" x="172" y="129" height="16" width="64" html.valueishtml="0" name=chg_user_t visible="0" 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=(type=char(1) update=yes updatewhereclause=yes name=isempty dbname="physcandet.isempty" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="241" y="129" height="16" width="63" format="[general]" html.valueishtml="0" name=chg_user visible="0" edit.limit=10 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="67108864" ) column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="physcandet.status" )
text(band=detail alignment="1" text="Chg Term:" border="0" color="33554432" x="312" y="129" height="16" width="73" html.valueishtml="0" name=chg_term_t visible="0" 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=(type=char(10) update=yes updatewhereclause=yes name=ref_id dbname="physcandet.ref_id" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="255" x="389" y="104" height="16" width="67" format="[general]" html.valueishtml="0" name=emp_code__user visible="0" edit.limit=0 edit.case=any edit.autoselect=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="67108864" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=ref_line_no dbname="physcandet.ref_line_no" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="0" color="255" x="389" y="129" height="16" width="66" format="[general]" html.valueishtml="0" name=chg_term visible="0" edit.limit=15 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="67108864" ) column=(type=char(1) update=yes updatewhereclause=yes name=reverify dbname="physcandet.reverify" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="0" x="397" y="80" height="16" width="59" format="[general]" html.valueishtml="0" name=confirmed visible="0" edit.limit=1 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="16777215" ) column=(type=char(0) updatewhereclause=yes name=no_art dbname="no_art" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="101" y="34" height="16" width="73" format="[general]" html.valueishtml="0" name=ref_id visible="0" edit.limit=0 edit.case=any edit.autoselect=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="67108864" ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"item~" ) TABLE(NAME=~"location~" ) TABLE(NAME=~"physcandet~" ) COLUMN(NAME=~"physcandet.tran_id~") COLUMN(NAME=~"physcandet.line_no~") COLUMN(NAME=~"physcandet.site_code~") COLUMN(NAME=~"physcandet.item_code~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"physcandet.loc_code~") COLUMN(NAME=~"location.descr~") COLUMN(NAME=~"physcandet.lot_no~") COLUMN(NAME=~"physcandet.lot_sl~") COLUMN(NAME=~"physcandet.quantity~") COLUMN(NAME=~"physcandet.unit~") COLUMN(NAME=~"physcandet.qty_physical~") COMPUTE(NAME=~"'' phy_input_scan~") COLUMN(NAME=~"physcandet.phy_input~") COLUMN(NAME=~"location.phy_han_basis~") COLUMN(NAME=~"physcandet.conv_fact~") COLUMN(NAME=~"physcandet.emp_code__user~") COLUMN(NAME=~"physcandet.isempty~") COLUMN(NAME=~"physcandet.status~") COLUMN(NAME=~"physcandet.ref_id~") COLUMN(NAME=~"physcandet.ref_line_no~") COLUMN(NAME=~"physcandet.reverify~") COMPUTE(NAME=~"'' no_art~") JOIN (LEFT=~"physcandet.item_code~" OP =~"=~"RIGHT=~"item.item_code~" ) JOIN (LEFT=~"physcandet.loc_code~" OP =~"=~"RIGHT=~"location.loc_code~" )WHERE( EXP1 =~"PHYSCANDET.TRAN_ID~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="physcandet" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="0" x="101" y="80" height="16" width="57" format="[general]" html.valueishtml="0" name=status visible="0" edit.limit=1 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="16777215" ) text(band=detail alignment="1" text="LPN No:" border="0" color="33554432" x="338" y="114" height="16" width="49" 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" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="0" x="101" y="105" height="16" width="264" format="[general]" html.valueishtml="0" name=remarks visible="0" edit.limit=60 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="16777215" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="33554432" x="391" y="114" height="19" width="72" format="[general]" html.valueishtml="0" name=lot_sl visible="1" edit.limit=15 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="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="101" y="129" height="16" width="66" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="0" 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="67108864" ) column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x="169" y="90" height="16" width="294" format="[general]" html.valueishtml="0" name=location_descr visible="1" edit.limit=40 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="67108864" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="0" x="101" y="55" height="16" width="73" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 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="16777215" ) text(band=detail alignment="1" text="Item Code:" border="0" color="33554432" x="13" y="66" height="16" width="79" 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=detail alignment="1" text="Ref ID" border="0" color="33554432" x="23" y="34" height="16" width="73" html.valueishtml="0" name=ref_id_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" ) text(band=detail alignment="1" text="Loc Code:" border="0" color="33554432" x="13" y="91" height="16" width="79" 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=detail alignment="1" text="Site Code:" border="0" color="33554432" x="23" y="55" height="16" width="73" 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=detail alignment="1" text="Tran Id:" border="0" color="33554432" x="13" y="16" height="16" width="79" html.valueishtml="0" name=tran_id_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=detail alignment="1" text="Status:" border="0" color="33554432" x="23" y="80" height="16" width="73" html.valueishtml="0" name=status_t visible="0" 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=detail alignment="1" text="Site Code:" border="0" color="33554432" x="13" y="41" height="16" width="79" 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=detail alignment="1" text="Remarks:" border="0" color="33554432" x="23" y="105" height="16" width="73" html.valueishtml="0" name=remarks_t visible="0" 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=32766 border="5" color="33554432" x="97" y="41" height="16" width="66" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Chg Date:" border="0" color="33554432" x="23" y="129" height="16" width="73" html.valueishtml="0" name=chg_date_t visible="0" 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=4 alignment="0" tabsequence=32766 border="5" color="33554432" x="96" y="66" height="16" width="66" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=10 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="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="101" y="11" height="18" width="73" format="[general]" html.valueishtml="0" name=tran_id visible="0" edit.limit=10 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="67108864" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="96" y="91" height="16" width="66" format="[general]" html.valueishtml="0" name=loc_code visible="1" edit.limit=8 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Tran Id:" border="0" color="33554432" x="23" y="11" height="18" width="73" html.valueishtml="0" name=tran_id_t visible="0" 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=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="97" y="116" height="16" width="66" format="[general]" html.valueishtml="0" name=lot_no visible="1" edit.limit=15 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Tran Date:" border="0" color="33554432" x="309" y="11" height="18" width="73" html.valueishtml="0" name=tran_date_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=5 alignment="0" tabsequence=32766 border="5" color="255" x="170" y="66" height="16" width="293" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=120 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="67108864" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="255" x="180" y="56" height="16" width="279" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=60 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="67108864" ) text(band=detail alignment="1" text="Lot No:" border="0" color="33554432" x="14" y="116" height="16" width="79" 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=2 alignment="0" tabsequence=32766 border="5" color="0" x="386" y="11" height="18" width="73" format="[shortdate] [time]" html.valueishtml="0" name=tran_date 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="16777215" ) text(band=detail alignment="1" text="Unit:" border="0" color="33554432" x="202" y="138" height="16" width="52" html.valueishtml="0" name=unit_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=11 alignment="0" tabsequence=32766 border="5" color="33554432" x="258" y="138" height="16" width="29" format="[general]" html.valueishtml="0" name=unit visible="1" edit.limit=3 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Qty Physical:" border="0" color="33554432" x="308" y="138" height="16" width="79" html.valueishtml="0" name=qty_physical_t visible="0" 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=12 alignment="1" tabsequence=32766 border="5" color="33554432" x="391" y="138" height="16" width="72" format="[general]" html.valueishtml="0" name=qty_physical visible="0" 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="1" background.color="536870912" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="33554432" x="389" y="187" height="16" width="76" format="[general]" html.valueishtml="0" name=conv_fact visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 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=detail alignment="1" text="Handle Basis :" border="0" color="33554432" x="7" y="166" height="16" width="85" html.valueishtml="0" name=phy_han_basis_t visible="0" 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=15 alignment="0" tabsequence=32766 border="5" color="33554432" x="95" y="166" height="16" width="68" format="[general]" html.valueishtml="0" name=location_phy_han_basis visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 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=13 alignment="0" tabsequence=32766 border="5" color="33554432" x="170" y="166" height="16" width="293" format="[general]" html.valueishtml="0" name=phy_input_scan visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 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=detail alignment="1" text="Physical Input:" border="0" color="33554432" x="6" y="191" height="16" width="87" html.valueishtml="0" name=phy_input_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=10 alignment="1" tabsequence=32766 border="5" color="33554432" x="97" y="141" height="16" width="66" format="[general]" html.valueishtml="0" name=quantity visible="0" 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Quantity:" border="0" color="33554432" x="13" y="141" height="16" width="79" html.valueishtml="0" name=quantity_t visible="0" 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=17 alignment="0" tabsequence=32766 border="5" color="0" x="391" y="38" height="15" width="72" format="[general]" html.valueishtml="0" name=emp_code__user visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Line No:" border="0" color="33554432" x="324" y="16" height="16" width="62" html.valueishtml="0" name=line_no_t visible="0" 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=detail alignment="1" text="Emp Code:" border="0" color="33554432" x="318" y="39" height="15" width="68" html.valueishtml="0" name=emp_code__user_t visible="0" 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=18 alignment="0" tabsequence=10 border="5" color="33554432" x="281" y="189" height="16" width="77" format="[general]" html.valueishtml="0" name=isempty visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 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=19 alignment="0" tabsequence=20 border="0" color="33554432" x="197" y="191" height="16" width="39" format="[general]" html.valueishtml="0" name=status visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 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=32766 border="5" color="255" x="96" y="16" height="16" width="66" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 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="67108864" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="33554432" x="391" y="16" height="16" width="72" format="[general]" html.valueishtml="0" name=line_no visible="0" 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="1" background.color="536870912" )
column(band=detail id=21 alignment="0" tabsequence=40 border="5" color="33554432" x="388" y="213" height="16" width="72" format="[general]" html.valueishtml="0" name=ref_line_no visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 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=14 alignment="0" tabsequence=32766 border="5" color="33554432" x="97" y="191" height="16" width="72" format="[general]" html.valueishtml="0" name=phy_input visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 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=20 alignment="0" tabsequence=30 border="5" color="33554432" x="281" y="214" height="16" width="66" format="[general]" html.valueishtml="0" name=ref_id visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 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=22 alignment="0" tabsequence=50 border="5" color="33554432" x="96" y="213" height="16" width="72" format="[general]" html.valueishtml="0" name=reverify visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 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=23 alignment="0" tabsequence=60 border="5" color="33554432" x="193" y="215" height="16" width="48" format="[general]" html.valueishtml="0" name=no_art visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) 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 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
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