$PBExportHeader$d_despeditprc12.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 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 )
header(height=21 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(6) updatewhereclause=yes name=ref_ser dbname="wave_task_det.ref_ser" )
 column=(type=char(10) updatewhereclause=yes name=ref_id dbname="wave_task_det.ref_id" )
 column=(type=datetime updatewhereclause=yes name=tran_date dbname="despatch.tran_date" )
 column=(type=char(10) updatewhereclause=yes name=ptcn dbname="wave_task_det.ptcn" )
 column=(type=char(12) updatewhereclause=yes name=wave_id dbname="wave_task_det.wave_id" )
 column=(type=char(10) updatewhereclause=yes name=sale_order dbname="sorder.sale_order" )
 column=(type=char(10) updatewhereclause=yes name=cust_code dbname="sorder.cust_code" )
 column=(type=char(10) updatewhereclause=yes name=sorder_cust_code__dlv dbname="sorder.cust_code__dlv" )
 column=(type=char(40) updatewhereclause=yes name=customer_cust_name dbname="customer.cust_name" )
 retrieve="  SELECT W.REF_SER REF_SER, W.REF_ID REF_ID, D.DESP_DATE TRAN_DATE, W.PTCN PTCN, W.WAVE_ID WAVE_ID, S.SALE_ORDER SALE_ORDER, S.cust_code cust_code,   
         S.cust_code__dlv cust_code__dlv, c.cust_name  cust_name
    FROM despatch D, WAVE_TASK_DET W, customer C, SORDER S, WAVE_TASK WH
   WHERE S.cust_code__dlv = C.cust_code 
AND D.SORD_NO = S.SALE_ORDER
AND W.WAVE_ID = WH.WAVE_ID
AND W.REF_ID = D.DESP_ID
AND W.REF_SER = 'S-DSP'
	AND  CASE WHEN D.confirmed IS NULL THEN 'N' ELSE D.confirmed END = 'N'
	AND  CASE WHEN WH.CANCEL IS NULL THEN 'N' ELSE WH.CANCEL END = 'N'
    and  D.sord_no = :SALE_ORDER
" arguments=(("SALE_ORDER", string)) )
column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="2" y="2" height="19" width="69" format="[general]" html.valueishtml="0"  name=ref_ser visible="1" edit.limit=6 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=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="73" y="2" height="19" width="88" format="[general]" html.valueishtml="0"  name=ref_id 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=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="163" y="2" height="19" width="100" format="[shortdate] [time]" html.valueishtml="0"  name=tran_date 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=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="265" y="2" height="19" width="97" format="[general]" html.valueishtml="0"  name=ptcn 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=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="364" y="2" height="19" width="98" format="[general]" html.valueishtml="0"  name=wave_id visible="1" edit.limit=12 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=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="464" y="2" height="19" width="83" format="[general]" html.valueishtml="0"  name=sale_order 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=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="549" y="2" height="19" width="95" 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="0" color="33554432" x="646" y="2" height="19" width="97" format="[general]" html.valueishtml="0"  name=sorder_cust_code__dlv 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="0" color="33554432" x="745" y="2" height="19" width="281" format="[general]" html.valueishtml="0"  name=customer_cust_name visible="1" edit.limit=40 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" )
text(band=header alignment="0" text="Ref. Series" border="0" color="33554432" x="2" y="2" height="16" width="69" html.valueishtml="0"  name=ref_ser_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="Reference ID" border="0" color="33554432" x="73" y="2" height="16" width="88" html.valueishtml="0"  name=ref_id_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="Transaction Date" border="0" color="33554432" x="163" y="2" height="16" width="100" html.valueishtml="0"  name=tran_date_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="PTCN" border="0" color="33554432" x="265" y="2" height="16" width="97" html.valueishtml="0"  name=ptcn_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="Wave Id" border="0" color="33554432" x="364" y="2" height="16" width="98" html.valueishtml="0"  name=wave_id_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="Sale Order" border="0" color="33554432" x="464" y="2" height="16" width="83" html.valueishtml="0"  name=sale_order_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="Customer Code" border="0" color="33554432" x="549" y="2" height="16" width="95" 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="Cust Code  Dlv" border="0" color="33554432" x="646" y="2" height="16" width="97" html.valueishtml="0"  name=cust_code__dlv_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="Customer Name" border="0" color="33554432" x="745" y="2" height="16" width="281" html.valueishtml="0"  name=cust_name_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" )
htmltable(border="1" )
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 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
 