12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- $PBExportHeader$dw_set_mtrl_arg.srd
- release 9;
- datawindow(units=0 timer_interval=0 color=1073741824 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 selected.mouse=no )
- header(height=68 color="536870912" )
- summary(height=0 color="536870912" )
- footer(height=68 color="536870912" )
- detail(height=76 color="536870912" )
- table(column=(type=long updatewhereclause=yes key=yes name=u_mtrldef_mtrlid dbname="u_mtrldef.mtrlid" )
- column=(type=decimal(5) updatewhereclause=yes name=u_mtrlware_noallocqty dbname="noallocqty" )
- column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" )
- column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
- column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" )
- column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrltype dbname="u_mtrldef.mtrltype" )
- column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
- column=(type=char(100) updatewhereclause=yes name=u_mtrldef_handtype dbname="u_mtrldef.handtype" initial="empty" )
- column=(type=decimal(4) updatewhereclause=yes name=u_mtrlware_objmaxminqty dbname="objmaxminqty" initial="0" )
- column=(type=decimal(4) updatewhereclause=yes name=u_mtrlware_saleqty dbname="saleqty" initial="0" )
- column=(type=long update=yes updatewhereclause=yes name=u_mtrldef_maxminqty_mtrlid dbname="u_mtrldef_maxminqty.mtrlid" initial="0" )
- column=(type=char(255) update=yes updatewhereclause=yes key=yes name=u_mtrldef_maxminqty_status dbname="u_mtrldef_maxminqty.status" initial="empty" )
- column=(type=char(255) update=yes updatewhereclause=yes key=yes name=u_mtrldef_maxminqty_woodcode dbname="u_mtrldef_maxminqty.woodcode" initial="empty" )
- column=(type=char(255) update=yes updatewhereclause=yes key=yes name=u_mtrldef_maxminqty_pcode dbname="u_mtrldef_maxminqty.pcode" initial="empty" )
- column=(type=decimal(5) update=yes updatewhereclause=yes name=u_mtrldef_maxminqty_maxqty dbname="u_mtrldef_maxminqty.maxqty" initial="999999" )
- column=(type=decimal(5) update=yes updatewhereclause=yes name=u_mtrldef_maxminqty_minqty dbname="u_mtrldef_maxminqty.minqty" initial="0" )
- column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlsectype dbname="u_mtrldef.mtrlsectype" )
- column=(type=char(50) updatewhereclause=yes name=u_mtrldef_zxmtrlmode dbname="u_mtrldef.zxmtrlmode" )
- retrieve="SELECT u_mtrldef.mtrlid, SUM(u_mtrlware.noallocqty) AS noallocqty,
- u_mtrldef.mtrlcode,
- u_mtrldef.mtrlname,
- u_mtrldef.unit,
- u_mtrldef.mtrltype,
- u_mtrldef.mtrlmode,
- u_mtrldef.handtype,
- 0.0000 AS objmaxminqty,
- 0.0000 AS saleqty,
- u_mtrldef_maxminqty.mtrlid,
- u_mtrldef_maxminqty.status,
- u_mtrldef_maxminqty.woodcode,
- u_mtrldef_maxminqty.pcode,
- u_mtrldef_maxminqty.maxqty,
- u_mtrldef_maxminqty.minqty,
- u_mtrldef.mtrlsectype,u_mtrldef.zxmtrlmode
- FROM u_mtrldef INNER JOIN
- u_mtrldef_maxminqty ON
- u_mtrldef.mtrlid = u_mtrldef_maxminqty.mtrlid LEFT OUTER JOIN
- u_mtrlware ON u_mtrldef_maxminqty.mtrlid = u_mtrlware.mtrlid AND
- u_mtrldef_maxminqty.status = u_mtrlware.Status AND
- u_mtrldef_maxminqty.woodcode = u_mtrlware.woodcode AND
- u_mtrldef_maxminqty.pcode = u_mtrlware.pcode
- WHERE ( u_mtrldef.handtype LIKE :arg_handtype OR :arg_handtype = '')
- AND ( u_mtrldef.mtrlorigin = :arg_mtrlorigin or :arg_mtrlorigin = -1)
- GROUP BY u_mtrldef.mtrlid, u_mtrldef.mtrlcode, u_mtrldef.mtrlname, u_mtrldef.unit,
- u_mtrldef.mtrltype, u_mtrldef.mtrlmode, u_mtrldef.handtype,
- u_mtrldef_maxminqty.mtrlid,
- u_mtrldef_maxminqty.status,
- u_mtrldef_maxminqty.woodcode,
- u_mtrldef_maxminqty.pcode,
- u_mtrldef_maxminqty.maxqty, u_mtrldef_maxminqty.minqty,
- u_mtrldef.mtrlsectype,u_mtrldef.zxmtrlmode
-
-
- " update="u_mtrldef_maxminqty" updatewhere=0 updatekeyinplace=no arguments=(("arg_handtype", string),("arg_mtrlorigin", number)) sort="u_mtrldef_mtrlcode A u_mtrldef_maxminqty_status A u_mtrldef_maxminqty_woodcode A u_mtrldef_maxminqty_pcode A " )
- text(band=header alignment="2" text="品名" border="0" color="33554432" x="453" y="8" height="56" width="672" html.valueishtml="0" name=u_mtrldef_mtrlname_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="1586" y="8" height="56" width="233" html.valueishtml="0" name=u_mtrldef_unit_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="16711680" x="3858" y="8" height="56" width="311" html.valueishtml="0" name=u_mtrlware_objmaxminqty_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="1829" y="8" height="56" width="311" html.valueishtml="0" name=u_mtrldef_mtrltype_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="规格" border="0" color="33554432" x="1134" y="8" height="56" width="443" html.valueishtml="0" name=u_mtrldef_mtrlmode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="出仓数" border="0" color="33554432" x="4178" y="8" height="56" width="334" html.valueishtml="0" name=u_mtrlware_saleqty_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="16711680" x="3200" y="8" height="56" width="311" html.valueishtml="0" name=u_mtrldef_maxminqty_maxqty_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="报警下限" border="0" color="16711680" x="3520" y="8" height="56" width="329" html.valueishtml="0" name=u_mtrldef_maxminqty_minqty_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="属性" border="0" color="16711680" x="2149" y="8" height="56" width="334" html.valueishtml="0" name=u_mtrldef_maxminqty_status_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="属性1" border="0" color="16711680" x="2491" y="8" height="56" width="357" html.valueishtml="0" name=u_mtrldef_maxminqty_woodcode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="属性2" border="0" color="16711680" x="2857" y="8" height="56" width="334" html.valueishtml="0" name=u_mtrldef_maxminqty_pcode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="库存数量" border="0" color="33554432" x="4521" y="8" height="56" width="325" html.valueishtml="0" name=u_mtrlware_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="自定义1" border="0" color="33554432" x="4855" y="8" height="56" width="343" html.valueishtml="0" name=u_mtrldef_mtrlsectype_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="自定义2" border="0" color="33554432" x="5207" y="8" height="56" width="329" html.valueishtml="0" name=u_mtrldef_zxmtrlmode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
- text(band=header alignment="2" text="编码" border="0" color="16711680" x="9" y="8" height="56" width="434" html.valueishtml="0" name=u_mtrldef_mtrlcode_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" )
- column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="453" y="4" height="68" width="672" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname visible="1" edit.limit=50 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="1586" y="4" height="68" width="233" format="[general]" html.valueishtml="0" name=u_mtrldef_unit visible="1" edit.limit=10 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="0" 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="1829" y="4" height="68" width="311" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrltype visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" 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="1134" y="4" height="68" width="443" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlmode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" 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="4178" y="4" height="68" width="334" format="##0.0###" html.valueishtml="0" name=u_mtrlware_saleqty 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=9 alignment="1" tabsequence=32766 border="0" color="16711680" x="3858" y="4" height="68" width="311" format="##0.0###" html.valueishtml="0" name=u_mtrlware_objmaxminqty visible="1" edit.limit=0 edit.case=any edit.format="##0.0###" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=12 alignment="2" tabsequence=32766 border="0" color="16711680" x="2149" y="4" height="68" width="334" format="[general]" html.valueishtml="0" name=u_mtrldef_maxminqty_status visible="1" dddw.name=ddd_color dddw.displaycolumn=colorname dddw.datacolumn=colorname dddw.percentwidth=0 dddw.lines=15 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 dddw.vscrollbar=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=13 alignment="2" tabsequence=32766 border="0" color="16711680" x="2491" y="4" height="68" width="357" format="[general]" html.valueishtml="0" name=u_mtrldef_maxminqty_woodcode visible="1" dddw.name=ddd_color_wood dddw.displaycolumn=woodcode dddw.datacolumn=woodcode dddw.percentwidth=0 dddw.lines=15 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 dddw.vscrollbar=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=14 alignment="2" tabsequence=32766 border="0" color="16711680" x="2857" y="4" height="68" width="334" format="[general]" html.valueishtml="0" name=u_mtrldef_maxminqty_pcode visible="1" dddw.name=ddd_color_pcode dddw.displaycolumn=pcode dddw.datacolumn=pcode dddw.percentwidth=0 dddw.lines=15 dddw.limit=0 dddw.allowedit=no dddw.useasborder=no dddw.case=any dddw.imemode=0 dddw.vscrollbar=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=2 alignment="1" tabsequence=32766 border="0" color="33554432" x="4521" y="4" height="68" width="325" format="##0.0###" html.valueishtml="0" name=u_mtrlware_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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=17 alignment="0" tabsequence=32766 border="0" color="33554432" x="4855" y="4" height="68" width="343" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlsectype 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=18 alignment="0" tabsequence=32766 border="0" color="33554432" x="5207" y="4" height="68" width="329" format="[general]" html.valueishtml="0" name=u_mtrldef_zxmtrlmode 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="16711680" x="9" y="4" height="68" width="434" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=15 alignment="1" tabsequence=32766 border="0" color="16711680" x="3200" y="4" height="68" width="311" format="#,##0.#####" html.valueishtml="0" name=u_mtrldef_maxminqty_maxqty visible="1" edit.limit=0 edit.case=any edit.format="#,##0.#####" edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
- column(band=detail id=16 alignment="1" tabsequence=32766 border="0" color="16711680" x="3520" y="4" height="68" width="329" format="#,##0.#####" html.valueishtml="0" name=u_mtrldef_maxminqty_minqty visible="1" edit.limit=0 edit.case=any edit.format="#,##0.#####" edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 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="count(u_mtrldef_mtrlcode for all)"border="0" color="16711680" x="9" y="4" height="56" width="434" format="[general]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-9" font.weight="700" 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" )
|