Commit 1a69f414 authored by ssarkar's avatar ssarkar

changed by sumit on 28/03/13 for issue tracker point 170


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92885 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 296f6aa5
......@@ -32,7 +32,7 @@
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>23</height>
<height>21</height>
<color>536870912</color>
</Header>
<Summary>
......@@ -44,7 +44,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>22</height>
<height>20</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -99,12 +99,6 @@
<name>sale_order</name>
<dbname>wave_task_det.sale_order</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>refser.descr</dbname>
</table_column>
<table_column>
<type size="8">char</type>
<update>yes</update>
......@@ -123,7 +117,13 @@
<name>priority</name>
<dbname>wave_seq.priority</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;wave_task_det&quot; ) TABLE(NAME=&quot;refser&quot; ) TABLE(NAME=&quot;wave_seq&quot; ) COLUMN(NAME=&quot;wave_task_det.wave_id&quot;) COLUMN(NAME=&quot;wave_task_det.line_no&quot;) COLUMN(NAME=&quot;wave_task_det.ref_ser&quot;) COLUMN(NAME=&quot;wave_task_det.ref_id&quot;) COLUMN(NAME=&quot;wave_task_det.status&quot;) COLUMN(NAME=&quot;wave_task_det.ptcn&quot;) COLUMN(NAME=&quot;wave_task_det.sale_order&quot;) COLUMN(NAME=&quot;refser.descr&quot;) COMPUTE(NAME=&quot;case when wave_status = &apos;C&apos; then &apos;Created&apos; when wave_status = &apos;V&apos; then &apos;Verified&apos; when wave_status = &apos;W&apos; then &apos;Held&apos; else &apos; &apos; end wave_status&quot;) COLUMN(NAME=&quot;wave_seq.priority&quot;) JOIN (LEFT=&quot;wave_task_det.ref_ser&quot; OP =&quot;=&quot;RIGHT=&quot;wave_seq.ref_ser&quot; OUTER1 =&quot;wave_task_det.ref_ser&quot; ) JOIN (LEFT=&quot;wave_task_det.ref_ser&quot; OP =&quot;=&quot;RIGHT=&quot;refser.ref_ser&quot; )WHERE( EXP1 =&quot;wave_task_det.wave_id&quot; OP =&quot;=&quot; EXP2 =&quot;:wave_id&quot; ) ) ORDER(NAME=&quot;wave_seq.priority&quot; ASC=yes ) ARG(NAME = &quot;wave_id&quot; TYPE = string) </retrieve>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;wave_task_det&quot; ) TABLE(NAME=&quot;wave_seq&quot; ) COLUMN(NAME=&quot;wave_task_det.wave_id&quot;) COLUMN(NAME=&quot;wave_task_det.line_no&quot;) COLUMN(NAME=&quot;wave_task_det.ref_ser&quot;) COLUMN(NAME=&quot;wave_task_det.ref_id&quot;) COLUMN(NAME=&quot;wave_task_det.status&quot;) COLUMN(NAME=&quot;wave_task_det.ptcn&quot;) COLUMN(NAME=&quot;wave_task_det.sale_order&quot;) COMPUTE(NAME=&quot;case when wave_status = &apos;C&apos; then &apos;Created&apos; when wave_status = &apos;V&apos; then &apos;Verified&apos; when wave_status = &apos;W&apos; then &apos;Held&apos; else &apos; &apos; end wave_status&quot;) COLUMN(NAME=&quot;wave_seq.priority&quot;) COMPUTE(NAME=&quot;FN_WAVE_DESCRIPTION(WAVE_TASK_DET.REF_SER,WAVE_TASK_DET.REF_ID,WAVE_TASK_DET.PTCN) AS descr&quot;) JOIN (LEFT=&quot;wave_task_det.ref_ser&quot; OP =&quot;=&quot;RIGHT=&quot;wave_seq.ref_ser&quot; OUTER1 =&quot;wave_task_det.ref_ser&quot; )WHERE( EXP1 =&quot;wave_task_det.wave_id&quot; OP =&quot;=&quot; EXP2 =&quot;:wave_id&quot; ) ) ORDER(NAME=&quot;wave_seq.priority&quot; ASC=yes ) ARG(NAME = &quot;wave_id&quot; TYPE = string) </retrieve>
<update>WAVE_TASK_DET</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -132,230 +132,6 @@
<type>string</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Wave ID</text>
<border>6</border>
<color>0</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_id_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line No</text>
<border>6</border>
<color>0</color>
<x>86</x>
<y>2</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Ref series</text>
<border>6</border>
<color>0</color>
<x>160</x>
<y>2</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_ser_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Task Descr</text>
<border>6</border>
<color>0</color>
<x>226</x>
<y>2</y>
<height>16</height>
<width>198</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr_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>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Ref ID</text>
<border>6</border>
<color>0</color>
<x>426</x>
<y>2</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_id_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Status</text>
<border>6</border>
<color>0</color>
<x>510</x>
<y>2</y>
<height>16</height>
<width>48</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>PTCN</text>
<border>6</border>
<color>0</color>
<x>560</x>
<y>2</y>
<height>16</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Sale Order</text>
<border>6</border>
<color>0</color>
<x>643</x>
<y>2</y>
<height>16</height>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order_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>
......@@ -475,26 +251,29 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<id>4</id>
<alignment>2</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>226</x>
<x>431</x>
<y>0</y>
<height>16</height>
<width>198</width>
<width>82</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<name>ref_id</name>
<tag>reference id (Transaction ID of Particular transaction (Replenishment, picking, pack, dispatch/shipment))</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>2</imemode>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
......@@ -511,24 +290,24 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<id>5</id>
<alignment>2</alignment>
<tabsequence>50</tabsequence>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>426</x>
<y>1</y>
<x>515</x>
<y>0</y>
<height>16</height>
<width>82</width>
<width>48</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_id</name>
<tag>reference id (Transaction ID of Particular transaction (Replenishment, picking, pack, dispatch/shipment))</tag>
<name>status</name>
<tag>Status of wave task</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>1</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -550,24 +329,23 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>2</alignment>
<tabsequence>60</tabsequence>
<id>6</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>510</x>
<y>1</y>
<x>565</x>
<y>0</y>
<height>16</height>
<width>48</width>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<tag>Status of wave task</tag>
<name>ptcn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -589,20 +367,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<id>7</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<tabsequence>80</tabsequence>
<border>5</border>
<color>33554432</color>
<x>560</x>
<y>1</y>
<x>648</x>
<y>0</y>
<height>16</height>
<width>81</width>
<width>111</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn</name>
<name>sale_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
......@@ -627,27 +405,97 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<tabsequence>90</tabsequence>
<border>5</border>
<color>33554432</color>
<x>643</x>
<y>1</y>
<x>761</x>
<y>0</y>
<height>16</height>
<width>111</width>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order</name>
<name>wave_status</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>3</limit>
<allowedit>no</allowedit>
<case>upper</case>
<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>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<color>33554432</color>
<x>840</x>
<y>0</y>
<height>16</height>
<width>62</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>priority</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>10</limit>
<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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>226</x>
<y>0</y>
<height>16</height>
<width>203</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</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>
......@@ -666,17 +514,17 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Task Status</text>
<text>Wave ID</text>
<border>6</border>
<color>0</color>
<x>756</x>
<x>2</x>
<y>2</y>
<height>16</height>
<width>77</width>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_status_t</name>
<name>wave_id_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -691,52 +539,212 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>33554432</color>
<x>756</x>
<y>1</y>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line No</text>
<border>6</border>
<color>0</color>
<x>86</x>
<y>2</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Ref series</text>
<border>6</border>
<color>0</color>
<x>160</x>
<y>2</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_ser_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Ref ID</text>
<border>6</border>
<color>0</color>
<x>431</x>
<y>2</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_id_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Status</text>
<border>6</border>
<color>0</color>
<x>515</x>
<y>2</y>
<height>16</height>
<width>48</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>PTCN</text>
<border>6</border>
<color>0</color>
<x>565</x>
<y>2</y>
<height>16</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Sale Order</text>
<border>6</border>
<color>0</color>
<x>648</x>
<y>2</y>
<height>16</height>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Task Status</text>
<border>6</border>
<color>0</color>
<x>761</x>
<y>2</y>
<height>16</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_status</name>
<name>wave_status_t</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>3</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Priority</text>
<border>6</border>
<color>0</color>
<x>835</x>
<x>840</x>
<y>2</y>
<height>16</height>
<width>63</width>
<width>62</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -755,35 +763,34 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<color>33554432</color>
<x>836</x>
<y>1</y>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Descr</text>
<border>6</border>
<color>0</color>
<x>226</x>
<y>2</y>
<height>16</height>
<width>62</width>
<width>203</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>priority</name>
<visible>0</visible>
<name>descr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>271</height>
<height>163</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -94,12 +94,6 @@
<name>sale_order</name>
<dbname>wave_task_det.sale_order</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>refser.descr</dbname>
</table_column>
<table_column>
<type size="8">char</type>
<update>yes</update>
......@@ -107,7 +101,13 @@
<name>wave_status</name>
<dbname>wave_status</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;wave_task_det&quot; ) TABLE(NAME=&quot;refser&quot; ) COLUMN(NAME=&quot;wave_task_det.wave_id&quot;) COLUMN(NAME=&quot;wave_task_det.line_no&quot;) COLUMN(NAME=&quot;wave_task_det.ref_ser&quot;) COLUMN(NAME=&quot;wave_task_det.ref_id&quot;) COLUMN(NAME=&quot;wave_task_det.status&quot;) COLUMN(NAME=&quot;wave_task_det.ptcn&quot;) COLUMN(NAME=&quot;wave_task_det.sale_order&quot;) COLUMN(NAME=&quot;refser.descr&quot;) COMPUTE(NAME=&quot;case when wave_status = &apos;C&apos; then &apos;Created&apos; when wave_status = &apos;V&apos; then &apos;Verified&apos; when wave_status = &apos;W&apos; then &apos;Held&apos; else &apos; &apos; end wave_status&quot;) JOIN (LEFT=&quot;wave_task_det.ref_ser&quot; OP =&quot;=&quot;RIGHT=&quot;refser.ref_ser&quot; )WHERE( EXP1 =&quot;wave_task_det.wave_id&quot; OP =&quot;=&quot; EXP2 =&quot;:wave_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;wave_task_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;wave_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;wave_task_det&quot; ) COLUMN(NAME=&quot;wave_task_det.wave_id&quot;) COLUMN(NAME=&quot;wave_task_det.line_no&quot;) COLUMN(NAME=&quot;wave_task_det.ref_ser&quot;) COLUMN(NAME=&quot;wave_task_det.ref_id&quot;) COLUMN(NAME=&quot;wave_task_det.status&quot;) COLUMN(NAME=&quot;wave_task_det.ptcn&quot;) COLUMN(NAME=&quot;wave_task_det.sale_order&quot;) COMPUTE(NAME=&quot;case when wave_status = &apos;C&apos; then &apos;Created&apos; when wave_status = &apos;V&apos; then &apos;Verified&apos; when wave_status = &apos;W&apos; then &apos;Held&apos; else &apos; &apos; end wave_status&quot;) COMPUTE(NAME=&quot;FN_WAVE_DESCRIPTION(WAVE_TASK_DET.REF_SER,REF_ID,PTCN) AS DESCR&quot;)WHERE( EXP1 =&quot;wave_task_det.wave_id&quot; OP =&quot;=&quot; EXP2 =&quot;:wave_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;wave_task_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;wave_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<update>WAVE_TASK_DET</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -189,7 +189,7 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
......@@ -225,7 +225,7 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
......
......@@ -36077,7 +36077,407 @@ TO_DATE('13-02-2008 00:00:00','DD-MM-YYYY HH24:MI:SS'),
NULL,
NULL);
-- Changed by sumit on 28/03/13
create or replace
function FN_WAVE_DESCRIPTION(VI_REF_SER IN CHAR,VI_REF_ID IN CHAR, VI_PTCN IN VARCHAR)
RETURN VARCHAR2 IS TEMP_DESCR VARCHAR2(200);
CNT1 NUMBER;
--TEMP_DESCR VARCHAR2(200);
TEMP_HAZARDOUS CHAR;
TEMP_ITEM_CODE CHAR(10);
TEMP_REF_ID CHAR(10);
TEMP_CASE VARCHAR2(20);
TEMP_ACTIVE VARCHAR2(20);
TEMP_REF_SER CHAR(6);
ISTACKDONE CHAR(1);
BEGIN
BEGIN
--ISTACKDONE := 'N';
IF(VI_REF_SER = 'R-DSO') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'R-PND') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'S-DSP') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'R-CPA') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'R-TASK') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'RD-DSA') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'RN-DSA') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'RP-ACT') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'RP-PND') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'RP-PND') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'RR-DSA') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'RS-DSO') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'S-DOC') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'M-PACK') THEN
SELECT DESCR INTO TEMP_DESCR FROM REFSER WHERE REF_SER = VI_REF_SER ;
RETURN TEMP_DESCR;
END IF;
if( VI_REF_SER = 'C-PICK') then
TEMP_HAZARDOUS := '';
select wtd.ref_id,WTD.REF_SER, (CASE WHEN I.hazardous IS NULL THEN 'N' ELSE I.hazardous END) AS HAZ into TEMP_REF_ID,TEMP_REF_SER, TEMP_HAZARDOUS
from wave_task_det WTD, ITEM I , PICK_ORD_DET POD
where WTD.ptcn= VI_PTCN and WTD.ref_ser ='C-PICK' and WTD.REF_ID = VI_REF_ID
AND WTD.REF_ID = POD.PICK_ORDER AND I.ITEM_CODE = POD.ITEM_CODE AND ROWNUM = 1;
IF (TEMP_REF_SER = 'C-PICK' AND TEMP_HAZARDOUS = 'Y' ) THEN
TEMP_CASE := 'HAZ_CASE_CASE';
ISTACKDONE := 'Y';
ELSIF (TEMP_REF_SER = 'C-PICK' AND TEMP_HAZARDOUS = 'N' ) THEN
TEMP_CASE := 'CASE_CASE';
ISTACKDONE := 'Y';
END IF;
END IF;
IF ( VI_REF_SER = 'M-PICK') then
select wtd.ref_id,WTD.REF_SER, (CASE WHEN I.hazardous IS NULL THEN 'N' ELSE I.hazardous END) AS HAZ into TEMP_REF_ID,TEMP_REF_SER, TEMP_HAZARDOUS
from wave_task_det WTD, ITEM I , PICK_ORD_DET POD
where WTD.ptcn= VI_PTCN and WTD.ref_ser ='M-PICK' and WTD.REF_ID = VI_REF_ID
AND WTD.REF_ID = POD.PICK_ORDER AND I.ITEM_CODE = POD.ITEM_CODE AND ROWNUM = 1;
IF (TEMP_REF_SER = 'M-PICK' AND TEMP_HAZARDOUS = 'Y' ) THEN
TEMP_CASE := 'HAZ_MASTER_CASE';
--RETURN TEMP_CASE;
ISTACKDONE := 'Y';
ELSIF (TEMP_REF_SER = 'M-PICK' AND TEMP_HAZARDOUS = 'N' ) THEN
TEMP_CASE := 'MASTER_CASE';
ISTACKDONE := 'Y';
END IF;
ELSIF ( VI_REF_SER = 'P-PICK' ) then
TEMP_HAZARDOUS := '';
select wtd.ref_id,WTD.REF_SER, (CASE WHEN I.hazardous IS NULL THEN 'N' ELSE I.hazardous END) AS HAZ into TEMP_REF_ID,TEMP_REF_SER, TEMP_HAZARDOUS
from wave_task_det WTD, ITEM I , PICK_ORD_DET POD
where WTD.ptcn= VI_PTCN and WTD.ref_ser ='P-PICK' and WTD.REF_ID = VI_REF_ID
AND WTD.REF_ID = POD.PICK_ORDER AND I.ITEM_CODE = POD.ITEM_CODE AND ROWNUM = 1;
IF (TEMP_REF_SER = 'P-PICK' AND TEMP_HAZARDOUS = 'Y' ) THEN
TEMP_CASE := 'HAZ_PARCEL_CASE';
ISTACKDONE := 'Y';
ELSIF (TEMP_REF_SER = 'P-PICK' AND TEMP_HAZARDOUS = 'N' ) THEN
TEMP_CASE := 'PARCEL_CASE';
ISTACKDONE := 'Y';
END IF;
ELSIF ( VI_REF_SER = 'A-PICK' ) then
select count(*) as cont into CNT1 from wave_task_det WTD where WTD.ptcn = VI_PTCN and WTD.ref_ser ='C-PICK';
IF (CNT1 > 0 ) then
TEMP_CASE := 'CASE_CASE';
end if;
select count(*) as cont into CNT1 from wave_task_det WTD where WTD.ptcn = VI_PTCN and WTD.ref_ser ='M-PICK';
IF (CNT1 > 0 ) then
TEMP_CASE := 'MASTER_CASE';
end if;
select count(*) as cont into CNT1 from wave_task_det WTD where WTD.ptcn = VI_PTCN and WTD.ref_ser ='P-PICK';
IF (CNT1 > 0 ) then
TEMP_CASE := 'PARCEL_CASE';
end if;
end if;
IF(VI_REF_SER = 'C-PICK' AND TEMP_CASE = 'HAZ_CASE_CASE' ) THEN
SELECT DESCR INTO TEMP_DESCR FROM GENcodes WHERE FLD_NAME = 'HAZ_CASE_CASE' and MOD_NAME = 'WAVE_TASK' ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'C-PICK' AND TEMP_CASE = 'CASE_CASE' ) THEN
SELECT DESCR INTO TEMP_DESCR FROM GENcodes WHERE FLD_NAME = 'CASE_CASE' and MOD_NAME = 'WAVE_TASK' ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'M-PICK' AND TEMP_CASE = 'HAZ_MASTER_CASE' ) THEN ---// for normal MASTER pick ------- start
SELECT DESCR INTO TEMP_DESCR FROM GENcodes WHERE FLD_NAME = 'HAZ_MASTER_CASE' and MOD_NAME = 'WAVE_TASK' ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'M-PICK' AND TEMP_CASE = 'MASTER_CASE' ) THEN
SELECT DESCR INTO TEMP_DESCR FROM GENcodes WHERE FLD_NAME = 'MASTER_CASE' and MOD_NAME = 'WAVE_TASK' ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'P-PICK' AND TEMP_CASE = 'HAZ_PARCEL_CASE' ) THEN ---// for normal MASTER pick ------- start
SELECT DESCR INTO TEMP_DESCR FROM GENcodes WHERE FLD_NAME = 'HAZ_PARCEL_CASE' and MOD_NAME = 'WAVE_TASK' ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'P-PICK' AND TEMP_CASE = 'PARCEL_CASE' ) THEN
SELECT DESCR INTO TEMP_DESCR FROM GENcodes WHERE FLD_NAME = 'PARCEL_CASE' and MOD_NAME = 'WAVE_TASK' ;
RETURN TEMP_DESCR;
ELSIF (VI_REF_SER = 'A-PICK') THEN
IF ( TEMP_CASE <> 'PARCEL_CASE' AND TEMP_CASE <> 'MASTER_CASE' ) THEN
SELECT DESCR INTO TEMP_DESCR FROM GENcodes WHERE FLD_NAME = 'CASE_ACTIVE' and MOD_NAME = 'WAVE_TASK' ;
RETURN TEMP_DESCR;
ELSIF ( TEMP_CASE = 'MASTER_CASE') THEN
SELECT DESCR INTO TEMP_DESCR FROM GENcodes WHERE FLD_NAME = 'MASTER_ACTIVE' and MOD_NAME = 'WAVE_TASK' ;
RETURN TEMP_DESCR;
ELSIF ( TEMP_CASE = 'PARCEL_CASE') THEN
SELECT DESCR INTO TEMP_DESCR FROM GENcodes WHERE FLD_NAME = 'PARCEL_ACTIVE' and MOD_NAME = 'WAVE_TASK' ;
RETURN TEMP_DESCR;
END IF;
END IF;
EXCEPTION
WHEN NO_DATA_FOUND THEN
TEMP_DESCR :='';
END;
RETURN TEMP_DESCR;
END;
/
INSERT INTO GENCODES (
fld_name ,
mod_name ,
fld_value ,
descr ,
sh_descr ,
chg_date ,
chg_user ,
chg_term ,
active ,
udf_str1 ,
udf_str2 ,
udf_str3 )
VALUES (
'MASTER_ACTIVE',
'WAVE_TASK',
'1',
'Active Pick Master Picking',
NULL,
TO_DATE('27-03-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL,
NULL,
NULL);
INSERT INTO GENCODES (
fld_name ,
mod_name ,
fld_value ,
descr ,
sh_descr ,
chg_date ,
chg_user ,
chg_term ,
active ,
udf_str1 ,
udf_str2 ,
udf_str3 )
VALUES (
'PARCEL_CASE',
'WAVE_TASK',
'1',
'Case Pick Parcel Picking',
NULL,
TO_DATE('27-03-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL,
NULL,
NULL);
INSERT INTO GENCODES (
fld_name ,
mod_name ,
fld_value ,
descr ,
sh_descr ,
chg_date ,
chg_user ,
chg_term ,
active ,
udf_str1 ,
udf_str2 ,
udf_str3 )
VALUES (
'PARCEL_ACTIVE',
'WAVE_TASK',
'1',
'Active Pick Parcel Picking',
NULL,
TO_DATE('27-03-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL,
NULL,
NULL);
INSERT INTO GENCODES (
fld_name ,
mod_name ,
fld_value ,
descr ,
sh_descr ,
chg_date ,
chg_user ,
chg_term ,
active ,
udf_str1 ,
udf_str2 ,
udf_str3 )
VALUES(
'HAZ_CASE_CASE',
'WAVE_TASK',
'1',
'Hazmat Case Picking',
NULL,
TO_DATE('27-03-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL,
NULL,
NULL);
INSERT INTO GENCODES (
fld_name ,
mod_name ,
fld_value ,
descr ,
sh_descr ,
chg_date ,
chg_user ,
chg_term ,
active ,
udf_str1 ,
udf_str2 ,
udf_str3 )
VALUES (
'CASE_CASE',
'WAVE_TASK',
'1',
'Case Pick LTL Picking',
NULL,
TO_DATE('27-03-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL,
NULL,
NULL);
INSERT INTO GENCODES (
fld_name ,
mod_name ,
fld_value ,
descr ,
sh_descr ,
chg_date ,
chg_user ,
chg_term ,
active ,
udf_str1 ,
udf_str2 ,
udf_str3 )
VALUES (
'CASE_ACTIVE',
'WAVE_TASK',
'1',
'Active Pick LTL Picking',
NULL,
TO_DATE('27-03-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL,
NULL,
NULL);
INSERT INTO GENCODES (
fld_name ,
mod_name ,
fld_value ,
descr ,
sh_descr ,
chg_date ,
chg_user ,
chg_term ,
active ,
udf_str1 ,
udf_str2 ,
udf_str3 )
VALUES (
'MASTER_CASE',
'WAVE_TASK',
'1',
'Case Pick Master Picking',
NULL,
TO_DATE('27-03-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL,
NULL,
NULL);
INSERT INTO GENCODES (
fld_name ,
mod_name ,
fld_value ,
descr ,
sh_descr ,
chg_date ,
chg_user ,
chg_term ,
active ,
udf_str1 ,
udf_str2 ,
udf_str3 )
VALUES (
'HAZ_MASTER_CASE',
'WAVE_TASK',
'1',
'Hazmat Case Pick - Master',
NULL,
TO_DATE('27-03-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL,
NULL,
NULL);
INSERT INTO GENCODES (
fld_name ,
mod_name ,
fld_value ,
descr ,
sh_descr ,
chg_date ,
chg_user ,
chg_term ,
active ,
udf_str1 ,
udf_str2 ,
udf_str3 )
VALUES (
'HAZ_PARCEL_CASE',
'WAVE_TASK',
'1',
'Hazmat Case Pick - Parcel',
NULL,
TO_DATE('27-03-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL,
NULL,
NULL);
commit;
......
$PBExportHeader$d_wave_task12.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=23 color="536870912" )
header(height=21 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=22 color="536870912" )
detail(height=20 color="536870912" )
table(column=(type=char(12) update=yes updatewhereclause=yes key=yes name=wave_id dbname="wave_task_det.wave_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="wave_task_det.line_no" )
column=(type=char(6) update=yes updatewhereclause=yes name=ref_ser dbname="wave_task_det.ref_ser" )
......@@ -12,30 +12,30 @@ table(column=(type=char(12) update=yes updatewhereclause=yes key=yes name=wave_i
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="wave_task_det.status" )
column=(type=char(10) update=yes updatewhereclause=yes name=ptcn dbname="wave_task_det.ptcn" )
column=(type=char(10) update=yes updatewhereclause=yes name=sale_order dbname="wave_task_det.sale_order" )
column=(type=char(40) updatewhereclause=yes name=descr dbname="refser.descr" )
column=(type=char(8) update=yes updatewhereclause=yes name=wave_status dbname="wave_status" values="CREATED C/VERIFIED V/WAITING W/" )
column=(type=decimal(0) updatewhereclause=yes name=priority dbname="wave_seq.priority" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"wave_task_det~" ) TABLE(NAME=~"refser~" ) TABLE(NAME=~"wave_seq~" ) COLUMN(NAME=~"wave_task_det.wave_id~") COLUMN(NAME=~"wave_task_det.line_no~") COLUMN(NAME=~"wave_task_det.ref_ser~") COLUMN(NAME=~"wave_task_det.ref_id~") COLUMN(NAME=~"wave_task_det.status~") COLUMN(NAME=~"wave_task_det.ptcn~") COLUMN(NAME=~"wave_task_det.sale_order~") COLUMN(NAME=~"refser.descr~") COMPUTE(NAME=~"case when wave_status = 'C' then 'Created' when wave_status = 'V' then 'Verified' when wave_status = 'W' then 'Held' else ' ' end wave_status~") COLUMN(NAME=~"wave_seq.priority~") JOIN (LEFT=~"wave_task_det.ref_ser~" OP =~"=~"RIGHT=~"wave_seq.ref_ser~" OUTER1 =~"wave_task_det.ref_ser~" ) JOIN (LEFT=~"wave_task_det.ref_ser~" OP =~"=~"RIGHT=~"refser.ref_ser~" )WHERE( EXP1 =~"wave_task_det.wave_id~" OP =~"=~" EXP2 =~":wave_id~" ) ) ORDER(NAME=~"wave_seq.priority~" ASC=yes ) ARG(NAME = ~"wave_id~" TYPE = string) " update="WAVE_TASK_DET" updatewhere=0 updatekeyinplace=no arguments=(("wave_id", string)) )
text(band=header alignment="2" text="Wave ID" border="6" color="0" x="2" y="2" height="16" width="82" 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="2" text="Line No" border="6" color="0" x="86" y="2" height="16" width="72" html.valueishtml="0" name=line_no_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="2" text="Ref series" border="6" color="0" x="160" y="2" height="16" width="64" html.valueishtml="0" name=ref_ser_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="2" text="Task Descr" border="6" color="0" x="226" y="2" height="16" width="198" html.valueishtml="0" name=descr_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="553648127" )
text(band=header alignment="2" text="Ref ID" border="6" color="0" x="426" y="2" height="16" width="82" html.valueishtml="0" name=ref_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="2" text="Status" border="6" color="0" x="510" y="2" height="16" width="48" 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=header alignment="2" text="PTCN" border="6" color="0" x="560" y="2" height="16" width="81" 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="2" text="Sale Order" border="6" color="0" x="643" y="2" height="16" width="111" html.valueishtml="0" name=sale_order_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=(type=char(4000) updatewhereclause=yes name=descr dbname="descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"wave_task_det~" ) TABLE(NAME=~"wave_seq~" ) COLUMN(NAME=~"wave_task_det.wave_id~") COLUMN(NAME=~"wave_task_det.line_no~") COLUMN(NAME=~"wave_task_det.ref_ser~") COLUMN(NAME=~"wave_task_det.ref_id~") COLUMN(NAME=~"wave_task_det.status~") COLUMN(NAME=~"wave_task_det.ptcn~") COLUMN(NAME=~"wave_task_det.sale_order~") COMPUTE(NAME=~"case when wave_status = 'C' then 'Created' when wave_status = 'V' then 'Verified' when wave_status = 'W' then 'Held' else ' ' end wave_status~") COLUMN(NAME=~"wave_seq.priority~") COMPUTE(NAME=~"FN_WAVE_DESCRIPTION(WAVE_TASK_DET.REF_SER,WAVE_TASK_DET.REF_ID,WAVE_TASK_DET.PTCN) AS descr~") JOIN (LEFT=~"wave_task_det.ref_ser~" OP =~"=~"RIGHT=~"wave_seq.ref_ser~" OUTER1 =~"wave_task_det.ref_ser~" )WHERE( EXP1 =~"wave_task_det.wave_id~" OP =~"=~" EXP2 =~":wave_id~" ) ) ORDER(NAME=~"wave_seq.priority~" ASC=yes ) ARG(NAME = ~"wave_id~" TYPE = string) " update="WAVE_TASK_DET" updatewhere=0 updatekeyinplace=no arguments=(("wave_id", string)) )
column(band=detail id=1 alignment="2" tabsequence=10 border="5" color="33554432" x="2" y="0" height="16" width="82" format="[general]" html.valueishtml="0" name=wave_id tag="Transaction ID of wave task" visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=2 font.face="Times New Roman" 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="2" tabsequence=20 border="5" color="33554432" x="86" y="0" height="16" width="72" format="[general]" html.valueishtml="0" name=line_no tag="Line Number of the Wave Task detail line" 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="2" tabsequence=30 border="5" color="33554432" x="160" y="0" height="16" width="64" format="[general]" html.valueishtml="0" name=ref_ser tag="Reference series of particular transaction (R-ORDH, P-ORDH, P-PACK, S-DSP)" visible="1" edit.limit=6 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=40 border="5" color="33554432" x="226" y="0" height="16" width="198" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=2 font.face="Times New Roman" 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="2" tabsequence=50 border="5" color="33554432" x="426" y="1" height="16" width="82" format="[general]" html.valueishtml="0" name=ref_id tag="reference id (Transaction ID of Particular transaction (Replenishment, picking, pack, dispatch/shipment))" visible="1" edit.limit=10 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="2" tabsequence=60 border="5" color="33554432" x="510" y="1" height="16" width="48" format="[general]" html.valueishtml="0" name=status tag="Status of wave task" visible="1" edit.limit=1 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=70 border="5" color="33554432" x="560" y="1" height="16" width="81" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=10 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=80 border="5" color="33554432" x="643" y="1" height="16" width="111" format="[general]" html.valueishtml="0" name=sale_order visible="1" edit.limit=10 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=header alignment="2" text="Task Status" border="6" color="0" x="756" y="2" height="16" width="77" html.valueishtml="0" name=wave_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=9 alignment="0" tabsequence=90 border="5" color="33554432" x="756" y="1" height="16" width="77" format="[general]" html.valueishtml="0" name=wave_status visible="1" ddlb.limit=3 ddlb.allowedit=no ddlb.case=upper ddlb.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" )
text(band=header alignment="0" text="Priority" border="6" color="0" x="835" y="2" height="16" width="63" html.valueishtml="0" name=priority_t visible="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=10 alignment="0" tabsequence=100 border="5" color="33554432" x="836" y="1" height="16" width="62" html.valueishtml="0" name=priority visible="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="2" tabsequence=50 border="5" color="33554432" x="431" y="0" height="16" width="82" format="[general]" html.valueishtml="0" name=ref_id tag="reference id (Transaction ID of Particular transaction (Replenishment, picking, pack, dispatch/shipment))" visible="1" edit.limit=10 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="2" tabsequence=60 border="5" color="33554432" x="515" y="0" height="16" width="48" format="[general]" html.valueishtml="0" name=status tag="Status of wave task" visible="1" edit.limit=1 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=70 border="5" color="33554432" x="565" y="0" height="16" width="81" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=10 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=80 border="5" color="33554432" x="648" y="0" height="16" width="111" format="[general]" html.valueishtml="0" name=sale_order visible="1" edit.limit=10 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=90 border="5" color="33554432" x="761" y="0" height="16" width="77" format="[general]" html.valueishtml="0" name=wave_status visible="1" ddlb.limit=3 ddlb.allowedit=no ddlb.case=upper ddlb.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=9 alignment="0" tabsequence=100 border="5" color="33554432" x="840" y="0" height="16" width="62" format="[general]" html.valueishtml="0" name=priority visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=40 border="5" color="33554432" x="226" y="0" height="16" width="203" format="[general]" html.valueishtml="0" name=descr 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=header alignment="2" text="Wave ID" border="6" color="0" x="2" y="2" height="16" width="82" 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="2" text="Line No" border="6" color="0" x="86" y="2" height="16" width="72" html.valueishtml="0" name=line_no_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="2" text="Ref series" border="6" color="0" x="160" y="2" height="16" width="64" html.valueishtml="0" name=ref_ser_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="2" text="Ref ID" border="6" color="0" x="431" y="2" height="16" width="82" html.valueishtml="0" name=ref_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="2" text="Status" border="6" color="0" x="515" y="2" height="16" width="48" 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=header alignment="2" text="PTCN" border="6" color="0" x="565" y="2" height="16" width="81" 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="2" text="Sale Order" border="6" color="0" x="648" y="2" height="16" width="111" html.valueishtml="0" name=sale_order_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="2" text="Task Status" border="6" color="0" x="761" y="2" height="16" width="77" html.valueishtml="0" name=wave_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="Priority" border="6" color="0" x="840" y="2" height="16" width="62" html.valueishtml="0" name=priority_t visible="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" )
text(band=header alignment="2" text="Descr" border="6" color="0" x="226" y="2" height="16" width="203" html.valueishtml="0" name=descr_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" )
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 template=(comment="" encoding="UTF-8" name="d_wave_task12" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><d_wave_task12><d_wave_task12_row __pbband=~"detail~"><wave_id>wave_id</wave_id><line_no>line_no</line_no><ref_ser/><ref_id>ref_id</ref_id><ref_type>ref_type</ref_type><status>status</status><ptcn>ptcn</ptcn><sale_order>sale_order</sale_order><refser_descr/></d_wave_task12_row></d_wave_task12>"))
......
......@@ -3,7 +3,7 @@ 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=271 color="536870912" )
detail(height=163 color="536870912" )
table(column=(type=char(12) update=yes updatewhereclause=yes key=yes name=wave_id dbname="wave_task_det.wave_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="wave_task_det.line_no" )
column=(type=char(6) update=yes updatewhereclause=yes name=ref_ser dbname="wave_task_det.ref_ser" )
......@@ -11,13 +11,13 @@ table(column=(type=char(12) update=yes updatewhereclause=yes key=yes name=wave_i
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="wave_task_det.status" )
column=(type=char(10) update=yes updatewhereclause=yes name=ptcn dbname="wave_task_det.ptcn" )
column=(type=char(10) update=yes updatewhereclause=yes name=sale_order dbname="wave_task_det.sale_order" )
column=(type=char(40) updatewhereclause=yes name=descr dbname="refser.descr" )
column=(type=char(8) update=yes updatewhereclause=yes name=wave_status dbname="wave_status" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"wave_task_det~" ) TABLE(NAME=~"refser~" ) COLUMN(NAME=~"wave_task_det.wave_id~") COLUMN(NAME=~"wave_task_det.line_no~") COLUMN(NAME=~"wave_task_det.ref_ser~") COLUMN(NAME=~"wave_task_det.ref_id~") COLUMN(NAME=~"wave_task_det.status~") COLUMN(NAME=~"wave_task_det.ptcn~") COLUMN(NAME=~"wave_task_det.sale_order~") COLUMN(NAME=~"refser.descr~") COMPUTE(NAME=~"case when wave_status = 'C' then 'Created' when wave_status = 'V' then 'Verified' when wave_status = 'W' then 'Held' else ' ' end wave_status~") JOIN (LEFT=~"wave_task_det.ref_ser~" OP =~"=~"RIGHT=~"refser.ref_ser~" )WHERE( EXP1 =~"wave_task_det.wave_id~" OP =~"=~" EXP2 =~":wave_id~" LOGIC =~"And~" ) WHERE( EXP1 =~"wave_task_det.line_no~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"wave_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="WAVE_TASK_DET" updatewhere=0 updatekeyinplace=no arguments=(("wave_id", string),("line_no", number)) )
column=(type=char(4000) updatewhereclause=yes name=descr dbname="descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"wave_task_det~" ) COLUMN(NAME=~"wave_task_det.wave_id~") COLUMN(NAME=~"wave_task_det.line_no~") COLUMN(NAME=~"wave_task_det.ref_ser~") COLUMN(NAME=~"wave_task_det.ref_id~") COLUMN(NAME=~"wave_task_det.status~") COLUMN(NAME=~"wave_task_det.ptcn~") COLUMN(NAME=~"wave_task_det.sale_order~") COMPUTE(NAME=~"case when wave_status = 'C' then 'Created' when wave_status = 'V' then 'Verified' when wave_status = 'W' then 'Held' else ' ' end wave_status~") COMPUTE(NAME=~"FN_WAVE_DESCRIPTION(WAVE_TASK_DET.REF_SER,REF_ID,PTCN) AS DESCR~")WHERE( EXP1 =~"wave_task_det.wave_id~" OP =~"=~" EXP2 =~":wave_id~" LOGIC =~"And~" ) WHERE( EXP1 =~"wave_task_det.line_no~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"wave_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="WAVE_TASK_DET" updatewhere=0 updatekeyinplace=no arguments=(("wave_id", string),("line_no", number)) )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="321" y="16" height="16" width="78" format="[general]" html.valueishtml="0" name=line_no tag="Line Number of the Wave Task detail line" 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="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No:" border="0" color="0" x="238" y="16" height="16" width="77" html.valueishtml="0" name=line_no_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=8 alignment="0" tabsequence=32766 border="5" color="255" x="199" y="40" height="16" width="200" format="[General]" html.valueishtml="0" name=descr 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="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="321" y="64" height="16" width="78" format="[general]" html.valueishtml="0" name=wave_status visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" 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="199" y="40" height="16" width="200" format="[General]" html.valueishtml="0" name=descr 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="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="321" y="64" height="16" width="78" format="[general]" html.valueishtml="0" name=wave_status visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Task Status:" border="0" color="0" x="238" y="64" height="16" width="77" html.valueishtml="0" name=wave_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="Wave ID:" border="0" color="0" x="13" y="16" height="16" width="96" 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=detail alignment="1" text="Reference series:" border="0" color="0" x="13" y="40" height="16" width="96" html.valueishtml="0" name=ref_ser_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" )
......
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