Commit a8f9ba7e authored by ssarkar's avatar ssarkar

Source given by Kunal 05-dec-12


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92278 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a9450876
...@@ -62,7 +62,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation ...@@ -62,7 +62,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
String locCode = "",siteCode = "", errCode = "",userId = "",sql = "",updateStatus = "",tranType = ""; String locCode = "",siteCode = "", errCode = "",userId = "",sql = "",updateStatus = "",tranType = "",tranId = "";
String childNodeName = null; String childNodeName = null;
String errString = ""; String errString = "";
String errorType = ""; String errorType = "";
...@@ -148,7 +148,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation ...@@ -148,7 +148,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation
else else
{ {
sql = "select count(*) from stock where stock.site_code = ? and stock.loc_code = ? and stock.quantity > 0 "; sql = "select count(*) from stock where stock.site_code = ? and stock.loc_code = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1,siteCode); pstmt.setString(1,siteCode);
pstmt.setString(2,locCode); pstmt.setString(2,locCode);
...@@ -183,6 +183,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation ...@@ -183,6 +183,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation
System.out.println("Tran Type = "+tranType); System.out.println("Tran Type = "+tranType);
System.out.println("Update Status = "+updateStatus); System.out.println("Update Status = "+updateStatus);
if (updateStatus.equalsIgnoreCase("D") && (tranType == null || tranType.trim().length() == 0)) if (updateStatus.equalsIgnoreCase("D") && (tranType == null || tranType.trim().length() == 0))
{ {
...@@ -190,6 +191,34 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation ...@@ -190,6 +191,34 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
if (updateStatus.equalsIgnoreCase("E") && (tranType == null || tranType.trim().length() == 0)) //added by kunal on 5/12/12
{
String locCodeDB = "";
locCode = checkNull(genericUtility.getColumnValueFromNode("loc_code",dom2.getElementsByTagName("Detail2").item(i)));
tranId = checkNull(genericUtility.getColumnValueFromNode("tran_id",dom2.getElementsByTagName("Detail2").item(i)));
int lineNo = Integer.parseInt(genericUtility.getColumnValueFromNode("line_no",dom2.getElementsByTagName("Detail2").item(i))==null?"0":genericUtility.getColumnValueFromNode("line_no",dom2.getElementsByTagName("Detail2").item(i)));
sql = "select loc_code from physcandet where tran_id = ? and line_no = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,tranId);
pstmt.setInt(2,lineNo);
rs = pstmt.executeQuery();
if(rs.next())
{
locCodeDB = checkNull(rs.getString(1));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if(!locCodeDB.trim().equalsIgnoreCase(locCode.trim()))
{
errCode = "VMDEL2";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
} }
} }
...@@ -307,7 +336,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation ...@@ -307,7 +336,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{ {
String itemDescr = "",locDescr = "" ,siteDescr = "",itemCode = "",locCode = "",sql = "",siteCode = ""; String itemDescr = "",locDescr = "" ,siteDescr = "",itemCode = "",locCode = "",sql = "",siteCode = "";
String analysisClass = "", cycleCriteria = "",lotNo = "",lotsl = "",unit = "",tranId = ""; String analysisClass = "", cycleCriteria = "",lotNo = "",lotsl = "",unit = "",tranId = "",empCode = "",empName = "";
String childNodeName = null; String childNodeName = null;
StringBuffer valueXmlString = new StringBuffer(); StringBuffer valueXmlString = new StringBuffer();
int ctr = 0, currentFormNo = 0, childNodeListLength = 0,maxprioritySeq = 0,prioritySeq = 0; int ctr = 0, currentFormNo = 0, childNodeListLength = 0,maxprioritySeq = 0,prioritySeq = 0;
...@@ -321,12 +350,12 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation ...@@ -321,12 +350,12 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation
ResultSet rs = null ; ResultSet rs = null ;
GenericUtility genericUtility = GenericUtility.getInstance(); GenericUtility genericUtility = GenericUtility.getInstance();
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
System.out.println("CALLED ic");
try try
{ {
conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
empCode = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginEmpCode");
if(objContext != null && objContext.trim().length() > 0) if(objContext != null && objContext.trim().length() > 0)
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
...@@ -336,7 +365,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation ...@@ -336,7 +365,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation
switch(currentFormNo) switch(currentFormNo)
{ {
/*case 1 : case 1 :
parentNodeList = dom.getElementsByTagName("Detail1"); parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0); parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes(); childNodeList = parentNode.getChildNodes();
...@@ -350,14 +379,28 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation ...@@ -350,14 +379,28 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation
}while(ctr < childNodeListLength && ! childNodeName.equals(currentColumn)); }while(ctr < childNodeListLength && ! childNodeName.equals(currentColumn));
if(currentColumn.trim().equalsIgnoreCase("item_code")) if(currentColumn.trim().equalsIgnoreCase("itm_defaultedit")) //added by kunal on 5/12/12
{
System.out.println("emp code = "+empCode);
sql = " select emp_fname from employee where emp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
if(rs.next())
{ {
itemCode = checkNull(genericUtility.getColumnValue("item_code", dom)); empName = rs.getString(1);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
valueXmlString.append("<emp_code__user>").append("<![CDATA[" + empCode +"]]>").append("</emp_code__user>");
valueXmlString.append("<employee_emp_fname>").append("<![CDATA[" + empName +"]]>").append("</employee_emp_fname>");
} }
valueXmlString.append("</Detail1>"); valueXmlString.append("</Detail1>");
break;*/ break;
case 2 : case 2 :
parentNodeList = dom.getElementsByTagName("Detail2"); parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0); parentNode = parentNodeList.item(0);
...@@ -425,8 +468,14 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation ...@@ -425,8 +468,14 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation
maxprioritySeq++; maxprioritySeq++;
System.out.println("maxprioritySeq new = "+maxprioritySeq); System.out.println("maxprioritySeq new = "+maxprioritySeq);
valueXmlString.append("<priority_seq>").append("<![CDATA[" + maxprioritySeq +"]]>").append("</priority_seq>"); valueXmlString.append("<priority_seq>").append("<![CDATA[" + maxprioritySeq +"]]>").append("</priority_seq>");
valueXmlString.append("<emp_code__user>").append("<![CDATA[" + empCode +"]]>").append("</emp_code__user>");
}
else if(currentColumn.trim().equalsIgnoreCase("itm_defaultedit"))
{
System.out.println("INSIDE ITM_DEFAULTEDIT");
valueXmlString.append("<emp_code__user>").append("<![CDATA[" + empCode +"]]>").append("</emp_code__user>");
} }
else if(currentColumn.trim().equalsIgnoreCase("loc_code")) else if(currentColumn.trim().equalsIgnoreCase("loc_code"))
{ {
...@@ -440,7 +489,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation ...@@ -440,7 +489,7 @@ public class ScheduleLocationIC extends ValidatorEJB implements ScheduleLocation
{ {
sql = "select stock.item_code,stock.quantity,stock.unit,stock.lot_no,stock.lot_sl,location.descr,item.descr,item.analysis_class,item.cycle_criteria " sql = "select stock.item_code,stock.quantity,stock.unit,stock.lot_no,stock.lot_sl,location.descr,item.descr,item.analysis_class,item.cycle_criteria "
+" from stock,location,item where stock.loc_code = location.loc_code and stock.item_code = item.item_code " +" from stock,location,item where stock.loc_code = location.loc_code and stock.item_code = item.item_code "
+" and stock.site_code = ? and stock.loc_code = ? and stock.quantity > 0 "; +" and stock.site_code = ? and stock.loc_code = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1,siteCode); pstmt.setString(1,siteCode);
pstmt.setString(2,locCode); pstmt.setString(2,locCode);
......
...@@ -159,7 +159,14 @@ ...@@ -159,7 +159,14 @@
<name>tran_type</name> <name>tran_type</name>
<dbname>physcandet.tran_type</dbname> <dbname>physcandet.tran_type</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcandet&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;location&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;site.descr&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.analysis_class&quot;) COLUMN(NAME=&quot;physcandet.priority_seq&quot;) COLUMN(NAME=&quot;physcandet.cycle_criteria&quot;) COLUMN(NAME=&quot;physcandet.tran_type&quot;) JOIN (LEFT=&quot;physcandet.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&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; ) ) ORDER(NAME=&quot;physcandet.line_no&quot; ASC=yes ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve> <table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__user</name>
<dbname>physcandet.emp_code__user</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcandet&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;location&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;site.descr&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.analysis_class&quot;) COLUMN(NAME=&quot;physcandet.priority_seq&quot;) COLUMN(NAME=&quot;physcandet.cycle_criteria&quot;) COLUMN(NAME=&quot;physcandet.tran_type&quot;) COLUMN(NAME=&quot;physcandet.emp_code__user&quot;) JOIN (LEFT=&quot;physcandet.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; OUTER1 =&quot;physcandet.site_code&quot; ) JOIN (LEFT=&quot;physcandet.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;physcandet.item_code&quot; ) JOIN (LEFT=&quot;physcandet.loc_code&quot; OP =&quot;=&quot;RIGHT=&quot;location.loc_code&quot; OUTER1 =&quot;physcandet.loc_code&quot; )WHERE( EXP1 =&quot;physcandet.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ORDER(NAME=&quot;physcandet.line_no&quot; ASC=yes ) 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>
...@@ -588,6 +595,34 @@ ...@@ -588,6 +595,34 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tran Type</text>
<border>6</border>
<color>0</color>
<x>1599</x>
<y>1</y>
<height>16</height>
<width>75</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type_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>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -1158,18 +1193,25 @@ ...@@ -1158,18 +1193,25 @@
<band>Detail</band> <band>Detail</band>
<id>16</id> <id>16</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>0</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1600</x> <x>1599</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>75</width> <width>75</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_type</name> <name>tran_type</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
...@@ -1186,17 +1228,17 @@ ...@@ -1186,17 +1228,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Tran Type</text> <text>Emp Code User</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>1599</x> <x>1676</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>76</width> <width>139</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_type_t</name> <name>emp_code__user_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Tahoma</face> <face>Tahoma</face>
...@@ -1211,6 +1253,35 @@ ...@@ -1211,6 +1253,35 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>0</tabsequence>
<border>5</border>
<color>0</color>
<x>1677</x>
<y>1</y>
<height>16</height>
<width>138</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__user</name>
<visible>0</visible>
<font>
<face>Times</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>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
<name>tran_type</name> <name>tran_type</name>
<dbname>physcan.tran_type</dbname> <dbname>physcan.tran_type</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcan&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;employee&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;employee.emp_fname&quot;) COLUMN(NAME=&quot;physcan.ref_id&quot;) COLUMN(NAME=&quot;physcan.tran_type&quot;) JOIN (LEFT=&quot;physcan.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; ) JOIN (LEFT=&quot;physcan.emp_code__user&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;physcan.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;physcan&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;employee&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;employee.emp_fname&quot;) COLUMN(NAME=&quot;physcan.ref_id&quot;) COLUMN(NAME=&quot;physcan.tran_type&quot;) JOIN (LEFT=&quot;physcan.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; OUTER1 =&quot;physcan.site_code&quot; ) JOIN (LEFT=&quot;physcan.emp_code__user&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;physcan.emp_code__user&quot; )WHERE( EXP1 =&quot;physcan.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>physcan</update> <update>physcan</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
......
...@@ -155,7 +155,14 @@ ...@@ -155,7 +155,14 @@
<dbname>physcandet.tran_type</dbname> <dbname>physcandet.tran_type</dbname>
<initial>M</initial> <initial>M</initial>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcandet&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;location&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;site.descr&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.analysis_class&quot;) COLUMN(NAME=&quot;physcandet.priority_seq&quot;) COLUMN(NAME=&quot;physcandet.cycle_criteria&quot;) COLUMN(NAME=&quot;physcandet.tran_type&quot;) JOIN (LEFT=&quot;physcandet.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&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; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;physcandet.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve> <table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__user</name>
<dbname>physcandet.emp_code__user</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;physcandet&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;location&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;site.descr&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.analysis_class&quot;) COLUMN(NAME=&quot;physcandet.priority_seq&quot;) COLUMN(NAME=&quot;physcandet.cycle_criteria&quot;) COLUMN(NAME=&quot;physcandet.tran_type&quot;) COLUMN(NAME=&quot;physcandet.emp_code__user&quot;) JOIN (LEFT=&quot;physcandet.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; OUTER1 =&quot;physcandet.site_code&quot; ) JOIN (LEFT=&quot;physcandet.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;physcandet.item_code&quot; ) JOIN (LEFT=&quot;physcandet.loc_code&quot; OP =&quot;=&quot;RIGHT=&quot;location.loc_code&quot; OUTER1 =&quot;physcandet.loc_code&quot; )WHERE( EXP1 =&quot;physcandet.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;physcandet.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<update>physcandet</update> <update>physcandet</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -1085,11 +1092,47 @@ ...@@ -1085,11 +1092,47 @@
<y>86</y> <y>86</y>
<height>16</height> <height>16</height>
<width>74</width> <width>74</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_type</name> <name>tran_type</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times</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>17</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>255</color>
<x>570</x>
<y>129</y>
<height>16</height>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__user</name>
<visible>0</visible>
<font> <font>
<face>Times</face> <face>Times</face>
<height>-10</height> <height>-10</height>
......
...@@ -21,7 +21,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -21,7 +21,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=decimal(0) update=yes updatewhereclause=yes name=priority_seq dbname="physcandet.priority_seq" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=priority_seq dbname="physcandet.priority_seq" )
column=(type=char(1) update=yes updatewhereclause=yes name=cycle_criteria dbname="physcandet.cycle_criteria" ) column=(type=char(1) update=yes updatewhereclause=yes name=cycle_criteria dbname="physcandet.cycle_criteria" )
column=(type=char(1) update=yes updatewhereclause=yes name=tran_type dbname="physcandet.tran_type" ) column=(type=char(1) update=yes updatewhereclause=yes name=tran_type dbname="physcandet.tran_type" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcandet~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"item~" ) TABLE(NAME=~"location~" ) COLUMN(NAME=~"physcandet.tran_id~") COLUMN(NAME=~"physcandet.line_no~") COLUMN(NAME=~"physcandet.site_code~") COLUMN(NAME=~"site.descr~") 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.analysis_class~") COLUMN(NAME=~"physcandet.priority_seq~") COLUMN(NAME=~"physcandet.cycle_criteria~") COLUMN(NAME=~"physcandet.tran_type~") JOIN (LEFT=~"physcandet.site_code~" OP =~"=~"RIGHT=~"site.site_code~" ) 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~" ) ) ORDER(NAME=~"physcandet.line_no~" ASC=yes ) ARG(NAME = ~"tran_id~" TYPE = string) " update="physcandet" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) ) column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__user dbname="physcandet.emp_code__user" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcandet~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"item~" ) TABLE(NAME=~"location~" ) COLUMN(NAME=~"physcandet.tran_id~") COLUMN(NAME=~"physcandet.line_no~") COLUMN(NAME=~"physcandet.site_code~") COLUMN(NAME=~"site.descr~") 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.analysis_class~") COLUMN(NAME=~"physcandet.priority_seq~") COLUMN(NAME=~"physcandet.cycle_criteria~") COLUMN(NAME=~"physcandet.tran_type~") COLUMN(NAME=~"physcandet.emp_code__user~") JOIN (LEFT=~"physcandet.site_code~" OP =~"=~"RIGHT=~"site.site_code~" OUTER1 =~"physcandet.site_code~" ) JOIN (LEFT=~"physcandet.item_code~" OP =~"=~"RIGHT=~"item.item_code~" OUTER1 =~"physcandet.item_code~" ) JOIN (LEFT=~"physcandet.loc_code~" OP =~"=~"RIGHT=~"location.loc_code~" OUTER1 =~"physcandet.loc_code~" )WHERE( EXP1 =~"physcandet.tran_id~" OP =~"=~" EXP2 =~":tran_id~" ) ) ORDER(NAME=~"physcandet.line_no~" ASC=yes ) ARG(NAME = ~"tran_id~" TYPE = string) " update="physcandet" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
text(band=header alignment="2" text="Tran Id" border="6" color="33554432" x="2" y="2" height="16" width="66" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="Tran Id" border="6" color="33554432" x="2" y="2" height="16" width="66" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Line No" border="6" color="33554432" x="70" y="2" height="16" width="72" html.valueishtml="0" name=line_no_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="Line No" border="6" color="33554432" x="70" y="2" height="16" width="72" html.valueishtml="0" name=line_no_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Site Code" border="6" color="33554432" x="144" y="2" height="16" width="64" html.valueishtml="0" name=site_code_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="Site Code" border="6" color="33554432" x="144" y="2" height="16" width="64" html.valueishtml="0" name=site_code_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
...@@ -37,6 +38,7 @@ text(band=header alignment="2" text="Priority Seq" border="6" color="33554432" x ...@@ -37,6 +38,7 @@ text(band=header alignment="2" text="Priority Seq" border="6" color="33554432" x
text(band=header alignment="2" text="Cycle Criteria" border="6" color="33554432" x="1521" y="2" height="16" width="76" html.valueishtml="0" name=cycle_criteria_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="Cycle Criteria" border="6" color="33554432" x="1521" y="2" height="16" width="76" html.valueishtml="0" name=cycle_criteria_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Site Descr" border="6" color="33554432" x="210" y="2" height="16" width="178" html.valueishtml="0" name=site_descr_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="Site Descr" border="6" color="33554432" x="210" y="2" height="16" width="178" html.valueishtml="0" name=site_descr_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Location Descr" border="6" color="33554432" x="854" y="1" height="16" width="189" html.valueishtml="0" name=location_descr_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=header alignment="2" text="Location Descr" border="6" color="33554432" x="854" y="1" height="16" width="189" html.valueishtml="0" name=location_descr_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Tran Type" border="6" color="0" x="1599" y="1" height="16" width="75" html.valueishtml="0" name=tran_type_t visible="0" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="0" x="2" y="2" 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="Times" 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=1 alignment="0" tabsequence=32766 border="5" color="0" x="2" y="2" 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="Times" 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="70" y="2" height="16" 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="Times" 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="70" y="2" height="16" 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="Times" 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="144" y="2" height="16" width="64" 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="Times" 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="144" y="2" height="16" width="64" 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="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
...@@ -52,8 +54,9 @@ column(band=detail id=14 alignment="1" tabsequence=32766 border="5" color="0" x= ...@@ -52,8 +54,9 @@ column(band=detail id=14 alignment="1" tabsequence=32766 border="5" color="0" x=
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="0" x="1521" y="2" height="16" width="76" format="[general]" html.valueishtml="0" name=cycle_criteria visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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="5" color="0" x="1521" y="2" height="16" width="76" format="[general]" html.valueishtml="0" name=cycle_criteria visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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="210" y="1" height="16" width="178" format="[general]" html.valueishtml="0" name=site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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="210" y="1" height="16" width="178" format="[general]" html.valueishtml="0" name=site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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="854" y="1" height="16" width="189" format="[general]" html.valueishtml="0" name=location_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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="854" y="1" height="16" width="189" format="[general]" html.valueishtml="0" name=location_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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=0 border="5" color="0" x="1600" y="1" height="16" width="75" html.valueishtml="0" name=tran_type visible="0" font.face="Times" 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="5" color="0" x="1599" y="1" height="16" width="75" format="[general]" html.valueishtml="0" name=tran_type visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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="Tran Type" border="6" color="0" x="1599" y="1" height="16" width="76" html.valueishtml="0" name=tran_type_t visible="0" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Emp Code User" border="6" color="0" x="1676" y="1" height="16" width="139" html.valueishtml="0" name=emp_code__user_t visible="0" font.face="Tahoma" 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=17 alignment="0" tabsequence=0 border="5" color="0" x="1677" y="1" height="16" width="138" html.valueishtml="0" name=emp_code__user visible="0" font.face="Times" 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 )
......
...@@ -19,7 +19,7 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -19,7 +19,7 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=char(15) updatewhereclause=yes name=employee_emp_fname dbname="employee.emp_fname" ) column=(type=char(15) updatewhereclause=yes name=employee_emp_fname dbname="employee.emp_fname" )
column=(type=char(10) update=yes updatewhereclause=yes name=ref_id dbname="physcan.ref_id" ) column=(type=char(10) update=yes updatewhereclause=yes name=ref_id dbname="physcan.ref_id" )
column=(type=char(1) update=yes updatewhereclause=yes name=tran_type dbname="physcan.tran_type" ) column=(type=char(1) update=yes updatewhereclause=yes name=tran_type dbname="physcan.tran_type" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcan~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"employee~" ) 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=~"employee.emp_fname~") COLUMN(NAME=~"physcan.ref_id~") COLUMN(NAME=~"physcan.tran_type~") JOIN (LEFT=~"physcan.site_code~" OP =~"=~"RIGHT=~"site.site_code~" ) JOIN (LEFT=~"physcan.emp_code__user~" OP =~"=~"RIGHT=~"employee.emp_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)) ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcan~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"employee~" ) 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=~"employee.emp_fname~") COLUMN(NAME=~"physcan.ref_id~") COLUMN(NAME=~"physcan.tran_type~") JOIN (LEFT=~"physcan.site_code~" OP =~"=~"RIGHT=~"site.site_code~" OUTER1 =~"physcan.site_code~" ) JOIN (LEFT=~"physcan.emp_code__user~" OP =~"=~"RIGHT=~"employee.emp_code~" OUTER1 =~"physcan.emp_code__user~" )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)) )
groupbox(band=detail text="Basics"border="2" color="33554432" x="20" y="4" height="197" width="492" name=gb_1 visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" ) groupbox(band=detail text="Basics"border="2" color="33554432" x="20" y="4" height="197" width="492" name=gb_1 visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Tran Id:" border="0" color="33554432" x="29" y="26" height="16" width="97" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="29" y="26" height="16" width="97" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="29" y="50" height="16" width="97" html.valueishtml="0" name=site_code_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="29" y="50" height="16" width="97" html.valueishtml="0" name=site_code_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
......
...@@ -20,7 +20,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i ...@@ -20,7 +20,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=decimal(0) update=yes updatewhereclause=yes name=priority_seq dbname="physcandet.priority_seq" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=priority_seq dbname="physcandet.priority_seq" )
column=(type=char(1) update=yes updatewhereclause=yes name=cycle_criteria dbname="physcandet.cycle_criteria" ) column=(type=char(1) update=yes updatewhereclause=yes name=cycle_criteria dbname="physcandet.cycle_criteria" )
column=(type=char(1) update=yes updatewhereclause=yes name=tran_type dbname="physcandet.tran_type" initial="M" ) column=(type=char(1) update=yes updatewhereclause=yes name=tran_type dbname="physcandet.tran_type" initial="M" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcandet~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"item~" ) TABLE(NAME=~"location~" ) COLUMN(NAME=~"physcandet.tran_id~") COLUMN(NAME=~"physcandet.line_no~") COLUMN(NAME=~"physcandet.site_code~") COLUMN(NAME=~"site.descr~") 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.analysis_class~") COLUMN(NAME=~"physcandet.priority_seq~") COLUMN(NAME=~"physcandet.cycle_criteria~") COLUMN(NAME=~"physcandet.tran_type~") JOIN (LEFT=~"physcandet.site_code~" OP =~"=~"RIGHT=~"site.site_code~" ) 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~" LOGIC =~"And~" ) WHERE( EXP1 =~"physcandet.line_no~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="physcandet" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string),("line_no", number)) ) column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__user dbname="physcandet.emp_code__user" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"physcandet~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"item~" ) TABLE(NAME=~"location~" ) COLUMN(NAME=~"physcandet.tran_id~") COLUMN(NAME=~"physcandet.line_no~") COLUMN(NAME=~"physcandet.site_code~") COLUMN(NAME=~"site.descr~") 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.analysis_class~") COLUMN(NAME=~"physcandet.priority_seq~") COLUMN(NAME=~"physcandet.cycle_criteria~") COLUMN(NAME=~"physcandet.tran_type~") COLUMN(NAME=~"physcandet.emp_code__user~") JOIN (LEFT=~"physcandet.site_code~" OP =~"=~"RIGHT=~"site.site_code~" OUTER1 =~"physcandet.site_code~" ) JOIN (LEFT=~"physcandet.item_code~" OP =~"=~"RIGHT=~"item.item_code~" OUTER1 =~"physcandet.item_code~" ) JOIN (LEFT=~"physcandet.loc_code~" OP =~"=~"RIGHT=~"location.loc_code~" OUTER1 =~"physcandet.loc_code~" )WHERE( EXP1 =~"physcandet.tran_id~" OP =~"=~" EXP2 =~":tran_id~" LOGIC =~"And~" ) WHERE( EXP1 =~"physcandet.line_no~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="physcandet" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string),("line_no", number)) )
text(band=detail alignment="1" text="Line No:" border="0" color="33554432" x="321" y="2" height="16" width="85" html.valueishtml="0" name=line_no_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" 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="321" y="2" height="16" width="85" html.valueishtml="0" name=line_no_t visible="1" font.face="Times" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="255" x="410" y="2" height="16" 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="Times" 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="255" x="410" y="2" height="16" 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="Times" 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="177" y="32" height="16" width="306" format="[general]" html.valueishtml="0" name=site_descr visible="1" edit.limit=60 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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="177" y="32" height="16" width="306" format="[general]" html.valueishtml="0" name=site_descr visible="1" edit.limit=60 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
...@@ -48,7 +49,8 @@ column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x ...@@ -48,7 +49,8 @@ column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="104" y="108" height="16" 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="Times" 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=9 alignment="0" tabsequence=32766 border="5" color="255" x="104" y="108" height="16" 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="Times" 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=11 alignment="1" tabsequence=32766 border="5" color="255" x="104" y="133" height="16" width="66" 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="Times" 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=11 alignment="1" tabsequence=32766 border="5" color="255" x="104" y="133" height="16" width="66" 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="Times" 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=14 alignment="1" tabsequence=32766 border="5" color="255" x="104" y="160" height="16" width="66" format="[general]" html.valueishtml="0" name=priority_seq visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=14 alignment="1" tabsequence=32766 border="5" color="255" x="104" y="160" height="16" width="66" format="[general]" html.valueishtml="0" name=priority_seq visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times" 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=16 alignment="0" tabsequence=32766 border="5" color="255" x="569" y="86" height="16" width="74" html.valueishtml="0" name=tran_type visible="0" font.face="Times" 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=16 alignment="0" tabsequence=32766 border="5" color="255" x="569" y="86" height="16" width="74" format="[general]" html.valueishtml="0" name=tran_type visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times" 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=17 alignment="0" tabsequence=20 border="5" color="255" x="570" y="129" height="16" width="99" html.valueishtml="0" name=emp_code__user visible="0" font.face="Times" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
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