Commit 9e538438 authored by ppatro's avatar ppatro

Changed by wasim on 18/12/14 start S.SHIPMENT_DATE & S.CONF_DATE are added in bug query


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96986 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f918ed2d
......@@ -377,14 +377,13 @@ public class ShipmentPrc extends ProcessEJB implements ShipmentPrcLocal,Shipment
test.append( "<Detail2>\r\n" );
ptcn = checkNull(rs.getString(1));
test.append( "<ptcn><![CDATA[" ).append(ptcn).append( "]]></ptcn>\r\n" );
test.append( "<shipment_id><![CDATA[" ).append(rs.getString(2)).append( "]]></shipment_id>\r\n" );
test.append( "<tran_name><![CDATA[" ).append(rs.getString(3)).append( "]]></tran_name>\r\n" );
test.append( "<shipment_id><![CDATA[" ).append(rs.getString("SHIPMENT_ID")).append( "]]></shipment_id>\r\n" );
//Changed by wasim on 16/12/14 start append columns conf_date and ship_date.start
test.append( "<conf_date><![CDATA[" ).append(rs.getDate(4)).append("]]></conf_date>\r\n");
test.append( "<ship_date><![CDATA[" ).append(rs.getDate(5)).append("]]></ship_date>\r\n");
test.append( "<ship_date><![CDATA[" ).append(rs.getDate("SHIPMENT_DATE")).append("]]></ship_date>\r\n");
test.append( "<conf_date><![CDATA[" ).append(rs.getDate("CONF_DATE")).append("]]></conf_date>\r\n");
//Changed by wasim on 16/12/14 start append columns conf_date and ship_date.end
test.append( "<tran_name><![CDATA[" ).append(rs.getString("TRAN_NAME")).append( "]]></tran_name>\r\n" );
test.append("\n");
test.append( "</Detail2>\r\n" );
}
test.append( "</Header0>\r\n</group0>\r\n</DocumentRoot>\r\n" );
resultString=test.toString();
......
......@@ -5,7 +5,7 @@
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>1073741824</color>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
......@@ -32,11 +32,11 @@
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<height>19</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<height>8</height>
<color>536870912</color>
</Summary>
<Footer>
......@@ -44,7 +44,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>23</height>
<height>30</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -61,10 +61,10 @@
<dbname>shipment_id</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<type>date</type>
<updatewhereclause>yes</updatewhereclause>
<name>tran_name</name>
<dbname>tran_name</dbname>
<name>shipment_date</name>
<dbname>shipment_date</dbname>
</table_column>
<table_column>
<type>date</type>
......@@ -75,20 +75,20 @@
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>shipment_date</name>
<dbname>shipment_date</dbname>
<name>tran_name</name>
<dbname>tran_name</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Ptcn</text>
<border>6</border>
<text>PTCN</text>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>60</width>
<height>15</height>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -103,20 +103,20 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Shipment Id</text>
<border>6</border>
<border>0</border>
<color>33554432</color>
<x>64</x>
<x>83</x>
<y>2</y>
<height>16</height>
<width>90</width>
<height>15</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -131,24 +131,24 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tran Name</text>
<border>6</border>
<text>Shipment Date</text>
<border>0</border>
<color>33554432</color>
<x>156</x>
<x>173</x>
<y>2</y>
<height>16</height>
<width>211</width>
<height>15</height>
<width>112</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_name_t</name>
<name>shipment_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -159,20 +159,20 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Conf Date</text>
<border>6</border>
<border>0</border>
<color>33554432</color>
<x>369</x>
<x>287</x>
<y>2</y>
<height>16</height>
<width>88</width>
<height>15</height>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -187,24 +187,24 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Shipment Date</text>
<border>6</border>
<text>Tran Code</text>
<border>0</border>
<color>33554432</color>
<x>459</x>
<x>388</x>
<y>2</y>
<height>16</height>
<width>113</width>
<height>15</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shipment_date_t</name>
<name>tran_name_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
......@@ -215,21 +215,50 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ComputedField>
<band>Footer</band>
<alignment>0</alignment>
<expression> ptcn </expression>
<border>0</border>
<color>33554432</color>
<x>287</x>
<y>64</y>
<height>16</height>
<width>99</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>compute_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ComputedField>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>19</height>
<width>60</width>
<height>18</height>
<width>79</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -253,21 +282,21 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>64</x>
<x>83</x>
<y>2</y>
<height>19</height>
<width>90</width>
<height>18</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -291,26 +320,26 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>156</x>
<x>173</x>
<y>2</y>
<height>19</height>
<width>211</width>
<height>18</height>
<width>112</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_name</name>
<name>shipment_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -329,21 +358,21 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>369</x>
<x>287</x>
<y>2</y>
<height>19</height>
<width>88</width>
<height>18</height>
<width>99</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -367,26 +396,26 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>459</x>
<x>388</x>
<y>2</y>
<height>19</height>
<width>113</width>
<height>18</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shipment_date</name>
<name>tran_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -405,8 +434,8 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
......
$PBExportHeader$d_ptcn12.srd
$PBExportHeader$d_ptcn_confirm12.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 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" )
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=19 color="536870912" )
summary(height=8 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
detail(height=30 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=ptcn dbname="ptcn" )
column=(type=char(10) updatewhereclause=yes name=shipment_id dbname="shipment_id" )
column=(type=char(10) updatewhereclause=yes name=tran_name dbname="tran_name" )
column=(type=date updatewhereclause=yes name=shipment_date dbname="shipment_date" )
column=(type=date updatewhereclause=yes name=conf_date dbname="conf_date" )
column=(type=char(10) updatewhereclause=yes name=shipment_date dbname="shipment_date" )
column=(type=char(10) updatewhereclause=yes name=tran_name dbname="tran_name" )
)
text(band=header alignment="2" text="Ptcn" border="6" color="33554432" x="2" y="2" height="16" width="60" html.valueishtml="0" name=ptcn_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Shipment Id" border="6" color="33554432" x="64" y="2" height="16" width="90" html.valueishtml="0" name=shipment_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Tran Name" border="6" color="33554432" x="156" y="2" height="16" width="211" html.valueishtml="0" name=tran_name_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Conf Date" border="6" color="33554432" x="369" y="2" height="16" width="88" html.valueishtml="0" name=conf_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Shipment Date" border="6" color="33554432" x="459" y="2" height="16" width="113" html.valueishtml="0" name=shipment_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=10 border="0" color="33554432" x="2" y="2" height="19" width="60" format="[general]" html.valueishtml="0" name=ptcn 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=2 alignment="0" tabsequence=20 border="0" color="33554432" x="64" y="2" height="19" width="90" format="[general]" html.valueishtml="0" name=shipment_id 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=3 alignment="0" tabsequence=30 border="0" color="33554432" x="156" y="2" height="19" width="211" format="[general]" html.valueishtml="0" name=tran_name 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=4 alignment="0" tabsequence=40 border="0" color="33554432" x="369" y="2" height="19" width="88" format="[general]" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=50 border="0" color="33554432" x="459" y="2" height="19" width="113" format="[general]" html.valueishtml="0" name=shipment_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="PTCN" border="0" color="33554432" x="2" y="2" height="15" width="79" html.valueishtml="0" name=ptcn_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Shipment Id" border="0" color="33554432" x="83" y="2" height="15" width="88" html.valueishtml="0" name=shipment_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Shipment Date" border="0" color="33554432" x="173" y="2" height="15" width="112" html.valueishtml="0" name=shipment_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Conf Date" border="0" color="33554432" x="287" y="2" height="15" width="99" html.valueishtml="0" name=conf_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Tran Code" border="0" color="33554432" x="388" y="2" height="15" width="102" html.valueishtml="0" name=tran_name_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" )
compute(band=footer alignment="0" expression=" ptcn "border="0" color="33554432" x="287" y="64" height="16" width="99" format="[GENERAL]" html.valueishtml="0" name=compute_1 visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="2" y="2" height="18" width="79" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="83" y="2" height="18" width="88" format="[general]" html.valueishtml="0" name=shipment_id visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="173" y="2" height="18" width="112" format="[general]" html.valueishtml="0" name=shipment_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="287" y="2" height="18" width="99" format="[general]" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="388" y="2" height="18" width="102" format="[general]" html.valueishtml="0" name=tran_name 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 )
......
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