dw_outwaremovemx_mod_edit.srd 13 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. $PBExportHeader$dw_outwaremovemx_mod_edit.srd
  2. release 9;
  3. datawindow(units=0 timer_interval=0 color=16777215 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 selected.mouse=no )
  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=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" initial="empty" )
  9. column=(type=decimal(4) updatewhereclause=yes name=u_outwaremovemx_qty dbname="u_OutWaremoveMx.Qty" initial="0" )
  10. column=(type=decimal(5) updatewhereclause=yes name=u_outwaremovemx_addqty dbname="u_OutWaremoveMx.addqty" initial="0" )
  11. column=(type=decimal(10) update=yes updatewhereclause=yes name=u_outwaremovemx_price dbname="u_OutWaremoveMx.price" initial="0" )
  12. column=(type=char(255) updatewhereclause=yes name=u_outwaremovemx_mxdscrp dbname="u_OutWaremoveMx.Mxdscrp" initial="empty" )
  13. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" initial="empty" )
  14. column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" initial="empty" )
  15. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrltype dbname="u_mtrldef.mtrltype" initial="empty" )
  16. column=(type=long updatewhereclause=yes key=yes name=u_outwaremovemx_outwareid dbname="u_OutWaremoveMx.outWareID" initial="0" )
  17. column=(type=long updatewhereclause=yes name=u_outwaremovemx_mtrlwareid dbname="u_OutWaremoveMx.MtrlWareID" initial="0" )
  18. column=(type=long updatewhereclause=yes name=u_outwaremovemx_mtrlid dbname="u_OutWaremoveMx.MtrlID" initial="0" )
  19. column=(type=long updatewhereclause=yes name=u_outwaremovemx_storageid dbname="u_OutWaremoveMx.StorageID" initial="0" )
  20. column=(type=decimal(10) updatewhereclause=yes name=u_outwaremovemx_cost dbname="u_OutWaremoveMx.Cost" initial="0" )
  21. column=(type=long updatewhereclause=yes key=yes name=u_outwaremovemx_printid dbname="u_OutWaremoveMx.Printid" initial="0" )
  22. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" initial="empty" )
  23. column=(type=long updatewhereclause=yes key=yes name=u_outwaremovemx_scid dbname="u_OutWaremoveMx.scid" initial="0" )
  24. column=(type=char(30) updatewhereclause=yes name=u_outwaremovemx_plancode dbname="u_OutWaremoveMx.plancode" initial="empty" )
  25. column=(type=char(255) updatewhereclause=yes name=u_outwaremovemx_status dbname="u_OutWaremoveMx.status" initial="empty" )
  26. column=(type=char(255) updatewhereclause=yes name=u_outwaremovemx_pcode dbname="u_OutWaremoveMx.pcode" initial="empty" )
  27. column=(type=char(255) updatewhereclause=yes name=u_outwaremovemx_woodcode dbname="u_OutWaremoveMx.woodcode" initial="empty" )
  28. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlsectype dbname="u_mtrldef.mtrlsectype" initial="empty" )
  29. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_zxmtrlmode dbname="u_mtrldef.zxmtrlmode" initial="empty" )
  30. column=(type=char(20) updatewhereclause=yes name=u_cust_cuscode dbname="u_cust.cuscode" initial="empty" )
  31. column=(type=char(50) updatewhereclause=yes name=u_cust_name dbname="u_cust.name" initial="empty" )
  32. column=(type=char(255) updatewhereclause=yes name=u_mtrldef_waredscrp dbname="u_mtrldef.waredscrp" )
  33. column=(type=datetime updatewhereclause=yes name=u_mtrlware_inworkdate dbname="u_mtrlware.inworkdate" )
  34. retrieve="SELECT u_mtrldef.mtrlcode,
  35. u_OutWaremoveMx.Qty,
  36. u_OutWaremoveMx.addqty,
  37. u_OutWaremoveMx.price,
  38. u_OutWaremoveMx.Mxdscrp,
  39. u_mtrldef.mtrlname,
  40. u_mtrldef.unit,
  41. u_mtrldef.mtrltype,
  42. u_OutWaremoveMx.outWareID,
  43. u_OutWaremoveMx.MtrlWareID,
  44. u_OutWaremoveMx.MtrlID,
  45. u_OutWaremoveMx.StorageID,
  46. u_OutWaremoveMx.Cost,
  47. u_OutWaremoveMx.Printid,
  48. u_mtrldef.mtrlmode,
  49. u_OutWaremoveMx.scid,
  50. u_OutWaremoveMx.plancode,
  51. u_OutWaremoveMx.status,
  52. u_OutWaremoveMx.pcode,
  53. u_OutWaremoveMx.woodcode,
  54. u_mtrldef.mtrlsectype,
  55. u_mtrldef.zxmtrlmode,
  56. u_cust.cuscode,
  57. u_cust.name,
  58. case when u_mtrlware.waredscrp is null then '' else u_mtrlware.waredscrp end as waredscrp,
  59. u_mtrlware.inworkdate
  60. FROM u_mtrldef INNER JOIN
  61. u_OutWaremoveMx ON
  62. u_mtrldef.mtrlid = u_OutWaremoveMx.MtrlID INNER JOIN
  63. u_mtrlware ON
  64. u_OutWaremoveMx.MtrlWareID = u_mtrlware.mtrlwareid LEFT OUTER JOIN
  65. u_cust ON u_mtrlware.Sptid = u_cust.cusid
  66. where ( u_outwaremovemx.outwareid = :arg_outwareid )
  67. " update="u_OutWaremoveMx" updatewhere=0 updatekeyinplace=no arguments=(("arg_outwareid", number)) sort="u_outwaremovemx_printid A " )
  68. text(band=header alignment="2" text="品名" border="0" color="33554432" x="480" y="8" height="56" width="690" html.valueishtml="0" name=u_mtrldef_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" )
  69. text(band=header alignment="2" text="序" border="0" color="33554432" x="9" y="8" height="56" width="59" 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" )
  70. text(band=header alignment="2" text="编码" border="0" color="33554432" x="78" y="8" height="56" width="393" html.valueishtml="0" name=u_mtrldef_mtrlcode_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="16776960" )
  71. text(band=header alignment="2" text="规格" border="0" color="33554432" x="1179" y="8" height="56" width="370" html.valueishtml="0" name=u_mtrldef_mtrlmode_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" )
  72. text(band=header alignment="2" text="数量" border="0" color="33554432" x="1559" y="8" height="56" width="283" html.valueishtml="0" name=u_outwaremovemx_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" )
  73. text(band=header alignment="2" text="金额" border="0" color="33554432" x="2414" y="8" height="56" width="357" 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" )
  74. text(band=header alignment="2" text="辅数" border="0" color="33554432" x="1851" y="8" height="56" width="279" html.valueishtml="0" name=u_outwaremovemx_addqty_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" )
  75. text(band=header alignment="2" text="单价" border="0" color="16711680" x="2139" y="8" height="56" width="265" html.valueishtml="0" name=u_outwaremovemx_price_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" )
  76. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="480" y="4" height="68" width="690" 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" )
  77. compute(band=detail alignment="2" expression="getrow()"border="0" color="33554432" x="9" y="4" height="68" width="59" format="[general]" html.valueishtml="0" name=pid 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" )
  78. column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="78" y="4" height="68" width="393" 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="2" background.color="16776960" )
  79. column(band=detail id=15 alignment="0" tabsequence=32766 border="0" color="33554432" x="1179" y="4" height="68" width="370" 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" )
  80. compute(band=detail alignment="1" expression=" round(u_outwaremovemx_qty * u_outwaremovemx_price ,2)"border="0" color="33554432" x="2414" y="4" height="68" width="357" format="#,##0.00" html.valueishtml="0" name=amt 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" )
  81. column(band=detail id=2 alignment="1" tabsequence=32766 border="0" color="33554432" x="1559" y="4" height="68" width="283" format="#,##0.####" html.valueishtml="0" name=u_outwaremovemx_qty visible="1" edit.limit=0 edit.case=any edit.format="#,##0.####" 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" )
  82. column(band=detail id=3 alignment="1" tabsequence=32766 border="0" color="33554432" x="1851" y="4" height="68" width="279" format="#,##0.####" html.valueishtml="0" name=u_outwaremovemx_addqty visible="1" edit.limit=0 edit.case=any edit.format="#,##0.####" 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" )
  83. column(band=detail id=4 alignment="1" tabsequence=10 border="0" color="16711680" x="2139" y="4" height="68" width="265" format="#,##0.##########" html.valueishtml="0" name=u_outwaremovemx_price visible="1" edit.limit=0 edit.case=any edit.format="#,##0.##########" 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" )
  84. compute(band=footer alignment="2" expression="count( u_mtrldef_mtrlcode for all )"border="0" color="33554432" x="78" y="4" height="56" width="393" 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" )
  85. compute(band=footer alignment="1" expression="sum( round(u_outwaremovemx_qty * u_outwaremovemx_price ,2) for all)"border="0" color="33554432" x="2414" y="4" height="56" width="357" 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" )
  86. compute(band=footer alignment="1" expression="sum(u_outwaremovemx_qty for all)"border="0" color="33554432" x="1559" y="4" height="56" width="283" 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" )
  87. compute(band=footer alignment="1" expression="sum(u_outwaremovemx_addqty for all)"border="0" color="33554432" x="1851" y="4" height="56" width="279" format="#,##0.####" 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" )
  88. htmltable(border="1" )
  89. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  90. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  91. import.xml()
  92. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )