Commit 5c8798a0 authored by Mohammed Dohadwala's avatar Mohammed Dohadwala

Made aesthetic changes and added description for cust_code.

parent 26e3e5ce
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</print> </print>
</BaseDefinition> </BaseDefinition>
<Summary> <Summary>
<height>0</height> <height>2</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>432</height> <height>489</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
...@@ -117,7 +117,13 @@ ...@@ -117,7 +117,13 @@
<name>cust_code</name> <name>cust_code</name>
<dbname>cust_code</dbname> <dbname>cust_code</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;quot_stockist&quot; ) COLUMN(NAME=&quot;quot_stockist.cust_code__dist&quot;) COLUMN(NAME=&quot;quot_stockist.cust_code__stk&quot;) COLUMN(NAME=&quot;quot_stockist.quot_no&quot;) COLUMN(NAME=&quot;quot_stockist.cust_code&quot;) COLUMN(NAME=&quot;quot_stockist.line_no&quot;) COMPUTE(NAME=&quot;(select cust_name from customer where cust_code = quot_stockist.CUST_CODE__DIST) as distributor_name&quot;) COMPUTE(NAME=&quot;(select cust_name from customer where cust_code = quot_stockist.CUST_CODE__STK) as stockist_name&quot;) COMPUTE(NAME=&quot;(select city from customer where cust_code = quot_stockist.CUST_CODE) as city_name&quot;) COMPUTE(NAME=&quot;(select SITE_CODE__PBUS from customer where cust_code = quot_stockist.CUST_CODE__DIST) as site_code&quot;) COMPUTE(NAME=&quot;(select cust_name from customer where cust_code = quot_stockist.CUST_CODE) as hospital_name&quot;) COMPUTE(NAME=&quot;(select cust_code from customer where cust_code = quot_stockist.CUST_CODE) as cust_code&quot;)) </retrieve> <table_column>
<type size="50">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>cust_code_desc</name>
<dbname>cust_code_desc</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;quot_stockist&quot; ) COLUMN(NAME=&quot;quot_stockist.cust_code__dist&quot;) COLUMN(NAME=&quot;quot_stockist.cust_code__stk&quot;) COLUMN(NAME=&quot;quot_stockist.quot_no&quot;) COLUMN(NAME=&quot;quot_stockist.cust_code&quot;) COLUMN(NAME=&quot;quot_stockist.line_no&quot;) COMPUTE(NAME=&quot;(select cust_name from customer where cust_code = quot_stockist.CUST_CODE__DIST) as distributor_name&quot;) COMPUTE(NAME=&quot;(select cust_name from customer where cust_code = quot_stockist.CUST_CODE__STK) as stockist_name&quot;) COMPUTE(NAME=&quot;(select city from customer where cust_code = quot_stockist.CUST_CODE) as city_name&quot;) COMPUTE(NAME=&quot;(select SITE_CODE__PBUS from customer where cust_code = quot_stockist.CUST_CODE__DIST) as site_code&quot;) COMPUTE(NAME=&quot;(select cust_name from customer where cust_code = quot_stockist.CUST_CODE) as hospital_name&quot;) COMPUTE(NAME=&quot;(select cust_code from customer where cust_code = quot_stockist.CUST_CODE) as cust_code&quot;) COMPUTE(NAME=&quot;(select cust_name from customer where cust_code = quot_stockist.CUST_CODE) as cust_code_desc&quot;)) </retrieve>
<update>quot_stockist</update> <update>quot_stockist</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -127,10 +133,10 @@ ...@@ -127,10 +133,10 @@
<text>General </text> <text>General </text>
<border>2</border> <border>2</border>
<color>0</color> <color>0</color>
<x>216</x> <x>211</x>
<y>34</y> <y>41</y>
<height>378</height> <height>337</height>
<width>412</width> <width>346</width>
<name>gb_1</name> <name>gb_1</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
...@@ -149,11 +155,11 @@ ...@@ -149,11 +155,11 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Quotation Number:</text> <text>Quotation No.:</text>
<border>2</border> <border>2</border>
<color>0</color> <color>0</color>
<x>278</x> <x>259</x>
<y>55</y> <y>60</y>
<height>16</height> <height>16</height>
<width>113</width> <width>113</width>
<html> <html>
...@@ -181,8 +187,8 @@ ...@@ -181,8 +187,8 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>416</x> <x>395</x>
<y>55</y> <y>60</y>
<height>19</height> <height>19</height>
<width>66</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
...@@ -218,8 +224,8 @@ ...@@ -218,8 +224,8 @@
<text>Line No:</text> <text>Line No:</text>
<border>2</border> <border>2</border>
<color>0</color> <color>0</color>
<x>277</x> <x>259</x>
<y>89</y> <y>92</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
<html> <html>
...@@ -247,8 +253,8 @@ ...@@ -247,8 +253,8 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>414</x> <x>398</x>
<y>91</y> <y>92</y>
<height>19</height> <height>19</height>
<width>72</width> <width>72</width>
<format>[general]</format> <format>[general]</format>
...@@ -281,11 +287,11 @@ ...@@ -281,11 +287,11 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Customer Code:</text> <text>Customer:</text>
<border>2</border> <border>2</border>
<color>0</color> <color>0</color>
<x>277</x> <x>261</x>
<y>127</y> <y>130</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
<html> <html>
...@@ -306,57 +312,27 @@ ...@@ -306,57 +312,27 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Customer Code Stockist:</text>
<border>2</border>
<color>0</color>
<x>267</x>
<y>208</y>
<height>16</height>
<width>146</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__stk_t</name>
<visible>1</visible>
<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>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>11</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>434</x> <x>402</x>
<y>206</y> <y>130</y>
<height>19</height> <height>16</height>
<width>66</width> <width>60</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_code__stk</name> <name>cust_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -372,20 +348,21 @@ ...@@ -372,20 +348,21 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>12</id>
<text>Customer Code Distributor:</text> <alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>0</color> <color>33554432</color>
<x>268</x> <x>366</x>
<y>276</y> <y>163</y>
<height>16</height> <height>16</height>
<width>161</width> <width>108</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_code__dist_t</name> <name>cust_code_desc</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Arial</face>
...@@ -399,30 +376,28 @@ ...@@ -399,30 +376,28 @@
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>7</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>442</x> <x>269</x>
<y>275</y> <y>274</y>
<height>19</height> <height>17</height>
<width>66</width> <width>104</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_code__dist</name> <name>stockist_name</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -440,20 +415,20 @@ ...@@ -440,20 +415,20 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>8</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>397</x> <x>265</x>
<y>313</y> <y>202</y>
<height>21</height> <height>17</height>
<width>115</width> <width>88</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>distributor_name</name> <name>city_name</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -476,20 +451,20 @@ ...@@ -476,20 +451,20 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>10</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>270</x> <x>399</x>
<y>243</y> <y>202</y>
<height>17</height> <height>19</height>
<width>233</width> <width>92</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>stockist_name</name> <name>hospital_name</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -510,27 +485,57 @@ ...@@ -510,27 +485,57 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Stockist:</text>
<border>2</border>
<color>0</color>
<x>267</x>
<y>240</y>
<height>16</height>
<width>65</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__stk_t</name>
<visible>1</visible>
<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>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>2</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>10</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>275</x> <x>401</x>
<y>315</y> <y>240</y>
<height>17</height> <height>19</height>
<width>110</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code</name> <name>cust_code__stk</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -546,27 +551,57 @@ ...@@ -546,27 +551,57 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Distributor:</text>
<border>2</border>
<color>0</color>
<x>267</x>
<y>307</y>
<height>16</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dist_t</name>
<visible>1</visible>
<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>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>8</id> <id>1</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>275</x> <x>407</x>
<y>167</y> <y>307</y>
<height>17</height> <height>19</height>
<width>88</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>city_name</name> <name>cust_code__dist</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -584,20 +619,20 @@ ...@@ -584,20 +619,20 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>10</id> <id>6</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>382</x> <x>396</x>
<y>166</y> <y>344</y>
<height>19</height> <height>21</height>
<width>92</width> <width>115</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>hospital_name</name> <name>distributor_name</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -620,20 +655,27 @@ ...@@ -620,20 +655,27 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>11</id> <id>9</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>414</x> <x>267</x>
<y>130</y> <y>344</y>
<height>16</height> <height>17</height>
<width>60</width> <width>110</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_code</name> <name>site_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Arial</face> <face>Arial</face>
<height>-10</height> <height>-10</height>
......
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