dw_rp_invoice_edit.srd 13 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. $PBExportHeader$dw_rp_invoice_edit.srd
  2. release 9;
  3. datawindow ( units=1 timer_interval=0 color=1073741824 processing=0 print.orientation=0 print.margin.left=24 print.margin.right=24 print.margin.top=24 print.margin.bottom=24 print.paper.size=0 print.paper.source=0 selected.mouse=no)
  4. header(height=136 color="536870912" )
  5. summary(height=38 color="536870912" )
  6. footer(height=29 color="536870912" )
  7. detail(height=43 color="536870912" height.autosize=yes)
  8. table(column=(type=long key=yes update=yes updatewhereclause=yes initial="null" name=scid dbname="u_invoice.scid"
  9. values="分部ID /" )
  10. column=(type=long key=yes update=yes updatewhereclause=yes initial="null" name=invoiceid dbname="u_invoice.invoiceid"
  11. values="单据ID /" )
  12. column=(type=char(20) update=yes updatewhereclause=yes initial="null" name=invoicecode dbname="u_invoice.invoicecode" )
  13. column=(type=long update=yes updatewhereclause=yes initial="null" name=cusid dbname="u_invoice.cusid"
  14. values="客户ID /" )
  15. column=(type=char(30) update=yes updatewhereclause=yes initial="null" name=cuscode dbname="u_invoice.cuscode" )
  16. column=(type=char(100) update=yes updatewhereclause=yes initial="null" name=cusname dbname="u_invoice.cusname" )
  17. column=(type=char(20) update=yes updatewhereclause=yes initial="null" name=currencyname dbname="u_invoice.currencyname" )
  18. column=(type=char(30) update=yes updatewhereclause=yes initial="null" name=bankname dbname="u_invoice.bankname" )
  19. column=(type=datetime update=yes updatewhereclause=yes initial="null" name=invoicedate dbname="u_invoice.invoicedate" )
  20. column=(type=long update=yes updatewhereclause=yes initial="null" name=relid dbname="u_invoice.relid"
  21. values="相关ID /" )
  22. column=(type=char(30) update=yes updatewhereclause=yes initial="null" name=relcode dbname="u_invoice.relcode" )
  23. column=(type=char(255) update=yes updatewhereclause=yes initial="null" name=dscrp dbname="u_invoice.dscrp" )
  24. column=(type=char(10) update=yes updatewhereclause=yes initial="null" name=opemp dbname="u_invoice.opemp"
  25. values="新建人 /" )
  26. column=(type=datetime update=yes updatewhereclause=yes initial="null" name=opdate dbname="u_invoice.opdate"
  27. values="新建日期 /" )
  28. column=(type=char(10) update=yes updatewhereclause=yes initial="null" name=modemp dbname="u_invoice.modemp"
  29. values="修改人 /" )
  30. column=(type=datetime update=yes updatewhereclause=yes initial="null" name=moddate dbname="u_invoice.moddate"
  31. values="修改日期 /" )
  32. column=(type=char(10) update=yes updatewhereclause=yes initial="null" name=auditingrep dbname="u_invoice.auditingrep"
  33. values="审核人 /" )
  34. column=(type=datetime update=yes updatewhereclause=yes initial="null" name=auditingdate dbname="u_invoice.auditingdate"
  35. values="审核时间 /" )
  36. column=(type=long update=yes updatewhereclause=yes initial="null" name=flag dbname="u_invoice.flag"
  37. values="审核标记 /" )
  38. column=(type=long update=yes updatewhereclause=yes initial="null" name=printnum dbname="u_invoice.printnum"
  39. values="打印次数 /" )
  40. retrieve="SELECT u_invoice.scid,
  41. u_invoice.invoiceid,
  42. u_invoice.invoicecode,
  43. u_invoice.cusid,
  44. u_invoice.cuscode,
  45. u_invoice.cusname,
  46. u_invoice.currencyname,
  47. u_invoice.bankname,
  48. u_invoice.invoicedate,
  49. u_invoice.relid,
  50. u_invoice.relcode,
  51. u_invoice.dscrp,
  52. u_invoice.opemp,
  53. u_invoice.opdate,
  54. u_invoice.modemp,
  55. u_invoice.moddate,
  56. u_invoice.auditingrep,
  57. u_invoice.auditingdate,
  58. u_invoice.flag,
  59. u_invoice.printnum
  60. FROM u_invoice
  61. where ( u_invoice.invoiceid = :arg_invoiceid ) and
  62. ( u_invoice.scid = :arg_scid ) and
  63. ( :arg_printrow = :arg_printrow ) and
  64. ( :arg_top = :arg_top )"
  65. update="u_invoice" updatewhere=1 updatekeyinplace=no
  66. arguments=(("arg_scid", number), ("arg_invoiceid", number), ("arg_printrow", number), ("arg_top", number))
  67. )
  68. text(name=t_1 visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-18" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="33554432" alignment="2" border="0" x="167" y="3" height="27" width="264" text="客户收款单" )
  69. text(name=invoicedate_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="33554432" alignment="1" border="0" x="539" y="43" height="15" width="66" text="单据日期" )
  70. text(name=invoicecode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="33554432" alignment="1" border="0" x="539" y="65" height="15" width="66" text="单据编号" )
  71. text(name=cusname_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="33554432" alignment="1" border="0" x="211" y="93" height="15" width="70" text="客户名称" )
  72. column(name=cusname visible="1" tag="cusname" band=header id=6 x="285" y="93" height="17" width="248" color="33554432" border="4" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=100 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="700" tabsequence=0 )
  73. text(name=cuscode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="33554432" alignment="1" border="0" x="0" y="93" height="15" width="76" text="客户编号" )
  74. column(name=cuscode visible="1" tag="cuscode" band=header id=5 x="79" y="93" height="17" width="125" color="33554432" border="4" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=30 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="700" tabsequence=0 )
  75. text(name=relcode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="33554432" alignment="1" border="0" x="539" y="93" height="15" width="66" text="相关单号" )
  76. text(name=dscrp_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="33554432" alignment="1" border="0" x="10" y="116" height="15" width="66" text="备 注" )
  77. column(name=invoicedate visible="1" tag="invoicedate" band=header id=9 x="607" y="43" height="17" width="101" color="33554432" border="4" alignment="0" format="yyyy-mm-dd" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  78. column(name=invoicecode visible="1" tag="invoicecode" band=header id=3 x="607" y="65" height="17" width="101" color="33554432" border="4" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=20 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  79. column(name=relcode visible="1" tag="relcode" band=header id=11 x="607" y="93" height="17" width="101" color="33554432" border="4" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=30 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  80. column(name=dscrp visible="1" tag="dscrp" band=header id=12 x="79" y="116" height="17" width="629" color="33554432" border="4" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=255 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  81. compute(name=compute_1 visible="1" tag="'第 ' + page() + ' 页/共 ' + pageCount()+' 页'" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="33554432" x="540" y="4" height="15" width="167" format="[GENERAL]" expression="'第 ' + page() + ' 页/共 ' + pageCount()+' 页'" alignment="0" border="0" crosstab.repeat=no )
  82. compute(name=compute_2 visible="1" tag="if( printnum > 0,'(重复打印-'+string( printnum )+')','')" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="33554432" x="540" y="21" height="15" width="167" format="[GENERAL]" expression="if( printnum > 0,'(重复打印-'+string( printnum )+')','')" alignment="0" border="0" crosstab.repeat=no )
  83. report(name=dw_2 visible="1" height.autosize=yes slideup=directlyabove band=summary x="0" y="1" height="34" width="609" border="0" trail_footer=yes dataobject="dw_rp_invoicemx_sumamt" nest_arguments=
  84. ((" arg_scid "),(" arg_invoiceid ")))
  85. text(name=currencyname_t visible="1" band=footer font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="33554432" alignment="1" border="0" x="0" y="6" height="15" width="66" text="币 种" )
  86. column(name=currencyname visible="1" tag="currencyname" band=footer id=7 x="69" y="6" height="17" width="147" color="33554432" border="4" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=20 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  87. text(name=bankname_t visible="1" band=footer font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="33554432" alignment="1" border="0" x="227" y="6" height="15" width="66" text="结算方式" )
  88. column(name=bankname visible="1" tag="bankname" band=footer id=8 x="296" y="6" height="17" width="217" color="33554432" border="4" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=30 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  89. report(name=dw_1 visible="1" slideleft=yes height.autosize=yes slideup=directlyabove band=detail x="4" y="3" height="34" width="727" border="0" trail_footer=yes dataobject="dw_rp_invoicemx_index" nest_arguments=
  90. ((" arg_scid "),(" arg_invoiceid "),(" arg_printrow "),(" arg_top ")))
  91. htmltable()
  92. htmlgen()
  93. export.xml(metadatatype=0 savemetadata=0 )
  94. import.xml()
  95. export.pdf(method=0 )