Commit a4df3427 authored by Mohammed Dohadwala's avatar Mohammed Dohadwala

Corrected site_code__pbus

parent 2c20baaf
......@@ -32,7 +32,7 @@
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>22</height>
<height>20</height>
<color>536870912</color>
</Header>
<Summary>
......@@ -121,7 +121,7 @@
<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_stockist.cust_code__dist&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;customer_a.city&quot;) COLUMN(NAME=&quot;sales_quot.quot_no&quot;) COLUMN(NAME=&quot;customer_c.cust_name&quot;) COLUMN(NAME=&quot;customer_b.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_stockist.quot_no&quot; OP =&quot;=&quot;RIGHT=&quot;sales_quot.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_stockist.cust_code__dist&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;customer_a.city&quot;) COLUMN(NAME=&quot;sales_quot.quot_no&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_stockist.quot_no&quot; OP =&quot;=&quot;RIGHT=&quot;sales_quot.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>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......
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