Commit bee4b517 authored by ppatro's avatar ppatro

Pallet Merging


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92180 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 279fe748
......@@ -114,6 +114,8 @@ etc
java.sql.Date dateFrom = null;
String custCode = "", custCodeDlv = "";
String saleOrder = "";
String saleOrdTo = ""; //added by sumit on 19/11/12
String saleOrdFrom = ""; //added by sumit on 19/11/12
try
{
......@@ -161,6 +163,8 @@ etc
{
columnValue = genericUtility.getColumnValue("sale_order__fr",currDom);
//Changed by sumit on 19/11/12 itemchanege in case of same saleorder
saleOrdTo = checkNull(genericUtility.getColumnValue("sale_order__to",currDom));
valueXmlString.append( "<Detail1>\r\n" );
if(columnValue != null && !columnValue.equalsIgnoreCase("0"))
{
......@@ -177,10 +181,27 @@ etc
custCodeDlv = rs.getString("CUST_CODE__DLV");
}
//Changed by sumit on 19/11/12 setting default value start.
/*valueXmlString.append( "<cust_code__fr><![CDATA[" ).append( custCode ).append( "]]></cust_code__fr>\r\n" );
valueXmlString.append( "<cust_code__dlv_fr><![CDATA[" ).append( custCodeDlv ).append( "]]></cust_code__dlv_fr>\r\n" );
valueXmlString.append( "<cust_code__to><![CDATA[" ).append( custCode ).append( "]]></cust_code__to>\r\n" );
valueXmlString.append( "<cust_code__dlv_to><![CDATA[" ).append( custCodeDlv ).append( "]]></cust_code__dlv_to>\r\n" );*/
if( columnValue.trim().equalsIgnoreCase(saleOrdTo.trim()))
{
valueXmlString.append( "<cust_code__fr><![CDATA[" ).append( custCode ).append( "]]></cust_code__fr>\r\n" );
valueXmlString.append( "<cust_code__dlv_fr><![CDATA[" ).append( custCodeDlv ).append( "]]></cust_code__dlv_fr>\r\n" );
valueXmlString.append( "<cust_code__to><![CDATA[" ).append( custCode ).append( "]]></cust_code__to>\r\n" );
valueXmlString.append( "<cust_code__dlv_to><![CDATA[" ).append( custCodeDlv ).append( "]]></cust_code__dlv_to>\r\n" );
}
else
{
valueXmlString.append( "<cust_code__fr><![CDATA[" ).append( "0" ).append( "]]></cust_code__fr>\r\n" );
valueXmlString.append( "<cust_code__dlv_fr><![CDATA[" ).append( "0" ).append( "]]></cust_code__dlv_fr>\r\n" );
valueXmlString.append( "<cust_code__to><![CDATA[" ).append( "ZZ" ).append( "]]></cust_code__to>\r\n" );
valueXmlString.append( "<cust_code__dlv_to><![CDATA[" ).append( "ZZ" ).append( "]]></cust_code__dlv_to>\r\n" );
}
//Changed by sumit on 19/11/12 setting default value end.
rs.close();
rs=null;
pstmt.close();
......@@ -192,6 +213,8 @@ etc
else if ( currentColumn.trim().equalsIgnoreCase( "sale_order__to" ))
{
columnValue = genericUtility.getColumnValue("sale_order__to",currDom);
//Changed by sumit on 19/11/12 itemchanege in case of same saleorder
saleOrdFrom = checkNull(genericUtility.getColumnValue("sale_order__fr",currDom));
valueXmlString.append( "<Detail1>\r\n" );
if(columnValue != null && !columnValue.equalsIgnoreCase("0"))
{
......@@ -207,9 +230,24 @@ etc
custCode = rs.getString("CUST_CODE");
custCodeDlv = rs.getString("CUST_CODE__DLV");
}
//Changed by sumit on 19/11/12 setting default value start.
/*valueXmlString.append( "<cust_code__to><![CDATA[" ).append( custCode ).append( "]]></cust_code__to>\r\n" );
valueXmlString.append( "<cust_code__dlv_to><![CDATA[" ).append( custCodeDlv ).append( "]]></cust_code__dlv_to>\r\n" );*/
if(columnValue.trim().equalsIgnoreCase(saleOrdFrom.trim()))
{
valueXmlString.append( "<cust_code__fr><![CDATA[" ).append( custCode ).append( "]]></cust_code__fr>\r\n" );
valueXmlString.append( "<cust_code__dlv_fr><![CDATA[" ).append( custCodeDlv ).append( "]]></cust_code__dlv_fr>\r\n" );
valueXmlString.append( "<cust_code__to><![CDATA[" ).append( custCode ).append( "]]></cust_code__to>\r\n" );
valueXmlString.append( "<cust_code__dlv_to><![CDATA[" ).append( custCodeDlv ).append( "]]></cust_code__dlv_to>\r\n" );
}
else
{
valueXmlString.append( "<cust_code__fr><![CDATA[" ).append( "0" ).append( "]]></cust_code__fr>\r\n" );
valueXmlString.append( "<cust_code__dlv_fr><![CDATA[" ).append( "0" ).append( "]]></cust_code__dlv_fr>\r\n" );
valueXmlString.append( "<cust_code__to><![CDATA[" ).append( "ZZ" ).append( "]]></cust_code__to>\r\n" );
valueXmlString.append( "<cust_code__dlv_to><![CDATA[" ).append( "ZZ" ).append( "]]></cust_code__dlv_to>\r\n" );
}
rs.close();
rs=null;
pstmt.close();
......
......@@ -14,8 +14,11 @@ import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.HashMap;
import java.util.Map;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.ejb.Stateless;
......@@ -74,6 +77,8 @@ public class PalletMergeIC extends ValidatorEJB implements PalletMergeICLocal, P
ConnDriver connDriver = new ConnDriver();
String columnValue ="";
String palletNo = "";
//Changed by sumit on 16/11/12
String objName = "";
try
{
......@@ -84,6 +89,7 @@ public class PalletMergeIC extends ValidatorEJB implements PalletMergeICLocal, P
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
System.out.println(" sumit : ["+currentFormNo+"]");
}
switch(currentFormNo)
{
......@@ -93,11 +99,13 @@ public class PalletMergeIC extends ValidatorEJB implements PalletMergeICLocal, P
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
//changed by sumit on 16/11/12 getting obj_name for validation.
objName = getObjName(dom); //childNode.getAttributes().getNamedItem("objName").getNodeValue();
System.out.println(" obj name ->["+objName+"]");
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if ( childNode != null && childNode.getFirstChild() != null )
{
columnValue = childNode.getFirstChild().getNodeValue();
......@@ -106,14 +114,34 @@ public class PalletMergeIC extends ValidatorEJB implements PalletMergeICLocal, P
if( childNodeName.equalsIgnoreCase( "pallet_no" ))
{
if(childNode.getFirstChild() == null)
{
//Changed by sumit on 16/11/12 differentiate error message as this component is share by two screen start
// /errString = getErrorString("pallet_no","NULLPLTNO",userId);
if("pelletized_carton".equalsIgnoreCase(objName))
{
errString = getErrorString("pallet_no","NULLCARNO",userId);
}
else
{
errString = getErrorString("pallet_no","NULLPLTNO",userId);
}
//Changed by sumit on 16/11/12 differentiate error message as this component is share by two screen end
break;
}
else
{
palletNo = genericUtility.getColumnValue("pallet_no",dom);
//Changed by sumit on 16/11/12 counting pallet no in case of obj name pelletized_carton start.
//sql = "SELECT COUNT(*) AS COUNT FROM PALLET_NO WHERE PALLET_NO = ?";
if("pelletized_carton".equalsIgnoreCase(objName))
{
sql = "SELECT COUNT(*) AS COUNT FROM CARTON_MASTER WHERE PALLET_NO = ?";
}
else
{
sql = "SELECT COUNT(*) AS COUNT FROM PALLET_NO WHERE PALLET_NO = ?";
}
//Changed by sumit on 16/11/12 counting pallet no in case of obj name pelletized_carton start.
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,palletNo);
rs = pstmt.executeQuery();
......@@ -193,9 +221,11 @@ public class PalletMergeIC extends ValidatorEJB implements PalletMergeICLocal, P
}
else
{
palletNo = genericUtility.getColumnValue("pallet_no__new",dom);
sql = "SELECT COUNT(*) AS COUNT FROM PALLET_NO WHERE PALLET_NO = ?";
//Changed by sumit on 16/11/12 adding status condition
//sql = "SELECT COUNT(*) AS COUNT FROM PALLET_NO WHERE PALLET_NO = ?";
sql = "SELECT COUNT(*) AS COUNT FROM PALLET_NO WHERE PALLET_NO = ? AND STATUS = 'A'";
System.out.println(" sql sumit ->["+sql+"]");
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,palletNo);
rs = pstmt.executeQuery();
......@@ -273,6 +303,32 @@ public class PalletMergeIC extends ValidatorEJB implements PalletMergeICLocal, P
{
return "";
}
//Changed by sumit on 16/11/12 Getting obj_name from dom start.
private String getObjName(Document dom) throws ITMException
{
NodeList parentNodeList = null;
int parentNodeListLength ;
String objName = "";
try
{
parentNodeList = dom.getElementsByTagName("Detail1");
parentNodeListLength = parentNodeList.getLength();
for(int row = 0; row < parentNodeListLength; row++)
{
Node childNode = parentNodeList.item(row);
//nodeName = childNode.getNodeName();
objName = childNode.getAttributes().getNamedItem("objName").getNodeValue();
}
}
catch (Exception e)
{
throw new ITMException(e);
}
return objName;
}
//Changed by sumit on 16/11/12 Getting obj_name from dom end.
}
\ No newline at end of file
......@@ -59,6 +59,16 @@ public class PalletMergePos extends ValidatorEJB implements PalletMergePosLocal,
pstmt.executeUpdate();
pstmt.close();
pstmt = null;
//Changed by sumit on 23/11/12 updated carton_master start.
sSQL = "UPDATE CARTON_MASTER SET PALLET_NO = ? WHERE PALLET_NO = ? ";
pstmt = conn.prepareStatement(sSQL);
pstmt.setString(1, palletNoNew);
pstmt.setString(2, palletNo);
pstmt.executeUpdate();
pstmt.close();
pstmt = null;
//Changed by sumit on 23/11/12 updated carton_master end.
}
catch(Exception e)
{
......
......@@ -117,6 +117,26 @@ public class ReplIssPos extends ValidatorEJB implements ReplIssPosRemote, ReplIs
System.out.println(" report genetrated successfully ");
}
//Changed by sumit on 16/11/12 updating pallet no in carton master start.
sql = "UPDATE CARTON_MASTER SET PALLET_NO = (SELECT CARTON_NO FROM CARTON_MASTER WHERE PTCN = ? " +
" AND PICK_ORDER = ? ) WHERE PTCN = ? AND PICK_ORDER = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, ptcn);
pstmt.setString(2, replOrder);
pstmt.setString(3, ptcn);
pstmt.setString(4, replOrder);
if ( pstmt.executeUpdate() > 0 )
{
System.out.println(" pallet no updated sucessfully ");
}
if( pstmt != null)
{
pstmt.close();
pstmt = null;
}
//Changed by sumit on 16/11/12 updating pallet no in carton master end.
}
//Changed By Mahesh Patidar on 07/08/12
//changed condition by Kunal Mandhre on 31/08/12
......
......@@ -158,80 +158,6 @@
<color>1073741824</color>
</background>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>50</y>
<height>19</height>
<width>30</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>74</y>
<height>16</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
......@@ -1012,6 +938,80 @@
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>74</y>
<height>16</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>50</y>
<height>19</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>23</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="25">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pallet_no</name>
<dbname>pallet_no</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Carton No</text>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>150</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>23</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="25">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pallet_no__new</name>
<dbname>pallet_no__new</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Pallet No New</text>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>150</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_no__new_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_no__new</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>29</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="25">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pallet_no</name>
<dbname>pallet_no</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Carton No:</text>
<border>0</border>
<color>33554432</color>
<x>12</x>
<y>7</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>82</x>
<y>7</y>
<height>16</height>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>29</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="25">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pallet_no__new</name>
<dbname>pallet_no__new</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>New Pallet No :</text>
<border>0</border>
<color>33554432</color>
<x>17</x>
<y>5</y>
<height>16</height>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_no__new_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>122</x>
<y>5</y>
<height>16</height>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_no__new</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
......@@ -19,8 +19,6 @@ table(column=(type=char(5) updatewhereclause=no name=site_code dbname="site_code
column=(type=char(10) updatewhereclause=no name=sale_order__to dbname="sale_order__to" initial="zz" )
)
groupbox(band=detail text="Filter Parameters"border="2" color="33554432" x="30" y="22" height="208" width="542" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=1 alignment="0" tabsequence=10 border="0" color="33554432" x="198" y="50" height="19" width="30" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="0" tabsequence=20 border="0" color="33554432" x="198" y="74" height="16" width="95" format="[general]" html.valueishtml="0" name=sale_order__fr 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" )
text(band=detail alignment="1" text="To:" border="0" color="33554432" x="402" y="74" height="16" width="24" html.valueishtml="0" name=sale_order__to_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=13 alignment="0" tabsequence=30 border="0" color="33554432" x="431" y="74" height="16" width="95" format="[general]" html.valueishtml="0" name=sale_order__to 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" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="75" y="50" height="16" width="115" html.valueishtml="0" name=site_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
......@@ -45,6 +43,8 @@ text(band=detail alignment="1" text="Lot No From:" border="0" color="33554432"
column(band=detail id=10 alignment="0" tabsequence=120 border="0" color="33554432" x="198" y="193" height="19" width="126" format="[general]" html.valueishtml="0" name=lot_no__fr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="To:" border="0" color="33554432" x="367" y="194" height="16" width="24" html.valueishtml="0" name=lot_no__to_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=11 alignment="0" tabsequence=130 border="0" color="33554432" x="400" y="193" height="19" width="126" format="[general]" html.valueishtml="0" name=lot_no__to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="0" tabsequence=20 border="0" color="33554432" x="198" y="74" height="16" width="95" format="[general]" html.valueishtml="0" name=sale_order__fr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=10 border="0" color="33554432" x="198" y="50" height="19" width="95" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
$PBExportHeader$d_pelletized_carton11.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=20 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(25) updatewhereclause=yes name=pallet_no dbname="pallet_no" )
)
text(band=header alignment="2" text="Carton No" border="0" color="33554432" x="2" y="2" height="16" width="150" html.valueishtml="0" name=pallet_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="2" y="2" height="16" width="150" format="[general]" html.valueishtml="0" name=pallet_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_pelletized_carton12.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=20 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(25) updatewhereclause=yes name=pallet_no__new dbname="pallet_no__new" )
)
text(band=header alignment="2" text="Pallet No New" border="0" color="33554432" x="2" y="2" height="16" width="150" html.valueishtml="0" name=pallet_no__new_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="2" y="2" height="16" width="150" format="[general]" html.valueishtml="0" name=pallet_no__new visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_pelletized_carton21.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=29 color="536870912" )
table(column=(type=char(25) updatewhereclause=yes name=pallet_no dbname="pallet_no" )
)
text(band=detail alignment="1" text="Carton No:" border="0" color="33554432" x="12" y="7" height="16" width="64" html.valueishtml="0" name=pallet_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="82" y="7" height="16" width="150" format="[general]" html.valueishtml="0" name=pallet_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_pelletized_carton22.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=29 color="536870912" )
table(column=(type=char(25) updatewhereclause=yes name=pallet_no__new dbname="pallet_no__new" )
)
text(band=detail alignment="1" text="New Pallet No :" border="0" color="33554432" x="17" y="5" height="16" width="99" html.valueishtml="0" name=pallet_no__new_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="122" y="5" height="16" width="150" format="[general]" html.valueishtml="0" name=pallet_no__new visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
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