Commit d35960ce authored by Mohammed Dohadwala's avatar Mohammed Dohadwala

Fixed site_code__pbus join.

parent bdf9ce8b
$PBExportHeader$salesquot13.srd $PBExportHeader$salesquot23.srd
release 9; release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 ) datawindow(units=1 timer_interval=0 color=1073741824 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
header(height=20 color="536870912" ) summary(height=2 color="536870912" )
summary(height=0 color="536870912" ) footer(height=1 color="536870912" )
footer(height=0 color="536870912" ) detail(height=489 color="536870912" )
detail(height=23 color="536870912" ) table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=quot_no dbname="sales_quot_stockist.quot_no" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=quot_no dbname="quot_stockist.quot_no" ) column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="sales_quot_stockist.line_no" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="quot_stockist.line_no" ) column=(type=char(10) update=yes updatewhereclause=yes name=cust_code dbname="sales_quot_stockist.cust_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=cust_code dbname="quot_stockist.cust_code" ) column=(type=char(10) update=yes updatewhereclause=yes name=cust_code__stk dbname="sales_quot_stockist.cust_code__stk" )
column=(type=char(10) update=yes updatewhereclause=yes name=cust_code__stk dbname="quot_stockist.cust_code__stk" ) column=(type=char(10) updatewhereclause=yes name=sales_quot_quot_no dbname="sales_quot.quot_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=cust_code__dist dbname="quot_stockist.cust_code__dist" ) column=(type=char(10) update=yes updatewhereclause=yes name=cust_code__dist dbname="sales_quot_stockist.cust_code__dist" )
column=(type=char(50) updatewhereclause=yes name=stockist_name dbname="stockist_name" ) column=(type=char(20) updatewhereclause=yes name=customer_city dbname="customer.city" )
column=(type=char(20) updatewhereclause=yes name=city_name dbname="city_name" ) column=(type=char(50) updatewhereclause=yes name=cust_name dbname="customer.cust_name" )
column=(type=char(50) updatewhereclause=yes name=distributor_name dbname="distributor_name" ) column=(type=char(50) updatewhereclause=yes name=stockist_name dbname="customer.cust_name" )
column=(type=char(5) updatewhereclause=yes name=site_code dbname="site_code" ) column=(type=char(50) updatewhereclause=yes name=distributor_name dbname="customer.cust_name" )
column=(type=char(50) updatewhereclause=yes name=hospital_name dbname="hospital_name" ) column=(type=char(5) updatewhereclause=yes name=site_code__pbus dbname="customer.site_code__pbus" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"quot_stockist~" ) COLUMN(NAME=~"quot_stockist.quot_no~") COLUMN(NAME=~"quot_stockist.line_no~") COLUMN(NAME=~"quot_stockist.cust_code~") COLUMN(NAME=~"quot_stockist.cust_code__stk~") COLUMN(NAME=~"quot_stockist.cust_code__dist~") COMPUTE(NAME=~"(select cust_name from customer where cust_code = quot_stockist.CUST_CODE__STK) as stockist_name~") COMPUTE(NAME=~"(select city from customer where cust_code = quot_stockist.CUST_CODE) as city_name~") COMPUTE(NAME=~"(select cust_name from customer where cust_code = quot_stockist.CUST_CODE__DIST) as distributor_name~") COMPUTE(NAME=~"(select SITE_CODE__PBUS from customer where cust_code = quot_stockist.CUST_CODE__DIST) as site_code~") COMPUTE(NAME=~"(select cust_name from customer where cust_code = quot_stockist.CUST_CODE) as hospital_name~")WHERE( EXP1 =~"quot_stockist.quot_no~" OP =~"=~" EXP2 =~":quot_no~" ) ) ARG(NAME = ~"quot_no~" TYPE = string) " update="quot_stockist" updatewhere=0 updatekeyinplace=no arguments=(("quot_no", string)) ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"sales_quot_stockist~" ) TABLE(NAME=~"customer~" ALIAS=~"customer_a~" ) TABLE(NAME=~"sales_quot~" ) TABLE(NAME=~"customer~" ALIAS=~"customer_b~" ) TABLE(NAME=~"customer~" ALIAS=~"customer_c~" ) COLUMN(NAME=~"sales_quot_stockist.quot_no~") COLUMN(NAME=~"sales_quot_stockist.line_no~") COLUMN(NAME=~"sales_quot_stockist.cust_code~") COLUMN(NAME=~"sales_quot_stockist.cust_code__stk~") COLUMN(NAME=~"sales_quot.quot_no~") COLUMN(NAME=~"sales_quot_stockist.cust_code__dist~") COLUMN(NAME=~"customer_a.city~") COLUMN(NAME=~"customer_a.cust_name~") COLUMN(NAME=~"customer_b.cust_name~") COLUMN(NAME=~"customer_c.cust_name~") COLUMN(NAME=~"customer_c.site_code__pbus~") JOIN (LEFT=~"sales_quot_stockist.cust_code~" OP =~"=~"RIGHT=~"customer_a.cust_code~" ) JOIN (LEFT=~"sales_quot.quot_no~" OP =~"=~"RIGHT=~"sales_quot_stockist.quot_no~" ) JOIN (LEFT=~"sales_quot_stockist.cust_code__stk~" OP =~"=~"RIGHT=~"customer_b.cust_code~" ) JOIN (LEFT=~"sales_quot_stockist.cust_code__dist~" OP =~"=~"RIGHT=~"customer_c.cust_code~" )WHERE( EXP1 =~"sales_quot_stockist.quot_no~" OP =~"=~" EXP2 =~":quot_no~" ) ) ARG(NAME = ~"quot_no~" TYPE = string) " update="sales_quot_stockist" updatewhere=0 updatekeyinplace=no arguments=(("quot_no", string)) )
text(band=header alignment="2" text="Quote No" border="2" color="0" x="2" y="2" height="16" width="72" html.valueishtml="0" name=quot_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) groupbox(band=detail text="General "border="2" color="0" x="219" y="39" height="350" width="346" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="2" text="Line No" border="2" color="0" x="76" y="2" height="16" width="72" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Quotation No.:" border="2" color="0" x="259" y="60" height="16" width="113" html.valueishtml="0" name=quot_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Customer" border="2" color="0" x="150" y="2" height="16" width="63" html.valueishtml="0" name=cust_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=1 alignment="0" tabsequence=32766 border="2" color="33554432" x="398" y="60" height="16" width="60" format="[general]" html.valueishtml="0" name=quot_no visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Stockist" border="2" color="0" x="215" y="2" height="16" width="77" html.valueishtml="0" name=cust_code__stk_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Line No:" border="2" color="0" x="259" y="92" height="16" width="96" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Distributor" border="2" color="0" x="294" y="2" height="16" width="80" html.valueishtml="0" name=cust_code__dist_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=2 alignment="0" tabsequence=32766 border="2" color="33554432" x="392" y="92" height="16" width="61" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Distributor Name" border="0" color="33554432" x="376" y="1" height="19" width="211" html.valueishtml="0" name=distributor_name_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" ) text(band=detail alignment="1" text="Customer:" border="2" color="0" x="261" y="130" height="16" width="96" html.valueishtml="0" name=cust_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Stockist Name" border="0" color="33554432" x="589" y="1" height="19" width="195" html.valueishtml="0" name=stockist_name_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" ) column(band=detail id=3 alignment="0" tabsequence=32766 border="2" color="33554432" x="394" y="130" height="16" width="60" format="[general]" html.valueishtml="0" name=cust_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Site" border="0" color="33554432" x="786" y="1" height="19" width="75" html.valueishtml="0" name=site_code_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" ) text(band=detail alignment="1" text="Distributor:" border="2" color="0" x="263" y="283" height="16" width="77" html.valueishtml="0" name=cust_code__dist_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Hospital Name" border="0" color="33554432" x="863" y="1" height="19" width="169" html.valueishtml="0" name=hospital_name_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="2" color="33554432" x="380" y="283" height="16" width="108" format="[general]" html.valueishtml="0" name=cust_code__dist visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="City Name" border="0" color="33554432" x="1034" y="1" height="19" width="130" html.valueishtml="0" name=city_name_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" ) text(band=detail alignment="1" text="Stockist:" border="2" color="0" x="264" y="227" height="16" width="65" html.valueishtml="0" name=cust_code__stk_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="2" color="33554432" x="2" y="2" height="19" width="72" format="[general]" html.valueishtml="0" name=quot_no visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=4 alignment="0" tabsequence=10 border="2" color="33554432" x="376" y="227" height="16" width="102" format="[general]" html.valueishtml="0" name=cust_code__stk visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="2" color="33554432" x="76" y="2" height="19" width="72" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=7 alignment="0" tabsequence=32766 border="2" color="33554432" x="386" y="192" height="16" width="120" format="[general]" html.valueishtml="0" name=customer_city visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="2" color="33554432" x="150" y="2" height="19" width="63" 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="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=8 alignment="0" tabsequence=32766 border="2" color="33554432" x="386" y="156" height="16" width="140" format="[general]" html.valueishtml="0" name=cust_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="2" color="33554432" x="215" y="2" height="19" width="77" format="[general]" html.valueishtml="0" name=cust_code__stk visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="2" color="33554432" x="373" y="251" height="16" width="152" format="[general]" html.valueishtml="0" name=stockist_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="2" color="33554432" x="294" y="2" height="19" width="80" format="[general]" html.valueishtml="0" name=cust_code__dist visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) column(band=detail id=10 alignment="0" tabsequence=32766 border="2" color="33554432" x="372" y="309" height="16" width="154" format="[general]" html.valueishtml="0" name=distributor_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="376" y="1" height="16" width="211" format="[general]" html.valueishtml="0" name=distributor_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="589" y="1" height="16" width="195" format="[general]" html.valueishtml="0" name=stockist_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="786" y="1" height="16" width="75" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="0" color="33554432" x="863" y="1" height="16" width="169" format="[general]" html.valueishtml="0" name=hospital_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="1034" y="1" height="16" width="130" format="[general]" html.valueishtml="0" name=city_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
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