Commit 31162c33 authored by jshinde's avatar jshinde

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103064 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 679a9417
...@@ -154,7 +154,13 @@ ...@@ -154,7 +154,13 @@
<name>req_type</name> <name>req_type</name>
<dbname>pallet_req_hdr.req_type</dbname> <dbname>pallet_req_hdr.req_type</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pallet_req_hdr&quot; ) COLUMN(NAME=&quot;pallet_req_hdr.tran_id&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.site_code&quot;) COLUMN(NAME=&quot;pallet_req_hdr.confirmed&quot;) COLUMN(NAME=&quot;pallet_req_hdr.conf_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;pallet_req_hdr.remarks&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_type&quot;) COLUMN(NAME=&quot;pallet_req_hdr.req_type&quot;)WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:FromDate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ToDate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;(~&quot;PALLET_REQ_HDR~&quot;.~&quot;REQ_TYPE~&quot;&quot; OP =&quot;&lt;&gt;&quot; EXP2 =&quot;&apos;C&apos; or PALLET_REQ_HDR.REQ_TYPE is null)&quot; ) ) ARG(NAME = &quot;FromDate&quot; TYPE = datetime) ARG(NAME = &quot;ToDate&quot; TYPE = datetime) </retrieve> <table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>request_type</name>
<dbname>request_type</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pallet_req_hdr&quot; ) COLUMN(NAME=&quot;pallet_req_hdr.tran_id&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.site_code&quot;) COLUMN(NAME=&quot;pallet_req_hdr.confirmed&quot;) COLUMN(NAME=&quot;pallet_req_hdr.conf_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;pallet_req_hdr.remarks&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_type&quot;) COLUMN(NAME=&quot;pallet_req_hdr.req_type&quot;) COMPUTE(NAME=&quot;CASE WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;N&apos; THEN &apos;NEAREXPIRE&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;E&apos; THEN &apos;EXPIRE&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;R&apos; THEN &apos;REJECTED&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;S&apos; THEN &apos;STOCK&apos; ELSE &apos; &apos; END AS REQUEST_TYPE&quot;)WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:FromDate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ToDate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;(~&quot;PALLET_REQ_HDR~&quot;.~&quot;REQ_TYPE~&quot;&quot; OP =&quot;&lt;&gt;&quot; EXP2 =&quot;&apos;C&apos; or PALLET_REQ_HDR.REQ_TYPE is null)&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_TYPE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:TransactionType&quot; ) ) ARG(NAME = &quot;FromDate&quot; TYPE = datetime) ARG(NAME = &quot;ToDate&quot; TYPE = datetime) ARG(NAME = &quot;TransactionType&quot; TYPE = string) </retrieve>
<update>PALLET_REQ_HDR</update> <update>PALLET_REQ_HDR</update>
<updatewhere>1</updatewhere> <updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -166,6 +172,10 @@ ...@@ -166,6 +172,10 @@
<name>ToDate</name> <name>ToDate</name>
<type>datetime</type> <type>datetime</type>
</argument> </argument>
<argument>
<name>TransactionType</name>
<type>string</type>
</argument>
</TableDefinition> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
...@@ -559,34 +569,6 @@ ...@@ -559,34 +569,6 @@
<color>1073741824</color> <color>1073741824</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Request Type</text>
<border>0</border>
<color>33554432</color>
<x>1283</x>
<y>1</y>
<height>17</height>
<width>124</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_type_t</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>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -1131,6 +1113,34 @@ ...@@ -1131,6 +1113,34 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Request Type</text>
<border>0</border>
<color>33554432</color>
<x>1283</x>
<y>1</y>
<height>17</height>
<width>124</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_type_t</name>
<visible>0</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>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>15</id> <id>15</id>
...@@ -1147,6 +1157,71 @@ ...@@ -1147,6 +1157,71 @@
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>req_type</name> <name>req_type</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Request Type</text>
<border>0</border>
<color>33554432</color>
<x>1409</x>
<y>1</y>
<height>17</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>request_type_t</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>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>160</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1409</x>
<y>1</y>
<height>15</height>
<width>58</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>request_type</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
......
...@@ -147,7 +147,20 @@ ...@@ -147,7 +147,20 @@
<name>tran_type</name> <name>tran_type</name>
<dbname>pallet_req_hdr.tran_type</dbname> <dbname>pallet_req_hdr.tran_type</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pallet_req_hdr&quot; ) COLUMN(NAME=&quot;pallet_req_hdr.tran_id&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.site_code&quot;) COLUMN(NAME=&quot;pallet_req_hdr.confirmed&quot;) COLUMN(NAME=&quot;pallet_req_hdr.conf_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;pallet_req_hdr.remarks&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_type&quot;)WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:FromDate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ToDate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;REQ_TYPE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;&apos;C&apos;&quot; ) ) ARG(NAME = &quot;FromDate&quot; TYPE = datetime) ARG(NAME = &quot;ToDate&quot; TYPE = datetime) </retrieve> <table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>req_type</name>
<dbname>pallet_req_hdr.req_type</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>request_type</name>
<dbname>request_type</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pallet_req_hdr&quot; ) COLUMN(NAME=&quot;pallet_req_hdr.tran_id&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.site_code&quot;) COLUMN(NAME=&quot;pallet_req_hdr.confirmed&quot;) COLUMN(NAME=&quot;pallet_req_hdr.conf_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;pallet_req_hdr.remarks&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_type&quot;) COLUMN(NAME=&quot;pallet_req_hdr.req_type&quot;) COMPUTE(NAME=&quot;&apos;CONTROLLED SUBSTANCE&apos; AS REQUEST_TYPE&quot;)WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:FromDate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ToDate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;REQ_TYPE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;&apos;C&apos; &quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_TYPE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:TransactionType&quot; ) ) ARG(NAME = &quot;FromDate&quot; TYPE = datetime) ARG(NAME = &quot;ToDate&quot; TYPE = datetime) ARG(NAME = &quot;TransactionType&quot; TYPE = string) </retrieve>
<update>PALLET_REQ_HDR</update> <update>PALLET_REQ_HDR</update>
<updatewhere>1</updatewhere> <updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -159,6 +172,10 @@ ...@@ -159,6 +172,10 @@
<name>ToDate</name> <name>ToDate</name>
<type>datetime</type> <type>datetime</type>
</argument> </argument>
<argument>
<name>TransactionType</name>
<type>string</type>
</argument>
</TableDefinition> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
...@@ -337,7 +354,7 @@ ...@@ -337,7 +354,7 @@
<x>387</x> <x>387</x>
<y>2</y> <y>2</y>
<height>15</height> <height>15</height>
<width>316</width> <width>340</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -362,7 +379,7 @@ ...@@ -362,7 +379,7 @@
<text>Add User</text> <text>Add User</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>705</x> <x>729</x>
<y>2</y> <y>2</y>
<height>15</height> <height>15</height>
<width>66</width> <width>66</width>
...@@ -390,7 +407,7 @@ ...@@ -390,7 +407,7 @@
<text>Add Date</text> <text>Add Date</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>773</x> <x>797</x>
<y>2</y> <y>2</y>
<height>15</height> <height>15</height>
<width>90</width> <width>90</width>
...@@ -418,7 +435,7 @@ ...@@ -418,7 +435,7 @@
<text>Add Term</text> <text>Add Term</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>865</x> <x>889</x>
<y>2</y> <y>2</y>
<height>15</height> <height>15</height>
<width>84</width> <width>84</width>
...@@ -446,7 +463,7 @@ ...@@ -446,7 +463,7 @@
<text>Change User</text> <text>Change User</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>951</x> <x>975</x>
<y>2</y> <y>2</y>
<height>15</height> <height>15</height>
<width>66</width> <width>66</width>
...@@ -474,7 +491,7 @@ ...@@ -474,7 +491,7 @@
<text>Change Date</text> <text>Change Date</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1019</x> <x>1043</x>
<y>2</y> <y>2</y>
<height>15</height> <height>15</height>
<width>84</width> <width>84</width>
...@@ -502,7 +519,7 @@ ...@@ -502,7 +519,7 @@
<text>Change Term</text> <text>Change Term</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1105</x> <x>1129</x>
<y>2</y> <y>2</y>
<height>15</height> <height>15</height>
<width>84</width> <width>84</width>
...@@ -530,7 +547,7 @@ ...@@ -530,7 +547,7 @@
<text>Transaction Type</text> <text>Transaction Type</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1191</x> <x>1215</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
...@@ -796,7 +813,7 @@ ...@@ -796,7 +813,7 @@
<x>387</x> <x>387</x>
<y>2</y> <y>2</y>
<height>18</height> <height>18</height>
<width>316</width> <width>340</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -832,7 +849,7 @@ ...@@ -832,7 +849,7 @@
<tabsequence>80</tabsequence> <tabsequence>80</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>705</x> <x>729</x>
<y>2</y> <y>2</y>
<height>18</height> <height>18</height>
<width>66</width> <width>66</width>
...@@ -871,7 +888,7 @@ ...@@ -871,7 +888,7 @@
<tabsequence>90</tabsequence> <tabsequence>90</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>773</x> <x>797</x>
<y>2</y> <y>2</y>
<height>18</height> <height>18</height>
<width>90</width> <width>90</width>
...@@ -910,7 +927,7 @@ ...@@ -910,7 +927,7 @@
<tabsequence>100</tabsequence> <tabsequence>100</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>865</x> <x>889</x>
<y>2</y> <y>2</y>
<height>18</height> <height>18</height>
<width>84</width> <width>84</width>
...@@ -949,7 +966,7 @@ ...@@ -949,7 +966,7 @@
<tabsequence>110</tabsequence> <tabsequence>110</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>951</x> <x>975</x>
<y>2</y> <y>2</y>
<height>18</height> <height>18</height>
<width>66</width> <width>66</width>
...@@ -988,7 +1005,7 @@ ...@@ -988,7 +1005,7 @@
<tabsequence>120</tabsequence> <tabsequence>120</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>1019</x> <x>1043</x>
<y>2</y> <y>2</y>
<height>18</height> <height>18</height>
<width>84</width> <width>84</width>
...@@ -1027,7 +1044,7 @@ ...@@ -1027,7 +1044,7 @@
<tabsequence>130</tabsequence> <tabsequence>130</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>1105</x> <x>1129</x>
<y>2</y> <y>2</y>
<height>18</height> <height>18</height>
<width>84</width> <width>84</width>
...@@ -1066,7 +1083,7 @@ ...@@ -1066,7 +1083,7 @@
<tabsequence>140</tabsequence> <tabsequence>140</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>1191</x> <x>1215</x>
<y>1</y> <y>1</y>
<height>15</height> <height>15</height>
<width>66</width> <width>66</width>
...@@ -1096,6 +1113,136 @@ ...@@ -1096,6 +1113,136 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Request Type</text>
<border>0</border>
<color>33554432</color>
<x>1283</x>
<y>1</y>
<height>17</height>
<width>124</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_type_t</name>
<visible>0</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>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>150</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1283</x>
<y>1</y>
<height>15</height>
<width>124</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_type</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Request Type</text>
<border>0</border>
<color>33554432</color>
<x>1409</x>
<y>1</y>
<height>17</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>request_type_t</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>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>160</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1409</x>
<y>1</y>
<height>15</height>
<width>58</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>request_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -156,12 +156,11 @@ ...@@ -156,12 +156,11 @@
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>req_type</name> <name>request_type</name>
<dbname>req_type</dbname> <dbname>request_type</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pallet_req_hdr&quot; ) COLUMN(NAME=&quot;pallet_req_hdr.tran_id&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.site_code&quot;) COLUMN(NAME=&quot;pallet_req_hdr.confirmed&quot;) COLUMN(NAME=&quot;pallet_req_hdr.conf_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;pallet_req_hdr.remarks&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_type&quot;) COLUMN(NAME=&quot;pallet_req_hdr.req_type&quot;) COMPUTE(NAME=&quot;CASE WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;N&apos; THEN &apos;NEAREXPIRE&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;E&apos; THEN &apos;EXPIRE&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;R&apos; THEN &apos;REJECTED&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;S&apos; THEN &apos;STOCK&apos; ELSE &apos; &apos; END AS REQ_TYPE&quot;)WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:FromDate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ToDate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;(~&quot;PALLET_REQ_HDR~&quot;.~&quot;REQ_TYPE~&quot;&quot; OP =&quot;&lt;&gt;&quot; EXP2 =&quot;&apos;C&apos; or PALLET_REQ_HDR.REQ_TYPE is null)&quot; ) ) ARG(NAME = &quot;FromDate&quot; TYPE = datetime) ARG(NAME = &quot;ToDate&quot; TYPE = datetime) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pallet_req_hdr&quot; ) COLUMN(NAME=&quot;pallet_req_hdr.tran_id&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.site_code&quot;) COLUMN(NAME=&quot;pallet_req_hdr.confirmed&quot;) COLUMN(NAME=&quot;pallet_req_hdr.conf_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;pallet_req_hdr.remarks&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_type&quot;) COLUMN(NAME=&quot;pallet_req_hdr.req_type&quot;) COMPUTE(NAME=&quot;CASE WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;N&apos; THEN &apos;NEAREXPIRE&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;E&apos; THEN &apos;EXPIRE&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;R&apos; THEN &apos;REJECTED&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;S&apos; THEN &apos;STOCK&apos; ELSE &apos; &apos; END AS REQUEST_TYPE&quot;)WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:FromDate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ToDate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;(~&quot;PALLET_REQ_HDR~&quot;.~&quot;REQ_TYPE~&quot;&quot; OP =&quot;&lt;&gt;&quot; EXP2 =&quot;&apos;C&apos; or PALLET_REQ_HDR.REQ_TYPE is null)&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_TYPE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:TransactionType&quot; ) ) ARG(NAME = &quot;FromDate&quot; TYPE = datetime) ARG(NAME = &quot;ToDate&quot; TYPE = datetime) ARG(NAME = &quot;TransactionType&quot; TYPE = string) </retrieve>
<update>PALLET_REQ_HDR</update> <update>PALLET_REQ_HDR</update>
<updatewhere>1</updatewhere> <updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -173,6 +172,10 @@ ...@@ -173,6 +172,10 @@
<name>ToDate</name> <name>ToDate</name>
<type>datetime</type> <type>datetime</type>
</argument> </argument>
<argument>
<name>TransactionType</name>
<type>string</type>
</argument>
</TableDefinition> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
...@@ -566,34 +569,6 @@ ...@@ -566,34 +569,6 @@
<color>1073741824</color> <color>1073741824</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Request Type</text>
<border>0</border>
<color>33554432</color>
<x>1283</x>
<y>1</y>
<height>17</height>
<width>124</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_type_t</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>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -1138,59 +1113,51 @@ ...@@ -1138,59 +1113,51 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Header</band>
<id>15</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>150</tabsequence> <text>Request Type</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1283</x> <x>1283</x>
<y>1</y> <y>1</y>
<height>15</height> <height>17</height>
<width>124</width> <width>124</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>req_type</name> <name>req_type_t</name>
<visible>1</visible> <visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-11</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>1073741824</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>16</id> <id>15</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>160</tabsequence> <tabsequence>150</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1410</x> <x>1283</x>
<y>1</y> <y>1</y>
<height>15</height> <height>15</height>
<width>58</width> <width>124</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>req_type_1</name> <name>req_type</name>
<visible>1</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
...@@ -1214,17 +1181,17 @@ ...@@ -1214,17 +1181,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Req Type</text> <text>Request Type</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1409</x> <x>1409</x>
<y>1</y> <y>1</y>
<height>17</height> <height>17</height>
<width>59</width> <width>58</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>req_type_1_t</name> <name>request_type_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -1239,6 +1206,43 @@ ...@@ -1239,6 +1206,43 @@
<color>1073741824</color> <color>1073741824</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>160</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1409</x>
<y>1</y>
<height>15</height>
<width>58</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>request_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -154,7 +154,13 @@ ...@@ -154,7 +154,13 @@
<name>req_type</name> <name>req_type</name>
<dbname>pallet_req_hdr.req_type</dbname> <dbname>pallet_req_hdr.req_type</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pallet_req_hdr&quot; ) COLUMN(NAME=&quot;pallet_req_hdr.tran_id&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.site_code&quot;) COLUMN(NAME=&quot;pallet_req_hdr.confirmed&quot;) COLUMN(NAME=&quot;pallet_req_hdr.conf_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;pallet_req_hdr.remarks&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_type&quot;) COLUMN(NAME=&quot;pallet_req_hdr.req_type&quot;)WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:FromDate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ToDate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;(~&quot;PALLET_REQ_HDR~&quot;.~&quot;REQ_TYPE~&quot;&quot; OP =&quot;&lt;&gt;&quot; EXP2 =&quot;&apos;C&apos; or PALLET_REQ_HDR.REQ_TYPE is null)&quot; ) ) ARG(NAME = &quot;FromDate&quot; TYPE = datetime) ARG(NAME = &quot;ToDate&quot; TYPE = datetime) </retrieve> <table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>request_type</name>
<dbname>request_type</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;pallet_req_hdr&quot; ) COLUMN(NAME=&quot;pallet_req_hdr.tran_id&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.site_code&quot;) COLUMN(NAME=&quot;pallet_req_hdr.confirmed&quot;) COLUMN(NAME=&quot;pallet_req_hdr.conf_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;pallet_req_hdr.remarks&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.add_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_user&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_date&quot;) COLUMN(NAME=&quot;pallet_req_hdr.chg_term&quot;) COLUMN(NAME=&quot;pallet_req_hdr.tran_type&quot;) COLUMN(NAME=&quot;pallet_req_hdr.req_type&quot;) COMPUTE(NAME=&quot;CASE WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;N&apos; THEN &apos;NEAREXPIRE&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;E&apos; THEN &apos;EXPIRE&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;R&apos; THEN &apos;REJECTED&apos; WHEN PALLET_REQ_HDR.REQ_TYPE = &apos;S&apos; THEN &apos;STOCK&apos; ELSE &apos; &apos; END AS REQUEST_TYPE&quot;)WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:FromDate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ToDate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;(~&quot;PALLET_REQ_HDR~&quot;.~&quot;REQ_TYPE~&quot;&quot; OP =&quot;&lt;&gt;&quot; EXP2 =&quot;&apos;C&apos; or PALLET_REQ_HDR.REQ_TYPE is null)&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;PALLET_REQ_HDR~&quot;.~&quot;TRAN_TYPE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:TransactionType&quot; ) ) ARG(NAME = &quot;FromDate&quot; TYPE = datetime) ARG(NAME = &quot;ToDate&quot; TYPE = datetime) ARG(NAME = &quot;TransactionType&quot; TYPE = string) </retrieve>
<update>PALLET_REQ_HDR</update> <update>PALLET_REQ_HDR</update>
<updatewhere>1</updatewhere> <updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -166,6 +172,10 @@ ...@@ -166,6 +172,10 @@
<name>ToDate</name> <name>ToDate</name>
<type>datetime</type> <type>datetime</type>
</argument> </argument>
<argument>
<name>TransactionType</name>
<type>string</type>
</argument>
</TableDefinition> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
...@@ -559,34 +569,6 @@ ...@@ -559,34 +569,6 @@
<color>1073741824</color> <color>1073741824</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Request Type</text>
<border>0</border>
<color>33554432</color>
<x>1283</x>
<y>1</y>
<height>17</height>
<width>124</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_type_t</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>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -1131,6 +1113,34 @@ ...@@ -1131,6 +1113,34 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Request Type</text>
<border>0</border>
<color>33554432</color>
<x>1283</x>
<y>1</y>
<height>17</height>
<width>124</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_type_t</name>
<visible>0</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>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>15</id> <id>15</id>
...@@ -1147,6 +1157,71 @@ ...@@ -1147,6 +1157,71 @@
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>req_type</name> <name>req_type</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Request Type</text>
<border>0</border>
<color>33554432</color>
<x>1409</x>
<y>1</y>
<height>17</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>request_type_t</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>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>160</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1409</x>
<y>1</y>
<height>15</height>
<width>58</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>request_type</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
......
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