Commit 2d4d0f02 authored by ssarkar's avatar ssarkar

Added by Manoj dtd 30/01/2013 to remove column from physcandet table and...

Added by Manoj dtd 30/01/2013 to remove column from physcandet table and conrrected entry for empty location scanning AND update error message for Expired Stock transfer transaction


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92601 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0839d69d
...@@ -115,8 +115,9 @@ public class ExpStkTransferPos extends ValidatorEJB implements ExpStkTransferPos ...@@ -115,8 +115,9 @@ public class ExpStkTransferPos extends ValidatorEJB implements ExpStkTransferPos
for(int row = 0; row < parentNodeListLength; row++) for(int row = 0; row < parentNodeListLength; row++)
{ {
detLine++; detLine++;
tranIdRel.add(getTranId("w_inv_hold_rel", conn)); //tranIdRel.add(getTranId("w_inv_hold_rel", conn));
//Added by manoj sharma 29/01/2013 to generate tranid as per keystring
tranIdRel.add(generateTranId( "w_inv_hold_rel", siteCode, conn ));
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString( 1, tranIdRel.get(row) ); pstmt.setString( 1, tranIdRel.get(row) );
pstmt.setDate( 2, currDate ); pstmt.setDate( 2, currDate );
...@@ -140,7 +141,10 @@ public class ExpStkTransferPos extends ValidatorEJB implements ExpStkTransferPos ...@@ -140,7 +141,10 @@ public class ExpStkTransferPos extends ValidatorEJB implements ExpStkTransferPos
lotNo = ""; lotNo = "";
lotSl = "";*/ lotSl = "";*/
//Changed by sumit in 01/10/12 getting detail start //Changed by sumit in 01/10/12 getting detail start
HashMap dataMap = new HashMap(); HashMap dataMap = new HashMap();
//Added by manoj dtd 29/01/2013 to save reference in inv hold transaction
//dataMap.put("tran_id_hold",GenericUtility.getInstance().getColumnValueFromNode("tran_id_hold", dom.getElementsByTagName("Detail3").item(row)));
dataMap.put("item_code",GenericUtility.getInstance().getColumnValueFromNode("item_code", dom.getElementsByTagName("Detail3").item(row))); dataMap.put("item_code",GenericUtility.getInstance().getColumnValueFromNode("item_code", dom.getElementsByTagName("Detail3").item(row)));
dataMap.put("site_code",siteCode); dataMap.put("site_code",siteCode);
dataMap.put("loc_code",GenericUtility.getInstance().getColumnValueFromNode("loc_code__to", dom.getElementsByTagName("Detail3").item(row))); dataMap.put("loc_code",GenericUtility.getInstance().getColumnValueFromNode("loc_code__to", dom.getElementsByTagName("Detail3").item(row)));
...@@ -538,6 +542,91 @@ public class ExpStkTransferPos extends ValidatorEJB implements ExpStkTransferPos ...@@ -538,6 +542,91 @@ public class ExpStkTransferPos extends ValidatorEJB implements ExpStkTransferPos
return comp; return comp;
} }
//Changed by sumit on 10/09/12 to allocate quantity as StockTransferPos not called end. //Changed by sumit on 10/09/12 to allocate quantity as StockTransferPos not called end.
//Added by manoj sharma 29/01/2013 to generate tranid as per keystring
private String generateTranId( String windowName, String siteCode, 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.Timestamp currDate = null;
java.sql.Date effDate = null;
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
SimpleDateFormat sdfAppl = new SimpleDateFormat(genericUtility.getApplDateFormat());
currDate = new java.sql.Timestamp(System.currentTimeMillis());
String currDateStr = sdfAppl.format(currDate);
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 + "<site_code>" + siteCode + "</site_code>";
xmlValues = xmlValues + "<tran_date>" + currDateStr + "</tran_date>";
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()
} }
...@@ -718,7 +718,8 @@ public class ExpStockTransferIC extends ValidatorEJB implements ExpStockTransfer ...@@ -718,7 +718,8 @@ public class ExpStockTransferIC extends ValidatorEJB implements ExpStockTransfer
} }
else else
{ {
errList.add( "INVLOCCODE" ); //Changed by Manoj dtd 30/01/2013 Error Code corrected
errList.add( "INVLOCSTAT" );
errFields.add( childNodeName.toLowerCase() ); errFields.add( childNodeName.toLowerCase() );
} }
if( pstmtLoc != null) if( pstmtLoc != null)
......
...@@ -1027,7 +1027,8 @@ public class MPhyItemScanIC extends ValidatorEJB implements MPhyItemScanICLocal, ...@@ -1027,7 +1027,8 @@ public class MPhyItemScanIC extends ValidatorEJB implements MPhyItemScanICLocal,
valueXmlString.append("<line_no>").append("1").append("</line_no>\r\n"); valueXmlString.append("<line_no>").append("1").append("</line_no>\r\n");
//valueXmlString.append("<item_code>").append(checkNullAndTrim(itemCode)).append("</item_code>\r\n"); //valueXmlString.append("<item_code>").append(checkNullAndTrim(itemCode)).append("</item_code>\r\n");
//valueXmlString.append("<descr>").append(itemDescr).append("</descr>\r\n"); //valueXmlString.append("<descr>").append(itemDescr).append("</descr>\r\n");
valueXmlString.append("<site_code>").append(genericUtility.getColumnValueFromNode("site_code", dom2.getElementsByTagName("Detail2").item(0))).append("</site_code>\r\n"); //change done by kunal on 28/01/13 add CDATA
valueXmlString.append("<site_code><![CDATA[").append(genericUtility.getColumnValueFromNode("site_code", dom2.getElementsByTagName("Detail2").item(0))).append("]]></site_code>\r\n");
valueXmlString.append("<loc_code><![CDATA[").append(checkNullAndTrim(genericUtility.getColumnValue("loc_code", dom1))).append("]]></loc_code>\r\n"); valueXmlString.append("<loc_code><![CDATA[").append(checkNullAndTrim(genericUtility.getColumnValue("loc_code", dom1))).append("]]></loc_code>\r\n");
//valueXmlString.append("<location_descr>").append(locDescr).append("</location_descr>\r\n"); //valueXmlString.append("<location_descr>").append(locDescr).append("</location_descr>\r\n");
//valueXmlString.append("<lot_no>").append(checkNullAndTrim(lotNo)).append("</lot_no>\r\n"); //valueXmlString.append("<lot_no>").append(checkNullAndTrim(lotNo)).append("</lot_no>\r\n");
...@@ -1038,7 +1039,7 @@ public class MPhyItemScanIC extends ValidatorEJB implements MPhyItemScanICLocal, ...@@ -1038,7 +1039,7 @@ public class MPhyItemScanIC extends ValidatorEJB implements MPhyItemScanICLocal,
//valueXmlString.append("<phy_han_basis>").append(checkNull(phyHanBasis)).append("</phy_han_basis>\r\n"); //valueXmlString.append("<phy_han_basis>").append(checkNull(phyHanBasis)).append("</phy_han_basis>\r\n");
//valueXmlString.append("<phy_input_scan>").append(phyHanBasisDesc).append("</phy_input_scan>\r\n"); //valueXmlString.append("<phy_input_scan>").append(phyHanBasisDesc).append("</phy_input_scan>\r\n");
//valueXmlString.append("<priority_seq>").append(prioritySeq+1).append("</priority_seq>\r\n"); //valueXmlString.append("<priority_seq>").append(prioritySeq+1).append("</priority_seq>\r\n");
valueXmlString.append("<emp_code__user>").append(genericUtility.getColumnValueFromNode("emp_code__user", dom2.getElementsByTagName("Detail2").item(0))).append("</emp_code__user>\r\n"); //change done by Kunal on 14/09/12 valueXmlString.append("<emp_code__user><![CDATA[").append(genericUtility.getColumnValueFromNode("emp_code__user", dom2.getElementsByTagName("Detail2").item(0))).append("]]></emp_code__user>\r\n"); //change done by Kunal on 14/09/12
//valueXmlString.append("<emp_code__user>").append(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" )).append("</emp_code__user>\r\n"); //valueXmlString.append("<emp_code__user>").append(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" )).append("</emp_code__user>\r\n");
//valueXmlString.append("<analysis_class>").append(analysisClass).append("</analysis_class>\r\n"); //valueXmlString.append("<analysis_class>").append(analysisClass).append("</analysis_class>\r\n");
//valueXmlString.append("<cycle_criteria>").append(cycleCriteria).append("</cycle_criteria>\r\n"); //valueXmlString.append("<cycle_criteria>").append(cycleCriteria).append("</cycle_criteria>\r\n");
...@@ -1365,30 +1366,30 @@ public class MPhyItemScanIC extends ValidatorEJB implements MPhyItemScanICLocal, ...@@ -1365,30 +1366,30 @@ public class MPhyItemScanIC extends ValidatorEJB implements MPhyItemScanICLocal,
valueXmlString.append("<status>").append("Y").append("</status>\r\n"); valueXmlString.append("<status>").append("Y").append("</status>\r\n");
} }
valueXmlString.append("<line_no>").append(lineNo).append("</line_no>\r\n"); valueXmlString.append("<line_no>").append(lineNo).append("</line_no>\r\n");
valueXmlString.append("<item_code>").append(checkNullAndTrim(itemCode)).append("</item_code>\r\n"); valueXmlString.append("<item_code><![CDATA[").append(checkNullAndTrim(itemCode)).append("]]></item_code>\r\n");
//Changed by sankara on 10/19/2012 to append descr in CDATA format //Changed by sankara on 10/19/2012 to append descr in CDATA format
//valueXmlString.append("<descr>").append(itemDescr).append("</descr>\r\n"); //valueXmlString.append("<descr>").append(itemDescr).append("</descr>\r\n");
valueXmlString.append( "<descr><![CDATA[" ).append( checkNull( itemDescr )).append( "]]></descr>\r\n" ); valueXmlString.append( "<descr><![CDATA[" ).append( checkNull( itemDescr )).append( "]]></descr>\r\n" );
valueXmlString.append("<site_code>").append(siteCode).append("</site_code>\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("<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>").append(locDescr).append("</location_descr>\r\n");
valueXmlString.append("<location_descr><![CDATA[").append(checkNullAndTrim(locDescr)).append("]]></location_descr>\r\n"); valueXmlString.append("<location_descr><![CDATA[").append(checkNullAndTrim(locDescr)).append("]]></location_descr>\r\n");
valueXmlString.append("<lot_no>").append(checkNullAndTrim(lotNo)).append("</lot_no>\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("<lot_sl><![CDATA[").append(checkNullAndTrim(lotSl)).append("]]></lot_sl>\r\n");
valueXmlString.append("<quantity>").append(quantity).append("</quantity>\r\n"); valueXmlString.append("<quantity>").append(quantity).append("</quantity>\r\n");
valueXmlString.append("<unit>").append(unit).append("</unit>\r\n"); valueXmlString.append("<unit><![CDATA[").append(unit).append("]]></unit>\r\n");
valueXmlString.append("<qty_physical>").append(("0")).append("</qty_physical>\r\n"); valueXmlString.append("<qty_physical>").append(("0")).append("</qty_physical>\r\n");
valueXmlString.append("<phy_han_basis>").append(checkNull(phyHanBasis)).append("</phy_han_basis>\r\n"); valueXmlString.append("<phy_han_basis><![CDATA[").append(checkNull(phyHanBasis)).append("]]></phy_han_basis>\r\n");
valueXmlString.append("<phy_input_scan>").append(phyHanBasisDesc).append("</phy_input_scan>\r\n"); valueXmlString.append("<phy_input_scan><![CDATA[").append(phyHanBasisDesc).append("]]></phy_input_scan>\r\n");
valueXmlString.append("<priority_seq>").append(prioritySeq+1).append("</priority_seq>\r\n"); valueXmlString.append("<priority_seq>").append(prioritySeq+1).append("</priority_seq>\r\n");
valueXmlString.append("<emp_code__user>").append(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginEmpCode" )).append("</emp_code__user>\r\n"); //change done by Kunal on 14/09/12 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("<emp_code__user>").append(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" )).append("</emp_code__user>\r\n"); //valueXmlString.append("<emp_code__user>").append(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" )).append("</emp_code__user>\r\n");
valueXmlString.append("<analysis_class>").append(analysisClass).append("</analysis_class>\r\n"); valueXmlString.append("<analysis_class><![CDATA[").append(analysisClass).append("]]></analysis_class>\r\n");
valueXmlString.append("<cycle_criteria>").append(cycleCriteria).append("</cycle_criteria>\r\n"); valueXmlString.append("<cycle_criteria><![CDATA[").append(cycleCriteria).append("]]></cycle_criteria>\r\n");
valueXmlString.append("<phy_input>").append("").append("</phy_input>\r\n"); valueXmlString.append("<phy_input>").append("").append("</phy_input>\r\n");
if( "U".equalsIgnoreCase(phyHanBasis)) if( "U".equalsIgnoreCase(phyHanBasis))
{ {
valueXmlString.append("<conv_fact>").append(checkNull(phyHanUOM)).append("</conv_fact>\r\n"); valueXmlString.append("<conv_fact><![CDATA[").append(checkNull(phyHanUOM)).append("]]></conv_fact>\r\n");
} }
else else
{ {
...@@ -1712,8 +1713,5 @@ public class MPhyItemScanIC extends ValidatorEJB implements MPhyItemScanICLocal, ...@@ -1712,8 +1713,5 @@ public class MPhyItemScanIC extends ValidatorEJB implements MPhyItemScanICLocal,
} }
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -754,8 +754,8 @@ public class PhysicalCountSchedule implements Schedule ...@@ -754,8 +754,8 @@ public class PhysicalCountSchedule implements Schedule
{ {
insertItemProcess="insert into PHYSCANDET (TRAN_ID,LINE_NO,SITE_CODE,ITEM_CODE," + insertItemProcess="insert into PHYSCANDET (TRAN_ID,LINE_NO,SITE_CODE,ITEM_CODE," +
"LOC_CODE,LOT_NO,LOT_SL,QUANTITY," + "LOC_CODE,LOT_NO,LOT_SL,QUANTITY," +
"ANALYSIS_CLASS,PRIORITY_SEQ,CYCLE_CRITERIA,EMP_CODE__USER,UNIT) " + "ANALYSIS_CLASS,PRIORITY_SEQ,CYCLE_CRITERIA,EMP_CODE__USER,UNIT,TRAN_TYPE) " +
"values(?,?,?,?,?,?,?,?,?,?,?,?,?)"; "values(?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
pstmtInsert = conn.prepareStatement(insertItemProcess); pstmtInsert = conn.prepareStatement(insertItemProcess);
pstmtInsert.setString(1,tranId); pstmtInsert.setString(1,tranId);
pstmtInsert.setInt(2,rec); pstmtInsert.setInt(2,rec);
...@@ -770,6 +770,7 @@ public class PhysicalCountSchedule implements Schedule ...@@ -770,6 +770,7 @@ public class PhysicalCountSchedule implements Schedule
pstmtInsert.setString(11,rs.getString("CYCLE_CRITERIA")); pstmtInsert.setString(11,rs.getString("CYCLE_CRITERIA"));
pstmtInsert.setString(12,empCode); pstmtInsert.setString(12,empCode);
pstmtInsert.setString(13,rs.getString("UNIT")); pstmtInsert.setString(13,rs.getString("UNIT"));
pstmtInsert.setString(14,"A");
pstmtInsert.executeUpdate(); pstmtInsert.executeUpdate();
pstmtInsert.close(); pstmtInsert.close();
pstmtInsert=null; pstmtInsert=null;
...@@ -1382,10 +1383,11 @@ private int generateDetRec(String empCode,int rec,Connection conn,String tranId, ...@@ -1382,10 +1383,11 @@ private int generateDetRec(String empCode,int rec,Connection conn,String tranId,
aitem=arr.get(ctr).get(ctr1); aitem=arr.get(ctr).get(ctr1);
rec++; rec++;
System.out.println("lineNo---"+rec); System.out.println("lineNo---"+rec);
System.out.println("Setting tranType Auto ---");
insertItemProcess="insert into PHYSCANDET (TRAN_ID,LINE_NO,SITE_CODE,ITEM_CODE," + insertItemProcess="insert into PHYSCANDET (TRAN_ID,LINE_NO,SITE_CODE,ITEM_CODE," +
"LOC_CODE,LOT_NO,LOT_SL,QUANTITY," + "LOC_CODE,LOT_NO,LOT_SL,QUANTITY," +
"ANALYSIS_CLASS,PRIORITY_SEQ,CYCLE_CRITERIA,EMP_CODE__USER,UNIT) " + "ANALYSIS_CLASS,PRIORITY_SEQ,CYCLE_CRITERIA,EMP_CODE__USER,UNIT,TRAN_TYPE) " +
"values(?,?,?,?,?,?,?,?,?,?,?,?,?)"; "values(?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
pstmtInsert = conn.prepareStatement(insertItemProcess); pstmtInsert = conn.prepareStatement(insertItemProcess);
pstmtInsert.setString(1,tranId); pstmtInsert.setString(1,tranId);
pstmtInsert.setInt(2,rec); pstmtInsert.setInt(2,rec);
...@@ -1400,6 +1402,7 @@ private int generateDetRec(String empCode,int rec,Connection conn,String tranId, ...@@ -1400,6 +1402,7 @@ private int generateDetRec(String empCode,int rec,Connection conn,String tranId,
pstmtInsert.setString(11,aitem.getCycleCriteria()); pstmtInsert.setString(11,aitem.getCycleCriteria());
pstmtInsert.setString(12,empCode); pstmtInsert.setString(12,empCode);
pstmtInsert.setString(13,aitem.getUnit()); pstmtInsert.setString(13,aitem.getUnit());
pstmtInsert.setString(14,"A");
pstmtInsert.executeUpdate(); pstmtInsert.executeUpdate();
pstmtInsert.close(); pstmtInsert.close();
pstmtInsert=null; pstmtInsert=null;
......
...@@ -159,13 +159,12 @@ ...@@ -159,13 +159,12 @@
<dbname>physcandet.conv_fact</dbname> <dbname>physcandet.conv_fact</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="0">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>isempty</name> <name>isempty</name>
<dbname>physcandet.isempty</dbname> <dbname>isempty</dbname>
</table_column> </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.isempty&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> <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;) COMPUTE(NAME=&quot;&apos;&apos; isempty&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> <update>physcandet</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -572,7 +571,7 @@ ...@@ -572,7 +571,7 @@
<text>Conv Fact</text> <text>Conv Fact</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1580</x> <x>1579</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>63</width> <width>63</width>
...@@ -594,6 +593,62 @@ ...@@ -594,6 +593,62 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Phy Han Basis</text>
<border>0</border>
<color>33554432</color>
<x>1644</x>
<y>1</y>
<height>16</height>
<width>121</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>phy_han_basis_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Isempty</text>
<border>0</border>
<color>33554432</color>
<x>1767</x>
<y>1</y>
<height>16</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>isempty_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>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -1129,7 +1184,7 @@ ...@@ -1129,7 +1184,7 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>1580</x> <x>1579</x>
<y>2</y> <y>2</y>
<height>19</height> <height>19</height>
<width>63</width> <width>63</width>
...@@ -1162,13 +1217,14 @@ ...@@ -1162,13 +1217,14 @@
<band>Detail</band> <band>Detail</band>
<id>15</id> <id>15</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>0</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>1646</x> <x>1644</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>121</width> <width>121</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -1198,13 +1254,14 @@ ...@@ -1198,13 +1254,14 @@
<band>Detail</band> <band>Detail</band>
<id>17</id> <id>17</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>0</tabsequence> <tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>1770</x> <x>1767</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -1230,62 +1287,6 @@ ...@@ -1230,62 +1287,6 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Phy Han Basis</text>
<border>0</border>
<color>33554432</color>
<x>1645</x>
<y>1</y>
<height>16</height>
<width>122</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>phy_han_basis_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Isempty</text>
<border>0</border>
<color>33554432</color>
<x>1769</x>
<y>1</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>isempty_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>67108864</color>
</background>
</TextObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -154,13 +154,12 @@ ...@@ -154,13 +154,12 @@
<dbname>physcandet.conv_fact</dbname> <dbname>physcandet.conv_fact</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="0">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>isempty</name> <name>isempty</name>
<dbname>physcandet.isempty</dbname> <dbname>isempty</dbname>
</table_column> </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.isempty&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> <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;) COMPUTE(NAME=&quot;&apos;&apos; isempty&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> <update>physcandet</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -945,7 +944,7 @@ ...@@ -945,7 +944,7 @@
<text>Physical Input:</text> <text>Physical Input:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>6</x> <x>7</x>
<y>191</y> <y>191</y>
<height>16</height> <height>16</height>
<width>87</width> <width>87</width>
...@@ -1037,7 +1036,7 @@ ...@@ -1037,7 +1036,7 @@
<band>Detail</band> <band>Detail</band>
<id>14</id> <id>14</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>97</x> <x>97</x>
...@@ -1109,14 +1108,13 @@ ...@@ -1109,14 +1108,13 @@
<band>Detail</band> <band>Detail</band>
<id>17</id> <id>17</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>291</x> <x>242</x>
<y>191</y> <y>203</y>
<height>16</height> <height>16</height>
<width>65</width> <width>48</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -1142,34 +1140,6 @@ ...@@ -1142,34 +1140,6 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Empty:</text>
<border>0</border>
<color>33554432</color>
<x>232</x>
<y>190</y>
<height>16</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>isempty_t</name>
<visible>0</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>67108864</color>
</background>
</TextObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -164,17 +164,16 @@ ...@@ -164,17 +164,16 @@
<type size="1">char</type> <type size="1">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>isempty</name> <name>status</name>
<dbname>physcandet.isempty</dbname> <dbname>physcandet.status</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="0">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>status</name> <name>isempty</name>
<dbname>physcandet.status</dbname> <dbname>isempty</dbname>
</table_column> </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;) 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> <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.status&quot;) COMPUTE(NAME=&quot;&apos;&apos; isempty&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> <update>physcandet</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -1185,7 +1184,7 @@ ...@@ -1185,7 +1184,7 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>18</id> <id>19</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>20</tabsequence> <tabsequence>20</tabsequence>
<border>5</border> <border>5</border>
...@@ -1221,7 +1220,7 @@ ...@@ -1221,7 +1220,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>19</id> <id>18</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>30</tabsequence> <tabsequence>30</tabsequence>
<border>0</border> <border>0</border>
...@@ -1230,11 +1229,18 @@ ...@@ -1230,11 +1229,18 @@
<y>191</y> <y>191</y>
<height>16</height> <height>16</height>
<width>39</width> <width>39</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status</name> <name>status</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
......
...@@ -160,13 +160,6 @@ ...@@ -160,13 +160,6 @@
<name>emp_code__user</name> <name>emp_code__user</name>
<dbname>physcandet.emp_code__user</dbname> <dbname>physcandet.emp_code__user</dbname>
</table_column> </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> <table_column>
<type size="1">char</type> <type size="1">char</type>
<update>yes</update> <update>yes</update>
...@@ -201,7 +194,13 @@ ...@@ -201,7 +194,13 @@
<name>no_art</name> <name>no_art</name>
<dbname>no_art</dbname> <dbname>no_art</dbname>
</table_column> </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> <table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>isempty</name>
<dbname>isempty</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.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;) COMPUTE(NAME=&quot;&apos;&apos; isempty&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> <update>physcandet</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -1100,7 +1099,7 @@ ...@@ -1100,7 +1099,7 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>18</id> <id>23</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>5</border>
...@@ -1136,7 +1135,7 @@ ...@@ -1136,7 +1135,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>19</id> <id>18</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>20</tabsequence> <tabsequence>20</tabsequence>
<border>0</border> <border>0</border>
...@@ -1153,7 +1152,7 @@ ...@@ -1153,7 +1152,7 @@
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>upper</case> <case>any</case>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
...@@ -1248,7 +1247,7 @@ ...@@ -1248,7 +1247,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>21</id> <id>20</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>40</tabsequence> <tabsequence>40</tabsequence>
<border>5</border> <border>5</border>
...@@ -1320,7 +1319,7 @@ ...@@ -1320,7 +1319,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>20</id> <id>19</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>30</tabsequence> <tabsequence>30</tabsequence>
<border>5</border> <border>5</border>
...@@ -1356,7 +1355,7 @@ ...@@ -1356,7 +1355,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>22</id> <id>21</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>50</tabsequence> <tabsequence>50</tabsequence>
<border>5</border> <border>5</border>
...@@ -1373,7 +1372,7 @@ ...@@ -1373,7 +1372,7 @@
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>upper</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
...@@ -1393,7 +1392,7 @@ ...@@ -1393,7 +1392,7 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>23</id> <id>22</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>60</tabsequence> <tabsequence>60</tabsequence>
<border>5</border> <border>5</border>
......
...@@ -29464,6 +29464,62 @@ INSERT INTO messages ( ...@@ -29464,6 +29464,62 @@ INSERT INTO messages (
'Base ', 'Base ',
NULL, NULL,
NULL); NULL);
--Added by Manoj dtd 30/01/2013 to update error message for Expired Stock transfer transaction
INSERT INTO MESSAGES(MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,CHG_DATE,CHG_USER,CHG_TERM) VALUES('INVLOCSTAT','Invalid Location!','Invalid Location! Entered Location is not Applicable for NEXP/EXP Lock Type.','E','Y',SYSDATE,'BASE','BASE');
--Ended by Manoj dtd 30/01/2013 to update error message for Expired Stock transfer transaction
--Added by Manoj dtd 30/01/2013 to remove column from physcandet table and conrrected entry for empty location scanning
ALTER TABLE PHYSCANDET DROP COLUMN ISEMPTY;
update obj_forms set scan_metadata='<SCAN_INFO> <MAPPING_SCAN ORDER="1"> <SCAN_LABEL>Location Code:</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>loc_code</FIELD></FIELDS> </MAPPING_SCAN> <INPUT_SCAN ORDER="1"> <SCAN_LABEL>Is Empty :</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>isempty</FIELD></FIELDS> </INPUT_SCAN> <INPUT_SCAN ORDER="2"> <SCAN_LABEL>LPN No :</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>lot_sl</FIELD></FIELDS> </INPUT_SCAN> <INPUT_SCAN ORDER="3"> <SCAN_LABEL>Item Code :</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>item_code</FIELD></FIELDS> </INPUT_SCAN> <INPUT_SCAN ORDER="4"> <SCAN_LABEL>Lot No :</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>lot_no</FIELD></FIELDS> </INPUT_SCAN> <INPUT_SCAN ORDER="5"> <SCAN_LABEL>Case Count:</SCAN_LABEL> <FIELDS SEPARATOR="" DELIMITER=""><FIELD>phy_input</FIELD></FIELDS> </INPUT_SCAN><SCAN_CONDITION field="lot_sl">isempty.indexOf("N") != -1</SCAN_CONDITION> <SCAN_CONDITION field="item_code">isempty.indexOf("N") != -1</SCAN_CONDITION> <SCAN_CONDITION field="lot_no">isempty.indexOf("N") != -1</SCAN_CONDITION> <SCAN_CONDITION field="phy_input">isempty.indexOf("N") != -1</SCAN_CONDITION> </SCAN_INFO>' where win_name='w_empty_loc_scan' and form_no=2;
--Ended by Manoj dtd 30/01/2013 to remove column from physcandet table and conrrected entry for empty location scanning
--Added by Manoj dtd 30/01/2013 to update error message for Schedule location
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
chg_date ,
chg_user ,
chg_term
)
VALUES (
'VMLOC8',
'Invalid Location Code!',
'Location Code already exists in Physcandet table.',
'E',
'Y',
SYSDATE,
'BASE ',
'BASE '
);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
chg_date ,
chg_user ,
chg_term
)
VALUES (
'VMLOC7',
'Invalid Location Code!',
'Location Code Not available in Reserv Or Case Pick or Deep Store Location.',
'E',
'Y',
SYSDATE,
'BASE ',
'BASE '
);
--Ended by Manoj dtd 30/01/2013 to update error message for Schedule location
COMMIT; COMMIT;
......
$PBExportHeader$d_phy_item_scan11.srd $PBExportHeader$d_phy_item_mscan11.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=22 color="536870912" )
......
$PBExportHeader$d_phy_item_mscan11.srd $PBExportHeader$d_phy_item_mscan12.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=22 color="536870912" )
......
...@@ -21,9 +21,9 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -21,9 +21,9 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=char(1) updatewhereclause=yes name=location_phy_han_basis dbname="location.phy_han_basis" ) column=(type=char(1) updatewhereclause=yes name=location_phy_han_basis dbname="location.phy_han_basis" )
column=(type=char(3) update=yes updatewhereclause=yes name=conv_fact dbname="physcandet.conv_fact" ) column=(type=char(3) update=yes updatewhereclause=yes name=conv_fact dbname="physcandet.conv_fact" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__user dbname="physcandet.emp_code__user" ) column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__user dbname="physcandet.emp_code__user" )
column=(type=char(1) update=yes updatewhereclause=yes name=isempty dbname="physcandet.isempty" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="physcandet.status" ) column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="physcandet.status" )
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~") 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=(type=char(0) updatewhereclause=yes name=isempty dbname="isempty" )
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.status~") COMPUTE(NAME=~"'' isempty~") 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)) )
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" ) 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=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="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=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=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" )
...@@ -54,8 +54,8 @@ column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="335544 ...@@ -54,8 +54,8 @@ column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="335544
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" ) 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="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" ) 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=20 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="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=30 border="0" color="33554432" x="197" y="191" height="16" width="39" html.valueishtml="0" name=status 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=18 alignment="0" tabsequence=30 border="0" color="33554432" x="197" y="191" height="16" width="39" 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="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