Commit 5a63ff96 authored by caluka's avatar caluka

city label changed to Station


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102211 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c3fb38f7
......@@ -191,7 +191,7 @@
<name>position_descr</name>
<dbname>position_descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;station&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.stmt_date&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;customer.stan_code&quot;) COLUMN(NAME=&quot;cust_stock.order_type&quot;) COLUMN(NAME=&quot;station.descr&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;cust_stock.prd_code&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.conf_date&quot;) COLUMN(NAME=&quot;cust_stock.pos_code&quot;) COLUMN(NAME=&quot;cust_stock.emp_code&quot;) COLUMN(NAME=&quot;cust_stock.status&quot;) COMPUTE(NAME=&quot;(CASE WHEN cust_stock.status is null THEN &apos;Open&apos; WHEN cust_stock.status=&apos;O&apos; THEN &apos;Open&apos; WHEN cust_stock.status=&apos;S&apos; THEN &apos;Submit&apos; ELSE &apos;Open&apos; end) as status_dis&quot;) COMPUTE(NAME=&quot;FN_GET_POSCODE_DESCR(cust_stock.pos_code) as position_descr&quot;) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; ) JOIN (LEFT=&quot;customer.stan_code&quot; OP =&quot;=&quot;RIGHT=&quot;station.stan_code&quot; )WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:from_date&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ORDER(NAME=&quot;cust_stock.status&quot; ASC=yes ) ARG(NAME = &quot;from_date&quot; TYPE = date) ARG(NAME = &quot;to_date&quot; TYPE = date) </retrieve>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;station&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.stmt_date&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;customer.stan_code&quot;) COLUMN(NAME=&quot;cust_stock.order_type&quot;) COLUMN(NAME=&quot;station.descr&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;cust_stock.prd_code&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.conf_date&quot;) COLUMN(NAME=&quot;cust_stock.pos_code&quot;) COLUMN(NAME=&quot;cust_stock.emp_code&quot;) COLUMN(NAME=&quot;cust_stock.status&quot;) COMPUTE(NAME=&quot;(CASE WHEN cust_stock.status is null THEN &apos;Open&apos; WHEN cust_stock.status=&apos;O&apos; THEN &apos;Open&apos; WHEN cust_stock.status=&apos;S&apos; THEN &apos;Submit&apos; ELSE &apos;Open&apos; end) as status_dis&quot;) COMPUTE(NAME=&quot;FN_GET_POSCODE_DESCR(cust_stock.pos_code) as position_descr&quot;) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; ) JOIN (LEFT=&quot;customer.stan_code&quot; OP =&quot;=&quot;RIGHT=&quot;station.stan_code&quot; )WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:from_date&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;from_date&quot; TYPE = date) ARG(NAME = &quot;to_date&quot; TYPE = date) </retrieve>
<update>cust_stock</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -263,7 +263,7 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Customer/Stockist</text>
<text>Customer/Stockiest</text>
<border>0</border>
<color>0</color>
<x>98</x>
......@@ -319,7 +319,7 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>City</text>
<text>Station</text>
<border>0</border>
<color>0</color>
<x>437</x>
......@@ -1572,7 +1572,7 @@
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<UseTemplate></UseTemplate>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
......@@ -1585,7 +1585,7 @@
</Template>
</Export.XML>
<Import.XML>
<UseTemplate></UseTemplate>
</Import.XML>
<Export.PDF>
<method>0</method>
......
......@@ -191,7 +191,7 @@
<name>position_descr</name>
<dbname>position_descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;station&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.stmt_date&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;customer.stan_code&quot;) COLUMN(NAME=&quot;cust_stock.order_type&quot;) COLUMN(NAME=&quot;station.descr&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;cust_stock.prd_code&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.conf_date&quot;) COLUMN(NAME=&quot;cust_stock.pos_code&quot;) COLUMN(NAME=&quot;cust_stock.emp_code&quot;) COLUMN(NAME=&quot;cust_stock.status&quot;) COMPUTE(NAME=&quot;(CASE WHEN cust_stock.status is null THEN &apos;Open&apos; WHEN cust_stock.status=&apos;O&apos; THEN &apos;Open&apos; WHEN cust_stock.status=&apos;S&apos; THEN &apos;Submit&apos; ELSE &apos;Open&apos; end) as status_dis&quot;) COMPUTE(NAME=&quot;FN_GET_POSCODE_DESCR(cust_stock.pos_code) as position_descr&quot;) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; ) JOIN (LEFT=&quot;customer.stan_code&quot; OP =&quot;=&quot;RIGHT=&quot;station.stan_code&quot; )WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:from_date&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ORDER(NAME=&quot;cust_stock.status&quot; ASC=yes ) ARG(NAME = &quot;from_date&quot; TYPE = date) ARG(NAME = &quot;to_date&quot; TYPE = date) </retrieve>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;station&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.stmt_date&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;customer.stan_code&quot;) COLUMN(NAME=&quot;cust_stock.order_type&quot;) COLUMN(NAME=&quot;station.descr&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;cust_stock.prd_code&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.conf_date&quot;) COLUMN(NAME=&quot;cust_stock.pos_code&quot;) COLUMN(NAME=&quot;cust_stock.emp_code&quot;) COLUMN(NAME=&quot;cust_stock.status&quot;) COMPUTE(NAME=&quot;(CASE WHEN cust_stock.status is null THEN &apos;Open&apos; WHEN cust_stock.status=&apos;O&apos; THEN &apos;Open&apos; WHEN cust_stock.status=&apos;S&apos; THEN &apos;Submit&apos; ELSE &apos;Open&apos; end) as status_dis&quot;) COMPUTE(NAME=&quot;FN_GET_POSCODE_DESCR(cust_stock.pos_code) as position_descr&quot;) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; ) JOIN (LEFT=&quot;customer.stan_code&quot; OP =&quot;=&quot;RIGHT=&quot;station.stan_code&quot; )WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:from_date&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;CUST_STOCK.TRAN_DATE&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;from_date&quot; TYPE = date) ARG(NAME = &quot;to_date&quot; TYPE = date) </retrieve>
<update>cust_stock</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -263,7 +263,7 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Customer/Stockist</text>
<text>Customer/Stockiest</text>
<border>0</border>
<color>0</color>
<x>98</x>
......@@ -319,7 +319,7 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>City</text>
<text>Station</text>
<border>0</border>
<color>0</color>
<x>437</x>
......@@ -1572,7 +1572,7 @@
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<UseTemplate></UseTemplate>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
......@@ -1585,7 +1585,7 @@
</Template>
</Export.XML>
<Import.XML>
<UseTemplate></UseTemplate>
</Import.XML>
<Export.PDF>
<method>0</method>
......
......@@ -26,49 +26,49 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="cust_stock.status" )
column=(type=char(6) updatewhereclause=yes name=status_dis dbname="status_dis" )
column=(type=char(4000) updatewhereclause=yes name=position_descr dbname="position_descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"cust_stock~" ) TABLE(NAME=~"customer~" ) TABLE(NAME=~"station~" ) COLUMN(NAME=~"cust_stock.tran_id~") COLUMN(NAME=~"cust_stock.tran_date~") COLUMN(NAME=~"cust_stock.cust_code~") COLUMN(NAME=~"cust_stock.site_code~") COLUMN(NAME=~"cust_stock.tran_id__last~") COLUMN(NAME=~"cust_stock.item_ser~") COLUMN(NAME=~"cust_stock.stmt_date~") COLUMN(NAME=~"customer.cust_name~") COLUMN(NAME=~"customer.stan_code~") COLUMN(NAME=~"cust_stock.order_type~") COLUMN(NAME=~"station.descr~") COLUMN(NAME=~"cust_stock.from_date~") COLUMN(NAME=~"cust_stock.to_date~") COLUMN(NAME=~"cust_stock.prd_code~") COLUMN(NAME=~"cust_stock.confirmed~") COLUMN(NAME=~"cust_stock.conf_date~") COLUMN(NAME=~"cust_stock.pos_code~") COLUMN(NAME=~"cust_stock.emp_code~") COLUMN(NAME=~"cust_stock.status~") COMPUTE(NAME=~"(CASE WHEN cust_stock.status is null THEN 'Open' WHEN cust_stock.status='O' THEN 'Open' WHEN cust_stock.status='S' THEN 'Submit' ELSE 'Open' end) as status_dis~") COMPUTE(NAME=~"FN_GET_POSCODE_DESCR(cust_stock.pos_code) as position_descr~") JOIN (LEFT=~"cust_stock.cust_code~" OP =~"=~"RIGHT=~"customer.cust_code~" ) JOIN (LEFT=~"customer.stan_code~" OP =~"=~"RIGHT=~"station.stan_code~" )WHERE( EXP1 =~"CUST_STOCK.TRAN_DATE~" OP =~">=~" EXP2 =~":from_date~" LOGIC =~"And~" ) WHERE( EXP1 =~"CUST_STOCK.TRAN_DATE~" OP =~"<=~" EXP2 =~":to_date~" ) ) ORDER(NAME=~"cust_stock.status~" ASC=yes ) ARG(NAME = ~"from_date~" TYPE = date) ARG(NAME = ~"to_date~" TYPE = date) " update="cust_stock" updatewhere=0 updatekeyinplace=no arguments=(("from_date", date),("to_date", date)) )
text(band=header alignment="0" text="Cust Stock Status" border="0" color="33554432" x="1952" y="1" height="17" width="146" html.valueishtml="0" name=status_t visible="0" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"cust_stock~" ) TABLE(NAME=~"customer~" ) TABLE(NAME=~"station~" ) COLUMN(NAME=~"cust_stock.tran_id~") COLUMN(NAME=~"cust_stock.tran_date~") COLUMN(NAME=~"cust_stock.cust_code~") COLUMN(NAME=~"cust_stock.site_code~") COLUMN(NAME=~"cust_stock.tran_id__last~") COLUMN(NAME=~"cust_stock.item_ser~") COLUMN(NAME=~"cust_stock.stmt_date~") COLUMN(NAME=~"customer.cust_name~") COLUMN(NAME=~"customer.stan_code~") COLUMN(NAME=~"cust_stock.order_type~") COLUMN(NAME=~"station.descr~") COLUMN(NAME=~"cust_stock.from_date~") COLUMN(NAME=~"cust_stock.to_date~") COLUMN(NAME=~"cust_stock.prd_code~") COLUMN(NAME=~"cust_stock.confirmed~") COLUMN(NAME=~"cust_stock.conf_date~") COLUMN(NAME=~"cust_stock.pos_code~") COLUMN(NAME=~"cust_stock.emp_code~") COLUMN(NAME=~"cust_stock.status~") COMPUTE(NAME=~"(CASE WHEN cust_stock.status is null THEN 'Open' WHEN cust_stock.status='O' THEN 'Open' WHEN cust_stock.status='S' THEN 'Submit' ELSE 'Open' end) as status_dis~") COMPUTE(NAME=~"FN_GET_POSCODE_DESCR(cust_stock.pos_code) as position_descr~") JOIN (LEFT=~"cust_stock.cust_code~" OP =~"=~"RIGHT=~"customer.cust_code~" ) JOIN (LEFT=~"customer.stan_code~" OP =~"=~"RIGHT=~"station.stan_code~" )WHERE( EXP1 =~"CUST_STOCK.TRAN_DATE~" OP =~">=~" EXP2 =~":from_date~" LOGIC =~"And~" ) WHERE( EXP1 =~"CUST_STOCK.TRAN_DATE~" OP =~"<=~" EXP2 =~":to_date~" ) ) ARG(NAME = ~"from_date~" TYPE = date) ARG(NAME = ~"to_date~" TYPE = date) " update="cust_stock" updatewhere=0 updatekeyinplace=no arguments=(("from_date", date),("to_date", date)) )
text(band=header alignment="0" text="Cust Stock Status" border="0" color="33554432" x="2029" y="1" height="17" width="146" html.valueishtml="0" name=status_t visible="0" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Status" border="0" color="0" x="2" y="4" height="16" width="94" html.valueishtml="0" name=status_dis_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="Customer/Stockist" border="0" color="0" x="98" y="0" height="16" width="139" html.valueishtml="0" name=cust_code_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="2" background.color="67108864" )
text(band=header alignment="2" text="Customer/Stockiest" border="0" color="0" x="98" y="0" height="16" width="139" html.valueishtml="0" name=cust_code_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="2" background.color="67108864" )
text(band=header alignment="0" text="Cust Name" border="0" color="0" x="239" y="1" height="16" width="196" html.valueishtml="0" name=cust_name_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="2" background.color="67108864" )
text(band=header alignment="0" text="City" border="0" color="0" x="437" y="1" height="16" width="113" 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="2" background.color="67108864" )
text(band=header alignment="0" text="Station" border="0" color="0" x="437" y="1" height="16" width="113" 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="2" background.color="67108864" )
text(band=header alignment="2" text="Division" border="0" color="0" x="552" y="2" height="16" width="66" html.valueishtml="0" name=item_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="2" background.color="67108864" )
text(band=header alignment="0" text="From Date" border="0" color="33554432" x="620" y="1" height="16" width="105" html.valueishtml="0" name=from_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="To Date" border="0" color="33554432" x="727" y="1" height="16" width="102" html.valueishtml="0" name=to_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Period Code" border="0" color="33554432" x="831" y="1" height="16" width="91" html.valueishtml="0" name=prd_code_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="2" background.color="67108864" )
text(band=header alignment="0" text="Order Type" border="0" color="33554432" x="924" y="1" height="16" width="86" html.valueishtml="0" name=cust_stock_order_type_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="2" background.color="67108864" )
text(band=header alignment="2" text="Statement Date" border="0" color="0" x="1012" y="2" height="16" width="121" html.valueishtml="0" name=stmt_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Transaction Date" border="0" color="0" x="1135" y="2" height="16" width="104" html.valueishtml="0" name=tran_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Site Code" border="0" color="0" x="1241" y="2" height="16" width="70" html.valueishtml="0" name=site_code_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="2" background.color="67108864" )
text(band=header alignment="0" text="Emp Code" border="0" color="33554432" x="1607" y="1" height="16" width="88" html.valueishtml="0" name=emp_code_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text=" Position Code" border="0" color="33554432" x="1313" y="1" height="16" width="77" html.valueishtml="0" name=pos_code_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Position Descr" border="0" color="33554432" x="1392" y="1" height="17" width="213" html.valueishtml="0" name=position_descr_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="2" text="Transaction Id" border="0" color="0" x="1697" y="2" height="16" width="128" html.valueishtml="0" name=tran_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="2" background.color="67108864" )
text(band=header alignment="2" text="Tran Id Last" border="0" color="0" x="1827" y="2" height="16" width="123" html.valueishtml="0" name=tran_id__last_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="2" background.color="67108864" )
text(band=header alignment="0" text="Confirmed" border="0" color="0" x="2100" y="1" height="16" width="88" html.valueishtml="0" name=confirmed_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="553648127" )
text(band=header alignment="0" text="Conf Date" border="0" color="0" x="2190" y="1" height="16" width="133" html.valueishtml="0" name=conf_date_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="553648127" )
text(band=header alignment="0" text="Station Code" border="0" color="33554432" x="2325" y="1" height="16" width="118" html.valueishtml="0" name=stan_code_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="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=160 border="0" color="0" x="1697" y="2" height="16" width="128" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="0" tabsequence=110 border="0" color="0" x="1135" y="2" height="16" width="104" format="dd/mm/yy" html.valueishtml="0" name=tran_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=header alignment="0" text="Period Code" border="0" color="33554432" x="831" y="1" height="16" width="99" html.valueishtml="0" name=prd_code_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="2" background.color="67108864" )
text(band=header alignment="0" text="Order Type" border="0" color="33554432" x="932" y="1" height="16" width="86" html.valueishtml="0" name=cust_stock_order_type_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="2" background.color="67108864" )
text(band=header alignment="2" text="Statement Date" border="0" color="0" x="1020" y="2" height="16" width="121" html.valueishtml="0" name=stmt_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Transaction Date" border="0" color="0" x="1143" y="2" height="16" width="104" html.valueishtml="0" name=tran_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Site Code" border="0" color="0" x="1249" y="2" height="16" width="70" html.valueishtml="0" name=site_code_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="2" background.color="67108864" )
text(band=header alignment="0" text="Emp Code" border="0" color="33554432" x="1684" y="1" height="16" width="88" html.valueishtml="0" name=emp_code_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text=" Position Code" border="0" color="33554432" x="1321" y="1" height="16" width="146" html.valueishtml="0" name=pos_code_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Position Descr" border="0" color="33554432" x="1469" y="1" height="17" width="213" html.valueishtml="0" name=position_descr_t visible="1" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="2" text="Transaction Id" border="0" color="0" x="1774" y="2" height="16" width="128" html.valueishtml="0" name=tran_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="2" background.color="67108864" )
text(band=header alignment="2" text="Tran Id Last" border="0" color="0" x="1904" y="2" height="16" width="123" html.valueishtml="0" name=tran_id__last_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="2" background.color="67108864" )
text(band=header alignment="0" text="Confirmed" border="0" color="0" x="2177" y="1" height="16" width="88" html.valueishtml="0" name=confirmed_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="553648127" )
text(band=header alignment="0" text="Conf Date" border="0" color="0" x="2267" y="1" height="16" width="133" html.valueishtml="0" name=conf_date_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="553648127" )
text(band=header alignment="0" text="Station Code" border="0" color="33554432" x="2402" y="1" height="16" width="118" html.valueishtml="0" name=stan_code_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="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=160 border="0" color="0" x="1774" y="2" height="16" width="128" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="0" tabsequence=110 border="0" color="0" x="1143" y="2" height="16" width="104" format="dd/mm/yy" html.valueishtml="0" name=tran_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=20 border="0" color="0" x="98" y="2" height="16" width="139" format="[general]" html.valueishtml="0" name=cust_code 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=120 border="0" color="0" x="1241" y="2" height="16" width="70" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=170 border="0" color="0" x="1827" y="2" height="16" width="123" format="[general]" html.valueishtml="0" name=tran_id__last 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=120 border="0" color="0" x="1249" y="2" height="16" width="70" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=170 border="0" color="0" x="1904" y="2" height="16" width="123" format="[general]" html.valueishtml="0" name=tran_id__last 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=50 border="0" color="0" x="552" y="2" height="16" width="66" format="[general]" html.valueishtml="0" name=item_ser visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=100 border="0" color="0" x="1012" y="2" height="16" width="121" format="dd/mm/yy" html.valueishtml="0" name=stmt_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=100 border="0" color="0" x="1020" y="2" height="16" width="121" format="dd/mm/yy" html.valueishtml="0" name=stmt_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=30 border="0" color="0" x="239" y="0" height="16" width="196" format="[general]" html.valueishtml="0" name=cust_name 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=210 border="0" color="0" x="2325" y="1" height="16" width="118" format="[general]" html.valueishtml="0" name=stan_code visible="0" 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=90 border="0" color="0" x="924" y="1" height="16" width="86" format="[general]" html.valueishtml="0" name=order_type 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=210 border="0" color="0" x="2402" y="1" height="16" width="118" format="[general]" html.valueishtml="0" name=stan_code visible="0" 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=90 border="0" color="0" x="932" y="1" height="16" width="86" format="[general]" html.valueishtml="0" name=order_type 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=40 border="0" color="0" x="437" y="1" height="16" width="113" format="[general]" html.valueishtml="0" name=descr 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=12 alignment="0" tabsequence=60 border="0" color="0" x="620" y="1" height="16" width="105" format="dd/mm/yy" html.valueishtml="0" name=from_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="0" tabsequence=70 border="0" color="0" x="727" y="1" height="16" width="102" format="dd/mm/yy" html.valueishtml="0" name=to_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="0" tabsequence=80 border="0" color="0" x="831" y="1" height="16" width="91" format="[general]" html.valueishtml="0" name=prd_code 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=15 alignment="0" tabsequence=190 border="0" color="0" x="2100" y="1" height="16" width="88" format="[general]" html.valueishtml="0" name=confirmed visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=16 alignment="0" tabsequence=200 border="0" color="0" x="2190" y="0" height="16" width="133" format="dd/mm/yy" html.valueishtml="0" name=conf_date visible="0" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=17 alignment="0" tabsequence=130 border="0" color="0" x="1313" y="1" height="16" width="77" format="[general]" html.valueishtml="0" name=pos_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=18 alignment="0" tabsequence=150 border="0" color="0" x="1607" y="1" height="16" width="88" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=19 alignment="0" tabsequence=180 border="0" color="0" x="1952" y="1" height="16" width="146" format="[general]" html.valueishtml="0" name=status visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="0" tabsequence=80 border="0" color="0" x="831" y="1" height="16" width="99" format="[general]" html.valueishtml="0" name=prd_code 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=15 alignment="0" tabsequence=190 border="0" color="0" x="2177" y="1" height="16" width="88" format="[general]" html.valueishtml="0" name=confirmed visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=16 alignment="0" tabsequence=200 border="0" color="0" x="2267" y="0" height="16" width="133" format="dd/mm/yy" html.valueishtml="0" name=conf_date visible="0" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=17 alignment="0" tabsequence=130 border="0" color="0" x="1321" y="1" height="16" width="146" format="[general]" html.valueishtml="0" name=pos_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=18 alignment="0" tabsequence=150 border="0" color="0" x="1684" y="1" height="16" width="88" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=19 alignment="0" tabsequence=180 border="0" color="0" x="2029" y="1" height="16" width="146" format="[general]" html.valueishtml="0" name=status visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=20 alignment="0" tabsequence=10 border="0" color="0" x="2" y="1" height="16" width="94" format="[general]" html.valueishtml="0" name=status_dis visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=21 alignment="0" tabsequence=140 border="0" color="0" x="1392" y="1" height="16" width="213" format="[general]" html.valueishtml="0" name=position_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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=21 alignment="0" tabsequence=140 border="0" color="0" x="1469" y="1" height="16" width="213" format="[general]" html.valueishtml="0" name=position_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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(usetemplate="" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="d_cust_stoc_gwt_view" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><tran_id>order_type</tran_id><tran_date>tran_date</tran_date><cust_code>cust_code</cust_code><site_code>site_code</site_code><tran_id__last>cust_name</tran_id__last><item_ser>item_ser</item_ser><stmt_date>stmt_date</stmt_date></untitled_row></untitled>"))
......
......@@ -26,12 +26,12 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="cust_stock.status" )
column=(type=char(6) updatewhereclause=yes name=status_dis dbname="status_dis" )
column=(type=char(4000) updatewhereclause=yes name=position_descr dbname="position_descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"cust_stock~" ) TABLE(NAME=~"customer~" ) TABLE(NAME=~"station~" ) COLUMN(NAME=~"cust_stock.tran_id~") COLUMN(NAME=~"cust_stock.tran_date~") COLUMN(NAME=~"cust_stock.cust_code~") COLUMN(NAME=~"cust_stock.site_code~") COLUMN(NAME=~"cust_stock.tran_id__last~") COLUMN(NAME=~"cust_stock.item_ser~") COLUMN(NAME=~"cust_stock.stmt_date~") COLUMN(NAME=~"customer.cust_name~") COLUMN(NAME=~"customer.stan_code~") COLUMN(NAME=~"cust_stock.order_type~") COLUMN(NAME=~"station.descr~") COLUMN(NAME=~"cust_stock.from_date~") COLUMN(NAME=~"cust_stock.to_date~") COLUMN(NAME=~"cust_stock.prd_code~") COLUMN(NAME=~"cust_stock.confirmed~") COLUMN(NAME=~"cust_stock.conf_date~") COLUMN(NAME=~"cust_stock.pos_code~") COLUMN(NAME=~"cust_stock.emp_code~") COLUMN(NAME=~"cust_stock.status~") COMPUTE(NAME=~"(CASE WHEN cust_stock.status is null THEN 'Open' WHEN cust_stock.status='O' THEN 'Open' WHEN cust_stock.status='S' THEN 'Submit' ELSE 'Open' end) as status_dis~") COMPUTE(NAME=~"FN_GET_POSCODE_DESCR(cust_stock.pos_code) as position_descr~") JOIN (LEFT=~"cust_stock.cust_code~" OP =~"=~"RIGHT=~"customer.cust_code~" ) JOIN (LEFT=~"customer.stan_code~" OP =~"=~"RIGHT=~"station.stan_code~" )WHERE( EXP1 =~"CUST_STOCK.TRAN_DATE~" OP =~">=~" EXP2 =~":from_date~" LOGIC =~"And~" ) WHERE( EXP1 =~"CUST_STOCK.TRAN_DATE~" OP =~"<=~" EXP2 =~":to_date~" ) ) ORDER(NAME=~"cust_stock.status~" ASC=yes ) ARG(NAME = ~"from_date~" TYPE = date) ARG(NAME = ~"to_date~" TYPE = date) " update="cust_stock" updatewhere=0 updatekeyinplace=no arguments=(("from_date", date),("to_date", date)) )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"cust_stock~" ) TABLE(NAME=~"customer~" ) TABLE(NAME=~"station~" ) COLUMN(NAME=~"cust_stock.tran_id~") COLUMN(NAME=~"cust_stock.tran_date~") COLUMN(NAME=~"cust_stock.cust_code~") COLUMN(NAME=~"cust_stock.site_code~") COLUMN(NAME=~"cust_stock.tran_id__last~") COLUMN(NAME=~"cust_stock.item_ser~") COLUMN(NAME=~"cust_stock.stmt_date~") COLUMN(NAME=~"customer.cust_name~") COLUMN(NAME=~"customer.stan_code~") COLUMN(NAME=~"cust_stock.order_type~") COLUMN(NAME=~"station.descr~") COLUMN(NAME=~"cust_stock.from_date~") COLUMN(NAME=~"cust_stock.to_date~") COLUMN(NAME=~"cust_stock.prd_code~") COLUMN(NAME=~"cust_stock.confirmed~") COLUMN(NAME=~"cust_stock.conf_date~") COLUMN(NAME=~"cust_stock.pos_code~") COLUMN(NAME=~"cust_stock.emp_code~") COLUMN(NAME=~"cust_stock.status~") COMPUTE(NAME=~"(CASE WHEN cust_stock.status is null THEN 'Open' WHEN cust_stock.status='O' THEN 'Open' WHEN cust_stock.status='S' THEN 'Submit' ELSE 'Open' end) as status_dis~") COMPUTE(NAME=~"FN_GET_POSCODE_DESCR(cust_stock.pos_code) as position_descr~") JOIN (LEFT=~"cust_stock.cust_code~" OP =~"=~"RIGHT=~"customer.cust_code~" ) JOIN (LEFT=~"customer.stan_code~" OP =~"=~"RIGHT=~"station.stan_code~" )WHERE( EXP1 =~"CUST_STOCK.TRAN_DATE~" OP =~">=~" EXP2 =~":from_date~" LOGIC =~"And~" ) WHERE( EXP1 =~"CUST_STOCK.TRAN_DATE~" OP =~"<=~" EXP2 =~":to_date~" ) ) ARG(NAME = ~"from_date~" TYPE = date) ARG(NAME = ~"to_date~" TYPE = date) " update="cust_stock" updatewhere=0 updatekeyinplace=no arguments=(("from_date", date),("to_date", date)) )
text(band=header alignment="0" text="Cust Stock Status" border="0" color="33554432" x="2029" y="1" height="17" width="146" html.valueishtml="0" name=status_t visible="0" font.face="Arial" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Status" border="0" color="0" x="2" y="4" height="16" width="94" html.valueishtml="0" name=status_dis_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="Customer/Stockiest" border="0" color="0" x="98" y="0" height="16" width="139" html.valueishtml="0" name=cust_code_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="2" background.color="67108864" )
text(band=header alignment="0" text="Cust Name" border="0" color="0" x="239" y="1" height="16" width="196" html.valueishtml="0" name=cust_name_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="2" background.color="67108864" )
text(band=header alignment="0" text="City" border="0" color="0" x="437" y="1" height="16" width="113" 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="2" background.color="67108864" )
text(band=header alignment="0" text="Station" border="0" color="0" x="437" y="1" height="16" width="113" 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="2" background.color="67108864" )
text(band=header alignment="2" text="Division" border="0" color="0" x="552" y="2" height="16" width="66" html.valueishtml="0" name=item_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="2" background.color="67108864" )
text(band=header alignment="0" text="From Date" border="0" color="33554432" x="620" y="1" height="16" width="105" html.valueishtml="0" name=from_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="To Date" border="0" color="33554432" x="727" y="1" height="16" width="102" html.valueishtml="0" name=to_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
......
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