1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- $PBExportHeader$dw_rp_cust_saletask_3.srd
- release 9;
- datawindow(units=0 timer_interval=0 color=16777215 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 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=64 color="536870912" )
- summary(height=0 color="536870912" )
- footer(height=64 color="536870912" )
- detail(height=76 color="536870912" )
- table(column=(type=decimal(10) updatewhereclause=yes name=noallocqty dbname="noallocqty" )
- column=(type=long updatewhereclause=yes name=u_mtrlware_mtrlid dbname="u_mtrlware.mtrlid" )
- column=(type=long updatewhereclause=yes name=u_mtrlware_storageid dbname="u_mtrlware.storageid" )
- column=(type=char(30) updatewhereclause=yes name=u_mtrlware_plancode dbname="u_mtrlware.plancode" )
- column=(type=long updatewhereclause=yes name=u_mtrlware_sptid dbname="u_mtrlware.Sptid" )
- column=(type=char(20) updatewhereclause=yes name=u_cust_custype dbname="u_cust.custype" )
- column=(type=char(50) updatewhereclause=yes name=u_cust_name dbname="u_cust.name" )
- column=(type=char(20) updatewhereclause=yes name=u_cust_cuscode dbname="u_cust.cuscode" )
- column=(type=char(30) updatewhereclause=yes name=u_storage_storagename dbname="u_storage.storagename" )
- column=(type=decimal(10) updatewhereclause=yes name=uv_saletask_bhqty_bhqty dbname="uv_saletask_bhqty.bhqty" )
- retrieve="SELECT SUM(u_mtrlware.noallocqty) AS noallocqty,
- u_mtrlware.mtrlid,
- u_mtrlware.storageid,
- u_mtrlware.plancode,
- u_mtrlware.Sptid,
- u_cust.custype,
- u_cust.name,
- u_cust.cuscode,
- u_storage.storagename,
- uv_saletask_bhqty.bhqty
- FROM u_mtrlware INNER JOIN
- u_storage ON u_mtrlware.storageid = u_storage.storageid LEFT OUTER JOIN
- uv_saletask_bhqty ON
- u_mtrlware.mtrlid = uv_saletask_bhqty.MtrlID LEFT OUTER JOIN
- u_cust ON u_mtrlware.Sptid = u_cust.cusid
- WHERE u_mtrlware.Sptid <> :arg_cusid AND
- u_mtrlware.mtrlid = :arg_mtrlid AND
- u_mtrlware.status = :arg_status AND
- u_mtrlware.woodcode = :arg_woodcode AND
- u_mtrlware.pcode = :arg_pcode
- GROUP BY u_mtrlware.mtrlid, u_mtrlware.storageid, u_mtrlware.plancode,
- u_mtrlware.Sptid, u_cust.custype, u_storage.storagename,uv_saletask_bhqty.bhqty,
- u_cust.name,
- u_cust.cuscode
- HAVING SUM(u_mtrlware.noallocqty) > 0
- " arguments=(("arg_cusid", number),("arg_mtrlid", number),("arg_status", string),("arg_woodcode", string),("arg_pcode", string)) sort="u_cust_custype A " )
- text(band=header alignment="2" text="数量" border="0" color="33554432" x="485" y="4" height="56" width="265" html.valueishtml="0" name=noallocqty_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- text(band=header alignment="2" text="批号" border="0" color="33554432" x="1358" y="4" height="56" width="334" html.valueishtml="0" name=u_mtrlware_plancode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- text(band=header alignment="2" text="仓库" border="0" color="33554432" x="9" y="4" height="56" width="466" html.valueishtml="0" name=u_storage_storagename_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- text(band=header alignment="2" text="业务员" border="0" color="33554432" x="1051" y="4" height="56" width="297" html.valueishtml="0" name=u_cust_custype_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="备货数" border="0" color="33554432" x="759" y="4" height="56" width="283" html.valueishtml="0" name=uv_saletask_bhqty_bhqty_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="客户名称" border="0" color="33554432" x="2075" y="4" height="56" width="489" html.valueishtml="0" name=u_cust_name_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- text(band=header alignment="2" text="客户编号" border="0" color="33554432" x="1701" y="4" height="56" width="366" html.valueishtml="0" name=u_cust_cuscode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
- column(band=detail id=1 alignment="1" tabsequence=32766 border="0" color="33554432" x="485" y="4" height="68" width="265" format="#,##0.##########" html.valueishtml="0" name=noallocqty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="1358" y="4" height="68" width="334" format="[general]" html.valueishtml="0" name=u_mtrlware_plancode visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="466" format="[general]" html.valueishtml="0" name=u_storage_storagename visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="1051" y="4" height="68" width="297" format="[general]" html.valueishtml="0" name=u_cust_custype visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=10 alignment="1" tabsequence=32766 border="0" color="33554432" x="759" y="4" height="68" width="283" format="#,##0.##########" html.valueishtml="0" name=uv_saletask_bhqty_bhqty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="2075" y="4" height="68" width="489" format="[general]" html.valueishtml="0" name=u_cust_name visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="1701" y="4" height="68" width="366" format="[general]" html.valueishtml="0" name=u_cust_cuscode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- compute(band=footer alignment="2" expression="count(u_storage_storagename for all)"border="0" color="16711680" x="9" y="4" height="56" width="466" format="[general]" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- compute(band=footer alignment="1" expression="sum(noallocqty for all)"border="0" color="16711680" x="485" y="4" height="56" width="265" format="#,##0.##########" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- compute(band=footer alignment="1" expression="sum( uv_saletask_bhqty_bhqty for all )"border="0" color="16711680" x="759" y="4" height="56" width="283" format="#,##0.##########" html.valueishtml="0" name=compute_3 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" 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" )
|