$PBExportHeader$dw_rp_salebillmx_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_salebillmx.scid" ) column=(type=long update=yes updatewhereclause=yes key=yes name=salebillid dbname="u_salebillmx.salebillid" ) column=(type=decimal(5) update=yes updatewhereclause=yes name=msttakeamt dbname="u_salebillmx.msttakeamt" ) column=(type=decimal(5) update=yes updatewhereclause=yes name=takeamt dbname="u_salebillmx.takeamt" ) column=(type=long update=yes updatewhereclause=yes key=yes name=takeid dbname="u_salebillmx.takeid" ) column=(type=datetime update=yes updatewhereclause=yes name=takedate dbname="u_salebillmx.takedate" ) column=(type=decimal(5) update=yes updatewhereclause=yes name=oriamt dbname="u_salebillmx.oriamt" ) column=(type=char(30) update=yes updatewhereclause=yes name=billcode dbname="u_salebillmx.billcode" ) column=(type=char(255) updatewhereclause=yes name=relbillcode dbname="u_salebillmx.relbillcode" ) column=(type=decimal(5) updatewhereclause=yes name=mainmsttakeamt dbname="u_salebillmx.mainmsttakeamt" ) column=(type=decimal(5) updatewhereclause=yes name=maintakeamt dbname="u_salebillmx.maintakeamt" ) column=(type=decimal(5) updatewhereclause=yes name=not_take1 dbname="not_take" ) retrieve=" SELECT u_salebillmx.scid, u_salebillmx.salebillid, u_salebillmx.msttakeamt, u_salebillmx.takeamt, u_salebillmx.takeid, u_salebillmx.takedate, u_salebillmx.oriamt, u_salebillmx.billcode, u_salebillmx.relbillcode , u_salebillmx.mainmsttakeamt, u_salebillmx.maintakeamt , round( u_salebillmx.mainmsttakeamt - u_salebillmx.maintakeamt,2) as not_take FROM u_salebillmx where u_salebillmx.salebillid=:arg_salebillid" update="u_salebillmx" updatewhere=1 updatekeyinplace=no arguments=(("arg_salebillid", number)) ) text(band=header alignment="2" text="发生日期" border="0" color="33554432" x="786" y="8" height="56" width="320" html.valueishtml="0" name=takedate_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="8" height="56" width="389" 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="1" background.color="536870912" ) text(band=header alignment="2" text="单据金额" border="0" color="33554432" x="1115" y="8" height="56" width="379" 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="1" background.color="536870912" ) text(band=header alignment="2" text="应收金额" border="0" color="33554432" x="1504" y="8" height="56" width="315" html.valueishtml="0" name=mainmsttakeamt_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="2839" y="8" height="56" width="274" html.valueishtml="0" name=takeamt_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="2510" y="8" height="56" width="320" html.valueishtml="0" name=msttakeamt_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="407" y="8" height="56" width="370" 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="1073741824" ) text(band=header alignment="2" text="已收金额" border="0" color="33554432" x="1829" y="8" height="56" width="334" html.valueishtml="0" name=maintakeamt_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="2171" y="8" height="56" width="329" html.valueishtml="0" name=t_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" ) text(band=header alignment="2" text="未收金额" border="0" color="33554432" x="3122" y="8" height="56" width="247" html.valueishtml="0" name=not_take_t visible="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="2" tabsequence=32766 border="0" color="33554432" x="786" y="4" height="68" width="320" format="yyyy-mm-dd" html.valueishtml="0" name=takedate 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=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="389" 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="134" background.mode="1" background.color="536870912" ) column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="33554432" x="1115" y="4" height="68" width="379" 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="134" background.mode="1" background.color="536870912" ) column(band=detail id=3 alignment="1" tabsequence=32766 border="0" color="33554432" x="2510" y="4" height="68" width="320" format="#,##0.00" html.valueishtml="0" name=msttakeamt 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="134" background.mode="1" background.color="536870912" ) column(band=detail id=4 alignment="1" tabsequence=32766 border="0" color="33554432" x="2839" y="4" height="68" width="274" format="#,##0.00" html.valueishtml="0" name=takeamt 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="134" background.mode="1" background.color="536870912" ) column(band=detail id=10 alignment="1" tabsequence=32766 border="0" color="33554432" x="1504" y="4" height="68" width="315" format="#,##0.00" html.valueishtml="0" name=mainmsttakeamt 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=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="407" y="4" height="68" width="370" 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="134" background.mode="1" background.color="536870912" ) column(band=detail id=11 alignment="1" tabsequence=32766 border="0" color="33554432" x="1829" y="4" height="68" width="334" format="#,##0.00" html.valueishtml="0" name=maintakeamt 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=detail alignment="1" expression=" mainmsttakeamt - maintakeamt "border="0" color="33554432" x="2171" y="4" height="68" width="329" format="#,##0.00" html.valueishtml="0" name=not_take 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" ) column(band=detail id=12 alignment="1" tabsequence=32766 border="0" color="33554432" x="3122" y="4" height="68" width="247" format="#,##0.00" html.valueishtml="0" name=not_take1 visible="0" 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=footer alignment="1" expression="sum(oriamt for all)"border="0" color="33554432" x="1115" y="4" height="56" width="379" 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="1073741824" ) compute(band=footer alignment="2" expression="count(billcode for all)"border="0" color="33554432" x="9" y="4" height="56" width="389" 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="1" background.color="536870912" ) compute(band=footer alignment="1" expression="sum(msttakeamt for all)"border="0" color="33554432" x="2510" y="4" height="56" width="320" 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="1073741824" ) compute(band=footer alignment="1" expression="sum(takeamt for all)"border="0" color="33554432" x="2839" y="4" height="56" width="274" 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="1073741824" ) compute(band=footer alignment="1" expression="sum(mainmsttakeamt for all)"border="0" color="33554432" x="1504" y="4" height="56" width="315" 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="1" background.color="536870912" ) compute(band=footer alignment="1" expression="sum(maintakeamt for all)"border="0" color="33554432" x="1829" y="4" height="56" width="334" 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="1" background.color="536870912" ) compute(band=footer alignment="1" expression="sum( mainmsttakeamt - maintakeamt )"border="0" color="33554432" x="2171" y="4" height="56" width="329" format="#,##0.00" html.valueishtml="0" name=compute_9 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" ) compute(band=footer alignment="1" expression="/* sum(not_take for all) */"border="0" color="33554432" x="3122" y="4" height="56" width="247" format="#,##0.00" html.valueishtml="0" name=compute_6 visible="0" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" ) 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" )