$PBExportHeader$ds_warebalc_view.srd release 9; datawindow(units=0 timer_interval=60000 color=16777215 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 1 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 9 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=264 color="536870912" ) summary(height=64 color="536870912" ) footer(height=0 color="536870912" ) detail(height=76 color="536870912" ) table(column=(type=long updatewhereclause=yes name=u_mtrldef_mtrlid dbname="u_mtrldef.mtrlid" ) 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" initial="empty" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" ) column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" ) column=(type=decimal(5) updatewhereclause=yes name=u_mtrldef_minqty dbname="u_mtrldef.MinQTY" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrltype dbname="u_mtrldef.mtrltype" ) column=(type=char(255) updatewhereclause=yes name=u_warebalc_status dbname="u_warebalc.status" ) column=(type=decimal(10) updatewhereclause=yes name=u_warebalc_bgqty dbname="u_warebalc.bgqty" ) column=(type=decimal(2) updatewhereclause=yes name=u_warebalc_bgamt dbname="u_warebalc.bgamt" ) column=(type=decimal(10) updatewhereclause=yes name=u_warebalc_incqty dbname="u_warebalc.incqty" ) column=(type=decimal(2) updatewhereclause=yes name=u_warebalc_incamt dbname="u_warebalc.incamt" ) column=(type=decimal(10) updatewhereclause=yes name=u_warebalc_desqty dbname="u_warebalc.desqty" ) column=(type=decimal(2) updatewhereclause=yes name=u_warebalc_desamt dbname="u_warebalc.desamt" ) column=(type=decimal(10) updatewhereclause=yes name=u_warebalc_balcqty dbname="u_warebalc.balcqty" ) column=(type=decimal(2) updatewhereclause=yes name=u_warebalc_balcamt dbname="u_warebalc.balcamt" ) column=(type=decimal(10) updatewhereclause=yes name=u_mtrldef_pypk dbname="u_mtrldef.pypk" ) retrieve=" SELECT u_mtrldef.mtrlid, u_mtrldef.mtrlcode, u_mtrldef.mtrlname, u_mtrldef.mtrlmode, u_mtrldef.unit, u_mtrldef.MinQTY, u_mtrldef.mtrltype, u_warebalc.status, u_warebalc.bgqty as bgqty, u_warebalc.bgamt as bgamt, u_warebalc.incqty as incqty, u_warebalc.incamt as incamt, u_warebalc.desqty as desqty, u_warebalc.desamt as desamt, u_warebalc.balcqty as balcqty, u_warebalc.balcamt as balcamt, case u_warebalc.pypk when 0 then null else u_warebalc.pypk end as pypk FROM u_mtrldef, u_warebalc WHERE ( u_mtrldef.mtrlid = u_warebalc.mtrlid ) and ( u_mtrldef.handtype like :arg_handtype or :arg_handtype='' ) and ( (abs(u_warebalc.bgqty) + abs(u_warebalc.incqty) + abs(u_warebalc.desqty) + abs(u_warebalc.balcqty) <> 0) or (abs(u_warebalc.bgamt)+ abs(u_warebalc.incamt)+abs(u_warebalc.desamt)+abs(u_warebalc.balcamt)<>0) ) and ( u_warebalc.storageid in (:arg_storageid) ) and ( u_warebalc.balcdateint = 0 ) and ( :arg_mtrltype_e = :arg_mtrltype_e ) and ( u_mtrldef.mtrlorigin = :arg_mtrlorigin or :arg_mtrlorigin = -1 ) " arguments=(("arg_storageid", numberlist),("arg_handtype", string),("arg_mtrltype_e", string),("arg_mtrlorigin", number)) sort="u_mtrldef_mtrltype A u_mtrldef_mtrlcode A " ) text(band=header alignment="2" text="编码" border="2" color="0" x="9" y="208" height="56" width="347" html.valueishtml="0" name=u_mtrldef_mtrlcode_t 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" ) text(band=header alignment="2" text="物料名称" border="2" color="0" x="366" y="208" height="56" width="599" html.valueishtml="0" name=u_mtrldef_mtrlname_t 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" ) text(band=header alignment="2" text="单位" border="2" color="0" x="2107" y="208" height="56" width="123" html.valueishtml="0" name=u_mtrldef_unit_t 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" ) text(band=header alignment="2" text="规格" border="2" color="33554432" x="974" y="208" height="56" width="384" html.valueishtml="0" name=u_mtrldef_mtrlmode_t visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" ) text(band=header alignment="2" text="类别" border="2" color="33554432" x="1787" y="208" height="56" width="311" html.valueishtml="0" name=u_mtrldef_mtrltype_t visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" ) text(band=header alignment="2" text="颜色" border="2" color="33554432" x="1367" y="208" height="56" width="411" html.valueishtml="0" name=u_warebalc_status_t visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" ) text(band=header alignment="2" text="盘点盈亏" border="2" color="33554432" x="2240" y="208" height="56" width="274" html.valueishtml="0" name=u_mtrldef_pypk_t visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" ) text(band=header alignment="2" text="报警下限" border="2" color="33554432" x="2523" y="208" height="56" width="274" html.valueishtml="0" name=u_mtrldef_minqty_t visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" ) text(band=header alignment="0" text="U Warebalc Bgqty" border="0" color="33554432" x="2807" y="156" height="76" width="613" html.valueishtml="0" name=u_warebalc_bgqty_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=header alignment="0" text="U Warebalc Bgamt" border="0" color="33554432" x="3429" y="156" height="76" width="658" html.valueishtml="0" name=u_warebalc_bgamt_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=header alignment="0" text="U Warebalc Incqty" border="0" color="33554432" x="4096" y="156" height="76" width="635" html.valueishtml="0" name=u_warebalc_incqty_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=header alignment="0" text="U Warebalc Incamt" border="0" color="33554432" x="4741" y="156" height="76" width="622" html.valueishtml="0" name=u_warebalc_incamt_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=header alignment="0" text="U Warebalc Desqty" border="0" color="33554432" x="5371" y="156" height="76" width="645" html.valueishtml="0" name=u_warebalc_desqty_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=header alignment="0" text="U Warebalc Desamt" border="0" color="33554432" x="6025" y="156" height="76" width="704" html.valueishtml="0" name=u_warebalc_desamt_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=header alignment="0" text="U Warebalc Balcqty" border="0" color="33554432" x="6738" y="156" height="76" width="649" html.valueishtml="0" name=u_warebalc_balcqty_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=header alignment="0" text="U Warebalc Balcamt" border="0" color="33554432" x="7397" y="156" height="76" width="567" html.valueishtml="0" name=u_warebalc_balcamt_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=2 alignment="0" tabsequence=32766 border="0" color="0~tif( u_mtrldef_minqty > u_mtrldef_balcqty ,rgb(255,0,0),rgb(0,0,0))" x="9" y="4" height="68" width="347" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode tag="物料编码" 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=3 alignment="0" tabsequence=32766 border="0" color="0~tif( u_mtrldef_minqty > u_mtrldef_balcqty ,rgb(255,0,0),rgb(0,0,0))" x="366" y="4" height="68" width="599" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname tag="物料名称" 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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) column(band=detail id=5 alignment="2" tabsequence=32766 border="0" color="0~tif( u_mtrldef_minqty > u_mtrldef_balcqty ,rgb(255,0,0),rgb(0,0,0))" x="2107" y="4" height="68" width="123" format="[general]" html.valueishtml="0" name=u_mtrldef_unit tag="计量单位" 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="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="0~tif( u_mtrldef_minqty > u_mtrldef_balcqty ,rgb(255,0,0),rgb(0,0,0))" x="974" y="4" height="68" width="384" 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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) column(band=detail id=7 alignment="2" tabsequence=32766 border="0" color="0~tif( u_mtrldef_minqty > u_mtrldef_balcqty ,rgb(255,0,0),rgb(0,0,0))" x="1787" 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="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="0~tif( u_mtrldef_minqty > u_mtrldef_balcqty ,rgb(255,0,0),rgb(0,0,0))" x="1367" y="4" height="68" width="411" format="[general]" html.valueishtml="0" name=u_warebalc_status visible="1" edit.limit=0 edit.case=any edit.autoselect=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=17 alignment="1" tabsequence=32766 border="0" color="0~tif( u_mtrldef_minqty > u_mtrldef_balcqty ,rgb(255,0,0),rgb(0,0,0))" x="2240" y="4" height="68" width="274" format="#,##0.0####" html.valueishtml="0" name=u_mtrldef_pypk visible="1" edit.limit=0 edit.case=any edit.autoselect=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="1" tabsequence=32766 border="0" color="33554432~tif( u_mtrldef_minqty > u_mtrldef_balcqty ,rgb(255,0,0),rgb(255,255,255))" x="2523" y="4" height="68" width="274" format="#,##0.0####" html.valueishtml="0" name=u_mtrldef_minqty visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="0" x="2807" y="0" height="56" width="613" format="[general]" html.valueishtml="0" name=u_warebalc_bgqty visible="1" edit.limit=0 edit.case=any edit.autoselect=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=10 alignment="0" tabsequence=32766 border="0" color="0" x="3429" y="0" height="56" width="658" format="[general]" html.valueishtml="0" name=u_warebalc_bgamt visible="1" edit.limit=0 edit.case=any edit.autoselect=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=11 alignment="0" tabsequence=32766 border="0" color="0" x="4096" y="0" height="56" width="635" format="[general]" html.valueishtml="0" name=u_warebalc_incqty visible="1" edit.limit=0 edit.case=any edit.autoselect=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=12 alignment="0" tabsequence=32766 border="0" color="0" x="4741" y="0" height="56" width="622" format="[general]" html.valueishtml="0" name=u_warebalc_incamt visible="1" edit.limit=0 edit.case=any edit.autoselect=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=13 alignment="0" tabsequence=32766 border="0" color="0" x="5371" y="0" height="56" width="645" format="[general]" html.valueishtml="0" name=u_warebalc_desqty visible="1" edit.limit=0 edit.case=any edit.autoselect=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=14 alignment="0" tabsequence=32766 border="0" color="0" x="6025" y="0" height="56" width="704" format="[general]" html.valueishtml="0" name=u_warebalc_desamt visible="1" edit.limit=0 edit.case=any edit.autoselect=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=15 alignment="0" tabsequence=32766 border="0" color="0" x="6738" y="0" height="56" width="649" format="[general]" html.valueishtml="0" name=u_warebalc_balcqty visible="1" edit.limit=0 edit.case=any edit.autoselect=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=16 alignment="0" tabsequence=32766 border="0" color="0" x="7397" y="0" height="56" width="567" format="[general]" html.valueishtml="0" name=u_warebalc_balcamt visible="1" edit.limit=0 edit.case=any edit.autoselect=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" ) compute(band=summary alignment="2" expression="count(u_mtrldef_mtrlname for all)"border="0" color="0" x="366" y="4" height="56" width="599" format="[general]" html.valueishtml="0" name=compute_10 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=summary alignment="2" text="合计" border="0" color="0" x="9" y="4" height="56" width="347" html.valueishtml="0" name=t_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" ) compute(band=summary alignment="1" expression="sum(u_mtrldef_pypk for all)"border="0" color="0" x="2240" y="4" height="56" width="274" format="#,##0.0####" html.valueishtml="0" name=compute_7 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" )