dw_invoicemx_permit.srd 13 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. $PBExportHeader$dw_invoicemx_permit.srd
  2. release 9;
  3. 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 )
  4. header(height=64 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=64 color="536870912" )
  7. detail(height=76 color="536870912" )
  8. table(column=(type=long update=yes updatewhereclause=yes key=yes name=scid dbname="u_invoicemx.scid" initial="0" )
  9. column=(type=long update=yes updatewhereclause=yes key=yes name=invoiceid dbname="u_invoicemx.invoiceid" initial="0" )
  10. column=(type=long update=yes updatewhereclause=yes name=mtrlid dbname="u_invoicemx.MtrlID" initial="0" )
  11. column=(type=char(20) update=yes updatewhereclause=yes name=mtrlcode dbname="u_invoicemx.mtrlcode" initial="empty" )
  12. column=(type=char(50) update=yes updatewhereclause=yes name=mtrlname dbname="u_invoicemx.mtrlname" initial="empty" )
  13. column=(type=char(30) updatewhereclause=yes name=mtrlmode dbname="u_invoicemx.mtrlmode" initial="empty" )
  14. column=(type=decimal(4) update=yes updatewhereclause=yes name=qty dbname="u_invoicemx.Qty" initial="0" )
  15. column=(type=decimal(4) update=yes updatewhereclause=yes name=amt dbname="u_invoicemx.amt" initial="0" )
  16. column=(type=datetime updatewhereclause=yes name=saledate dbname="u_invoicemx.saledate" initial="today" )
  17. column=(type=long updatewhereclause=yes name=btype dbname="u_invoicemx.btype" values="普通 0/增值 1/" )
  18. column=(type=long updatewhereclause=yes name=bqty dbname="u_invoicemx.bqty" )
  19. column=(type=char(50) updatewhereclause=yes name=bcode dbname="u_invoicemx.bcode" )
  20. column=(type=char(255) update=yes updatewhereclause=yes name=dscrp dbname="u_invoicemx.dscrp" initial="empty" )
  21. column=(type=long update=yes updatewhereclause=yes key=yes name=printid dbname="u_invoicemx.printid" initial="0" )
  22. column=(type=decimal(10) update=yes updatewhereclause=yes name=price dbname="u_invoicemx.price" initial="0" )
  23. retrieve=" SELECT u_invoicemx.scid,
  24. u_invoicemx.invoiceid,
  25. u_invoicemx.MtrlID,
  26. u_invoicemx.mtrlcode,
  27. u_invoicemx.mtrlname,
  28. u_invoicemx.mtrlmode,
  29. u_invoicemx.Qty,
  30. u_invoicemx.amt,
  31. u_invoicemx.saledate,
  32. u_invoicemx.btype,
  33. u_invoicemx.bqty,
  34. u_invoicemx.bcode,
  35. u_invoicemx.dscrp,
  36. u_invoicemx.printid,
  37. u_invoicemx.price
  38. FROM u_invoicemx
  39. where u_invoicemx.scid=:arg_scid and
  40. u_invoicemx.invoiceid=:arg_invoiceid
  41. " update="u_invoicemx" updatewhere=1 updatekeyinplace=no arguments=(("arg_scid", number),("arg_invoiceid", number)) )
  42. text(band=header alignment="2" text="品名" border="0" color="33554432" x="498" y="8" height="56" width="635" html.valueishtml="0" name=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" )
  43. text(band=header alignment="2" text="数量" border="0" color="33554432" x="1609" y="8" height="56" width="270" html.valueishtml="0" name=qty_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" )
  44. text(band=header alignment="2" text="金额" border="0" color="33554432" x="2171" y="8" height="56" width="325" html.valueishtml="0" name=amt_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" )
  45. text(band=header alignment="2" text="单价" border="0" color="33554432" x="1888" y="8" height="56" width="274" html.valueishtml="0" name=price_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" )
  46. text(band=header alignment="2" text="编码" border="0" color="33554432" x="101" y="8" height="56" width="389" html.valueishtml="0" name=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" )
  47. text(band=header alignment="2" text="序" border="0" color="33554432" x="9" y="8" height="56" width="82" 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="2" background.color="1073741824" )
  48. text(band=header alignment="2" text="规格" border="0" color="33554432" x="1143" y="8" height="56" width="457" html.valueishtml="0" name=mtrlmode_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" )
  49. text(band=header alignment="2" text="发票类型" border="0" color="33554432" x="2898" y="4" height="56" width="242" html.valueishtml="0" name=btype_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" )
  50. text(band=header alignment="2" text="发票张数" border="0" color="33554432" x="3150" y="4" height="56" width="279" html.valueishtml="0" name=bqty_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" )
  51. text(band=header alignment="2" text="发票号码" border="0" color="33554432" x="3438" y="4" height="56" width="805" html.valueishtml="0" name=bcode_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" )
  52. text(band=header alignment="2" text="明细备注" border="0" color="33554432" x="4251" y="4" height="56" width="1115" html.valueishtml="0" name=dscrp_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" )
  53. text(band=header alignment="2" text="销售日期" border="0" color="33554432" x="2505" y="4" height="56" width="384" html.valueishtml="0" name=saledate_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" )
  54. column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="498" y="4" height="68" width="635" format="[general]" html.valueishtml="0" name=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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  55. column(band=detail id=15 alignment="1" tabsequence=32766 border="0" color="33554432" x="1888" y="4" height="68" width="274" format="#,##0.##########" html.valueishtml="0" name=price visible="1" edit.limit=0 edit.case=any edit.format="#,##0.##########" 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" )
  56. column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="101" y="4" height="68" width="389" format="[general]" html.valueishtml="0" name=mtrlcode visible="1" edit.limit=20 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" )
  57. column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="33554432" x="1609" y="4" height="68" width="270" format="##0.#####" html.valueishtml="0" name=qty visible="1" edit.limit=0 edit.case=any edit.format="##0.#####" 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" )
  58. column(band=detail id=8 alignment="1" tabsequence=32766 border="0" color="33554432" x="2171" y="4" height="68" width="325" format="###0.00###" html.valueishtml="0" name=amt 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" )
  59. compute(band=detail alignment="2" expression="getrow()"border="0" color="33554432" x="9" y="4" height="68" width="82" format="[GENERAL]" 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" )
  60. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="1143" y="4" height="68" width="457" format="[general]" html.valueishtml="0" name=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" )
  61. column(band=detail id=13 alignment="0" tabsequence=32766 border="0" color="33554432" x="4251" y="4" height="68" width="1115" format="[general]" html.valueishtml="0" name=dscrp visible="1" edit.limit=100 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" )
  62. column(band=detail id=9 alignment="2" tabsequence=32766 border="0" color="33554432" x="2505" y="4" height="68" width="384" format="yyyy-mm-dd" html.valueishtml="0" name=saledate visible="1" editmask.autoskip=yes editmask.mask="yyyy-mm-dd" editmask.imemode=0 editmask.focusrectangle=no font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  63. column(band=detail id=10 alignment="2" tabsequence=32766 border="0" color="33554432" x="2898" y="4" height="68" width="242" format="[general]" html.valueishtml="0" name=btype visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.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" )
  64. column(band=detail id=11 alignment="1" tabsequence=32766 border="0" color="33554432" x="3150" y="4" height="68" width="279" format="#,##0" html.valueishtml="0" name=bqty 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" )
  65. column(band=detail id=12 alignment="0" tabsequence=32766 border="0" color="33554432" x="3438" y="4" height="68" width="805" format="[general]" html.valueishtml="0" name=bcode 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" )
  66. compute(band=footer alignment="2" expression="count(mtrlcode for all)"border="0" color="33554432" x="101" y="4" height="56" width="389" 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" )
  67. compute(band=footer alignment="1" expression="sum(qty for all)"border="0" color="33554432" x="1609" y="4" height="56" width="270" format="##0.#####" 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" )
  68. compute(band=footer alignment="1" expression="sum(amt for all)"border="0" color="33554432" x="2171" y="4" height="56" width="325" 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="1" background.color="536870912" )
  69. compute(band=footer alignment="1" expression="sum( bqty for all)"border="0" color="33554432" x="3150" y="4" height="56" width="279" format="#,##0" 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" )
  70. htmltable(border="1" )
  71. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  72. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  73. import.xml()
  74. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )