Commit 98e806f8 authored by sankara.rao's avatar sankara.rao

changed by sankara on 11/10/13 updated shipmentic source for setting tran code...

changed by sankara on 11/10/13 updated shipmentic source for setting tran code and updated pick_assignto srd and metadata


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93761 ce508802-f39f-4f6c-b175-0d175dae99d5
parent acff2483
......@@ -1794,7 +1794,10 @@ public String itemChanged( Document dom, Document dom1, Document dom2, String ob
childNodeName = childNode.getNodeName();
ctr ++;
}while(ctr < childNodeListLength && ! childNodeName.equals(currentColumn));
//changed by sankara on 10/10/13 for set tran_code itm_default in shipment header start.
tranCode = genericUtility.getColumnValue("tran_code",dom);
System.out.println("trancode:"+tranCode);
//changed by sankara on 10/10/13 for set tran_code itm_default in shipment header end.
if( currentColumn.trim().equalsIgnoreCase( "itm_default" ) )
{
......@@ -1818,6 +1821,13 @@ public String itemChanged( Document dom, Document dom1, Document dom2, String ob
setNodeValue( dom, "tran_code", columnValue1 );
//Changed by sumit on 06/10/12 for setting default value 'N'
valueXmlString.append( "<desp_confirmed><![CDATA[" ).append( "N" ).append( "]]></desp_confirmed>\r\n" );
//changed by sankara on 10/10/13 for set tran_code itm_default in shipment header start.
valueXmlString.append("</Detail2>");
valueXmlString.append("<Detail1>");
valueXmlString.append( "<tran_code><![CDATA[" ).append( checkNull(tranCode) ).append( "]]></tran_code>\r\n" );
valueXmlString.append("</Detail1>");
valueXmlString.append("<Detail2>");
//changed by sankara on 10/10/13 for set tran_code itm_default in shipment header end.
/*
reStr = itemChanged(dom, dom1, dom2, objContext, "tran_code", editFlag, xtraParams);
pos = reStr.indexOf("<Detail2>");
......
......@@ -31,11 +31,11 @@
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<height>2</height>
<color>536870912</color>
</Summary>
<Footer>
<height>1</height>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
......@@ -79,10 +79,10 @@
<text>Basic</text>
<border>6</border>
<color>0</color>
<x>2</x>
<x>5</x>
<y>7</y>
<height>88</height>
<width>442</width>
<height>86</height>
<width>454</width>
<name>gb_1</name>
<visible>1</visible>
<font>
......@@ -101,13 +101,13 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pick / Repl Order From:</text>
<text>Pick/Repl Order From:</text>
<border>0</border>
<color>33554432</color>
<x>11</x>
<x>12</x>
<y>26</y>
<height>16</height>
<width>128</width>
<width>123</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -126,14 +126,42 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From Date:</text>
<border>0</border>
<color>33554432</color>
<x>16</x>
<y>49</y>
<height>16</height>
<width>119</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</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>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>143</x>
<x>139</x>
<y>26</y>
<height>16</height>
<width>76</width>
......@@ -165,17 +193,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pick / Repl Order To:</text>
<text>Pick/Repl :</text>
<border>0</border>
<color>33554432</color>
<x>242</x>
<y>26</y>
<x>14</x>
<y>71</y>
<height>16</height>
<width>116</width>
<width>122</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_order_to_t</name>
<name>status_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -190,29 +218,21 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Pick/Repl Order To:</text>
<border>0</border>
<color>33554432</color>
<x>362</x>
<x>237</x>
<y>26</y>
<height>16</height>
<width>75</width>
<format>[general]</format>
<width>117</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_order_to</name>
<name>pick_order_to_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -223,23 +243,23 @@
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From Date:</text>
<text>To Date:</text>
<border>0</border>
<color>33554432</color>
<x>11</x>
<x>275</x>
<y>49</y>
<height>16</height>
<width>128</width>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_date_t</name>
<name>to_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -256,27 +276,25 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<id>2</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>143</x>
<y>49</y>
<x>358</x>
<y>26</y>
<height>16</height>
<width>76</width>
<width>75</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_date</name>
<name>pick_order_to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<case>upper</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -289,45 +307,17 @@
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To Date:</text>
<border>0</border>
<color>33554432</color>
<x>242</x>
<y>49</y>
<height>16</height>
<width>116</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>362</x>
<x>358</x>
<y>49</y>
<height>16</height>
<width>76</width>
......@@ -358,21 +348,29 @@
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pick / Repl Order:</text>
<border>0</border>
<color>33554432</color>
<x>5</x>
<y>72</y>
<id>5</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>140</x>
<y>71</y>
<height>16</height>
<width>134</width>
<width>75</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_t</name>
<name>status</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -383,30 +381,32 @@
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>3</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>143</x>
<y>72</y>
<x>139</x>
<y>49</y>
<height>16</height>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<name>from_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -419,7 +419,7 @@
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable>
......
......@@ -234,7 +234,7 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Pick/Repl Order</text>
<text>Pick/Repl</text>
<border>6</border>
<color>0</color>
<x>891</x>
......
......@@ -14,13 +14,13 @@ groupbox(band=detail text="Basic"border="6" color="0" x="5" y="7" height="86" wi
text(band=detail alignment="1" text="Pick/Repl Order From:" border="0" color="33554432" x="12" y="26" height="16" width="123" html.valueishtml="0" name=pick_order_from_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="From Date:" border="0" color="33554432" x="16" y="49" height="16" width="119" html.valueishtml="0" name=from_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=30 border="5" color="33554432" x="139" y="26" height="16" width="76" format="[general]" html.valueishtml="0" name=pick_order_from visible="1" edit.limit=0 edit.case=upper edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="33554432" x="139" y="49" height="16" width="76" format="[general]" html.valueishtml="0" name=from_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0" x="140" y="70" height="16" width="73" html.valueishtml="0" name=status visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Pick/Repl Order :" border="0" color="33554432" x="14" y="71" height="16" width="122" html.valueishtml="0" name=status_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Pick/Repl :" border="0" color="33554432" x="14" y="71" height="16" width="122" html.valueishtml="0" name=status_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Pick/Repl Order To:" border="0" color="33554432" x="237" y="26" height="16" width="117" html.valueishtml="0" name=pick_order_to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="To Date:" border="0" color="33554432" x="275" y="49" height="16" width="79" html.valueishtml="0" name=to_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=40 border="5" color="33554432" x="358" y="26" height="16" width="75" format="[general]" html.valueishtml="0" name=pick_order_to visible="1" edit.limit=0 edit.case=upper edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=4 alignment="0" tabsequence=20 border="5" color="33554432" x="358" y="49" height="16" width="76" format="[general]" html.valueishtml="0" name=to_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0" x="140" y="71" height="16" width="75" format="[general]" html.valueishtml="0" name=status visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="33554432" x="139" y="49" height="16" width="76" format="[general]" html.valueishtml="0" name=from_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" 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 )
......
......@@ -18,7 +18,7 @@ text(band=header alignment="0" text="Sale Order" border="6" color="0" x="118" y=
text(band=header alignment="0" text="Wave Id" border="6" color="0" x="250" y="2" height="16" width="157" html.valueishtml="0" name=wave_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="PTCN" border="6" color="0" x="409" y="2" height="16" width="157" html.valueishtml="0" name=ptcn_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Assign To" border="6" color="0" x="568" y="2" height="16" width="321" html.valueishtml="0" name=assign_to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Pick/Repl Order" border="6" color="0" x="891" y="2" height="16" width="322" html.valueishtml="0" name=pick_repl_status_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Pick/Repl" border="6" color="0" x="891" y="2" height="16" width="322" html.valueishtml="0" name=pick_repl_status_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" 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="19" width="114" format="[general]" html.valueishtml="0" name=pick_order visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="33554432" x="118" y="2" height="19" width="130" format="[general]" html.valueishtml="0" name=sale_order visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="33554432" x="250" y="2" height="19" width="157" format="[general]" html.valueishtml="0" name=wave_id visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
......
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