Commit ab8142e9 authored by Mohammed Dohadwala's avatar Mohammed Dohadwala

Made the Stockist field as mandatory.

parent 31dcbec2
This diff is collapsed.
......@@ -79,6 +79,12 @@
<name>sales_quot_quot_no</name>
<dbname>sales_quot.quot_no</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_code__pbus</name>
<dbname>customer.site_code__pbus</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
......@@ -86,6 +92,12 @@
<name>cust_code__dist</name>
<dbname>sales_quot_stockist.cust_code__dist</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_code__pbus</name>
<dbname>customer.site_code__pbus</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>yes</updatewhereclause>
......@@ -110,13 +122,7 @@
<name>distributor_name</name>
<dbname>customer.cust_name</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_code__pbus</name>
<dbname>customer.site_code__pbus</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sales_quot_stockist&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_a&quot; ) TABLE(NAME=&quot;sales_quot&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_b&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_c&quot; ) COLUMN(NAME=&quot;sales_quot_stockist.quot_no&quot;) COLUMN(NAME=&quot;sales_quot_stockist.line_no&quot;) COLUMN(NAME=&quot;sales_quot_stockist.cust_code&quot;) COLUMN(NAME=&quot;sales_quot_stockist.cust_code__stk&quot;) COLUMN(NAME=&quot;sales_quot.quot_no&quot;) COLUMN(NAME=&quot;sales_quot_stockist.cust_code__dist&quot;) COLUMN(NAME=&quot;customer_a.city&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;customer_b.cust_name&quot;) COLUMN(NAME=&quot;customer_c.cust_name&quot;) COLUMN(NAME=&quot;customer_c.site_code__pbus&quot;) JOIN (LEFT=&quot;sales_quot_stockist.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer_a.cust_code&quot; ) JOIN (LEFT=&quot;sales_quot.quot_no&quot; OP =&quot;=&quot;RIGHT=&quot;sales_quot_stockist.quot_no&quot; ) JOIN (LEFT=&quot;sales_quot_stockist.cust_code__stk&quot; OP =&quot;=&quot;RIGHT=&quot;customer_b.cust_code&quot; ) JOIN (LEFT=&quot;sales_quot_stockist.cust_code__dist&quot; OP =&quot;=&quot;RIGHT=&quot;customer_c.cust_code&quot; )WHERE( EXP1 =&quot;sales_quot_stockist.quot_no&quot; OP =&quot;=&quot; EXP2 =&quot;:quot_no&quot; ) ) ARG(NAME = &quot;quot_no&quot; TYPE = string) </retrieve>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sales_quot_stockist&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_a&quot; ) TABLE(NAME=&quot;sales_quot&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_b&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_c&quot; ) COLUMN(NAME=&quot;sales_quot_stockist.quot_no&quot;) COLUMN(NAME=&quot;sales_quot_stockist.line_no&quot;) COLUMN(NAME=&quot;sales_quot_stockist.cust_code&quot;) COLUMN(NAME=&quot;sales_quot_stockist.cust_code__stk&quot;) COLUMN(NAME=&quot;sales_quot.quot_no&quot;) COLUMN(NAME=&quot;customer_a.site_code__pbus&quot;) COLUMN(NAME=&quot;sales_quot_stockist.cust_code__dist&quot;) COLUMN(NAME=&quot;customer_c.site_code__pbus&quot;) COLUMN(NAME=&quot;customer_a.city&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;customer_b.cust_name&quot;) COLUMN(NAME=&quot;customer_c.cust_name&quot;) JOIN (LEFT=&quot;sales_quot_stockist.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer_a.cust_code&quot; ) JOIN (LEFT=&quot;sales_quot.quot_no&quot; OP =&quot;=&quot;RIGHT=&quot;sales_quot_stockist.quot_no&quot; ) JOIN (LEFT=&quot;sales_quot_stockist.cust_code__stk&quot; OP =&quot;=&quot;RIGHT=&quot;customer_b.cust_code&quot; ) JOIN (LEFT=&quot;sales_quot_stockist.cust_code__dist&quot; OP =&quot;=&quot;RIGHT=&quot;customer_c.cust_code&quot; )WHERE( EXP1 =&quot;sales_quot_stockist.quot_no&quot; OP =&quot;=&quot; EXP2 =&quot;:quot_no&quot; ) ) ARG(NAME = &quot;quot_no&quot; TYPE = string) </retrieve>
<update>sales_quot_stockist</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -152,7 +158,7 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Quotation No:</text>
<text>Quotation No.:</text>
<border>2</border>
<color>0</color>
<x>259</x>
......@@ -371,7 +377,7 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
......@@ -454,6 +460,7 @@
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<required>yes</required>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -471,20 +478,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>386</x>
<y>192</y>
<x>374</x>
<y>338</y>
<height>16</height>
<width>120</width>
<width>162</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>customer_city</name>
<name>site_code__pbus</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -507,20 +514,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>386</x>
<y>156</y>
<y>192</y>
<height>16</height>
<width>140</width>
<width>120</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_name</name>
<name>customer_city</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -543,20 +550,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>373</x>
<y>251</y>
<x>386</x>
<y>156</y>
<height>16</height>
<width>152</width>
<width>140</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stockist_name</name>
<name>cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -579,20 +586,27 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>378</x>
<y>311</y>
<x>373</x>
<y>251</y>
<height>16</height>
<width>108</width>
<width>152</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>distributor_name</name>
<name>stockist_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
......@@ -608,20 +622,27 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>375</x>
<y>338</y>
<x>372</x>
<y>309</y>
<height>16</height>
<width>106</width>
<width>154</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__pbus</name>
<name>distributor_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<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