$PBExportHeader$dw_rp_buybillmx_edit.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 ) header(height=68 color="536870912" ) summary(height=0 color="536870912" ) footer(height=64 color="536870912" ) detail(height=76 color="536870912" ) table(column=(type=long update=yes updatewhereclause=yes name=scid dbname="u_buybillmx.scid" ) column=(type=long update=yes updatewhereclause=yes key=yes name=buybillid dbname="u_buybillmx.buybillid" ) column=(type=long update=yes updatewhereclause=yes key=yes name=payid dbname="u_buybillmx.payid" ) column=(type=datetime update=yes updatewhereclause=yes name=paydate dbname="u_buybillmx.paydate" ) column=(type=decimal(5) update=yes updatewhereclause=yes name=oriamt dbname="u_buybillmx.oriamt" ) column=(type=decimal(5) update=yes updatewhereclause=yes name=mstpayamt dbname="u_buybillmx.mstpayamt" ) column=(type=decimal(5) update=yes updatewhereclause=yes name=payamt dbname="u_buybillmx.payamt" ) column=(type=char(30) update=yes updatewhereclause=yes name=billcode dbname="u_buybillmx.billcode" ) column=(type=char(255) updatewhereclause=yes name=relbillcode dbname="u_buybillmx.relbillcode" ) column=(type=decimal(5) updatewhereclause=yes name=mainmstpayamt dbname="u_buybillmx.mainmstpayamt" ) column=(type=decimal(5) updatewhereclause=yes name=mainpayamt dbname="u_buybillmx.mainpayamt" ) column=(type=decimal(5) updatewhereclause=yes name=not_pay dbname="not_pay" ) retrieve=" SELECT u_buybillmx.scid, u_buybillmx.buybillid, u_buybillmx.payid, u_buybillmx.paydate, u_buybillmx.oriamt, u_buybillmx.mstpayamt, u_buybillmx.payamt, u_buybillmx.billcode, u_buybillmx.relbillcode , u_buybillmx.mainmstpayamt, u_buybillmx.mainpayamt , round( u_buybillmx.mainmstpayamt - u_buybillmx.mainpayamt,2) as not_pay FROM u_buybillmx where u_buybillmx.buybillid=:arg_buybillid and :arg_printrow = :arg_printrow and :arg_top = :arg_top" update="u_buybillmx" updatewhere=1 updatekeyinplace=no arguments=(("arg_buybillid", number),("arg_printrow", number),("arg_top", number)) ) text(band=header alignment="2" text="发生日期" border="0" color="33554432" x="832" y="8" height="56" width="288" html.valueishtml="0" name=paydate_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="16777215" ) text(band=header alignment="2" text="单据金额" border="0" color="33554432" x="1129" y="8" height="56" width="375" html.valueishtml="0" name=oriamt_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="16777215" ) text(band=header alignment="2" text="单据编号" border="0" color="33554432" x="9" y="8" height="56" width="421" html.valueishtml="0" name=billcode_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="16777215" ) text(band=header alignment="2" text="应付金额" border="0" color="33554432" x="1513" y="8" height="56" width="384" html.valueishtml="0" name=mainmstpayamt_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="16777215" ) text(band=header alignment="2" text="已付金额" border="0" color="33554432" x="1906" y="8" height="56" width="361" html.valueishtml="0" name=mainpayamt_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="16777215" ) text(band=header alignment="2" text="未付金额" border="0" color="33554432" x="2277" y="8" height="56" width="366" html.valueishtml="0" name=not_pay_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="16777215" ) text(band=header alignment="2" text="本次已付" border="0" color="33554432" x="3013" y="8" height="56" width="393" html.valueishtml="0" name=payamt_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="16777215" ) text(band=header alignment="2" text="本次附加应付" border="0" color="33554432" x="2651" y="8" height="56" width="352" html.valueishtml="0" name=mstpayamt_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="16777215" ) text(band=header alignment="2" text="相号凭证号" border="0" color="33554432" x="439" y="8" height="56" width="384" html.valueishtml="0" name=relbillcode_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="16777215" ) column(band=detail id=4 alignment="2" tabsequence=32766 border="0" color="33554432" x="832" y="4" height="68" width="288" format="yyyy-mm-dd" html.valueishtml="0" name=paydate 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="0" background.mode="2" background.color="16777215" ) column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="421" format="[general]" html.valueishtml="0" name=billcode 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="0" background.mode="2" background.color="16777215" ) column(band=detail id=5 alignment="1" tabsequence=32766 border="0" color="33554432" x="1129" y="4" height="68" width="375" format="#,##0.00" html.valueishtml="0" name=oriamt 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="0" background.mode="2" background.color="16777215" ) column(band=detail id=10 alignment="1" tabsequence=32766 border="0" color="33554432" x="1513" y="4" height="68" width="384" format="#,##0.00" html.valueishtml="0" name=mainmstpayamt 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="0" background.mode="2" background.color="16777215" ) column(band=detail id=11 alignment="1" tabsequence=32766 border="0" color="33554432" x="1906" y="4" height="68" width="361" format="#,##0.00" html.valueishtml="0" name=mainpayamt 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="0" background.mode="2" background.color="16777215" ) column(band=detail id=12 alignment="1" tabsequence=32766 border="0" color="33554432" x="2277" y="4" height="68" width="366" format="#,##0.00" html.valueishtml="0" name=not_pay 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="0" background.mode="2" background.color="16777215" ) column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="33554432" x="3013" y="4" height="68" width="393" format="#,##0.00" html.valueishtml="0" name=payamt visible="1" edit.limit=0 edit.case=any edit.format="#,##0.00" 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="0" background.mode="2" background.color="16777215" ) column(band=detail id=6 alignment="1" tabsequence=32766 border="0" color="33554432" x="2651" y="4" height="68" width="352" format="#,##0.00" html.valueishtml="0" name=mstpayamt visible="1" edit.limit=0 edit.case=any edit.format="#,##0.00" 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="0" background.mode="2" background.color="16777215" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="439" y="4" height="68" width="384" format="[general]" html.valueishtml="0" name=relbillcode 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="0" background.mode="2" background.color="16777215" ) compute(band=footer alignment="2" expression="count(billcode for all)"border="0" color="33554432" x="9" y="4" height="56" width="421" format="[general]" html.valueishtml="0" name=compute_7 visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) compute(band=footer alignment="1" expression="sum(oriamt for all)"border="0" color="33554432" x="1129" y="4" height="56" width="375" format="#,##0.00" 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="2" background.color="16777215" ) compute(band=footer alignment="1" expression="sum(mstpayamt for all)"border="0" color="33554432" x="2651" y="4" height="56" width="352" format="#,##0.00" 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="2" background.color="16777215" ) compute(band=footer alignment="1" expression="sum(payamt for all)"border="0" color="33554432" x="3013" y="4" height="56" width="393" format="#,##0.00" 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="2" background.color="16777215" ) compute(band=footer alignment="1" expression="sum(not_pay for all)"border="0" color="33554432" x="2277" y="4" height="56" width="366" format="#,##0.00" html.valueishtml="0" name=compute_6 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) compute(band=footer alignment="1" expression="sum(mainpayamt for all)"border="0" color="33554432" x="1906" y="4" height="56" width="361" format="#,##0.00" html.valueishtml="0" name=compute_5 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) compute(band=footer alignment="1" expression="sum(mainmstpayamt for all)"border="0" color="33554432" x="1513" y="4" height="56" width="384" format="#,##0.00" html.valueishtml="0" name=compute_4 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) 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" )