Commit d51bcf22 authored by jshinde's avatar jshinde

updated xml for filter fields


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103522 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 613891da
...@@ -160,9 +160,9 @@ ...@@ -160,9 +160,9 @@
<name>request_type</name> <name>request_type</name>
<dbname>request_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;&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> <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;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;C&apos; THEN &apos;CONTROLLED SUBSTANCE&apos; ELSE &apos; &apos; END AS REQUEST_TYPE&quot;)WHERE( EXP1 =&quot;PALLET_REQ_HDR.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:FromDate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;PALLET_REQ_HDR.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ToDate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;PALLET_REQ_HDR.REQ_TYPE&quot; OP =&quot;not in&quot; EXP2 =&quot;(&apos;S&apos;,&apos;N&apos;) &quot; LOGIC =&quot;or&quot; ) WHERE( EXP1 =&quot;pallet_req_hdr.req_type&quot; OP =&quot;is&quot; EXP2 =&quot;null&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;pallet_req_hdr.tran_type&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>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>FromDate</name> <name>FromDate</name>
...@@ -569,6 +569,62 @@ ...@@ -569,6 +569,62 @@
<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>1343</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>
<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>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> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -1113,42 +1169,14 @@ ...@@ -1113,42 +1169,14 @@
<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>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>150</tabsequence> <tabsequence>160</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1283</x> <x>1343</x>
<y>1</y> <y>1</y>
<height>15</height> <height>15</height>
<width>124</width> <width>124</width>
...@@ -1178,42 +1206,14 @@ ...@@ -1178,42 +1206,14 @@
<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>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> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>16</id> <id>16</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>1409</x> <x>1283</x>
<y>1</y> <y>1</y>
<height>15</height> <height>15</height>
<width>58</width> <width>58</width>
......
...@@ -160,9 +160,9 @@ ...@@ -160,9 +160,9 @@
<name>request_type</name> <name>request_type</name>
<dbname>request_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 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> <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;S&apos; THEN &apos;STOCK&apos; ELSE &apos; &apos; END AS REQUEST_TYPE&quot;)WHERE( EXP1 =&quot;PALLET_REQ_HDR.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:FromDate&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;PALLET_REQ_HDR.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:ToDate&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;PALLET_REQ_HDR.REQ_TYPE&quot; OP =&quot;in&quot; EXP2 =&quot;(&apos;S&apos;,&apos;N&apos;)&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;PALLET_REQ_HDR.TRAN_TYPE&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>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>FromDate</name> <name>FromDate</name>
...@@ -569,6 +569,62 @@ ...@@ -569,6 +569,62 @@
<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>1343</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>
<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>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> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -1113,42 +1169,14 @@ ...@@ -1113,42 +1169,14 @@
<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>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>150</tabsequence> <tabsequence>160</tabsequence>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>1283</x> <x>1343</x>
<y>1</y> <y>1</y>
<height>15</height> <height>15</height>
<width>124</width> <width>124</width>
...@@ -1178,42 +1206,14 @@ ...@@ -1178,42 +1206,14 @@
<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>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> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>16</id> <id>16</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>1409</x> <x>1283</x>
<y>1</y> <y>1</y>
<height>15</height> <height>15</height>
<width>58</width> <width>58</width>
......
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