dw_rp_update_costmx_edit.srd 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. $PBExportHeader$dw_rp_update_costmx_edit.srd
  2. release 9;
  3. datawindow ( units=1 timer_interval=0 color=1073741824 processing=1 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 grid.lines=0 selected.mouse=yes)
  4. header(height=18 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=19 color="536870912" )
  8. table(column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" )
  9. column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
  10. column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_updatecostmx_newcost dbname="u_updatecostmx.newcost" )
  11. column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_updatecostmx_noallocqty dbname="u_updatecostmx.noallocqty" )
  12. column=(type=char(30) updatewhereclause=yes initial="null" name=u_updatecostmx_plancode dbname="u_updatecostmx.plancode"
  13. values="库存成本价调整单明细表-批号 /" )
  14. column=(type=char(255) updatewhereclause=yes initial="null" name=u_updatecostmx_status dbname="u_updatecostmx.status" )
  15. column=(type=char(255) updatewhereclause=yes initial="null" name=u_updatecostmx_mxdscrp dbname="u_updatecostmx.mxdscrp" )
  16. column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_updatecostmx_wareamt dbname="u_updatecostmx.wareamt"
  17. values="U Updatecostmx
  18. Wareamt /" )
  19. column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_updatecostmx_planprice dbname="u_updatecostmx.planprice"
  20. values="U Updatecostmx
  21. Planprice /" )
  22. column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_updatecostmx_newprice dbname="u_updatecostmx.newprice"
  23. values="U Updatecostmx
  24. Newprice /" )
  25. column=(type=char(255) updatewhereclause=yes initial="null" name=u_updatecostmx_woodcode dbname="u_updatecostmx.woodcode"
  26. values="库存成本价调整单明细表-配置1 /" )
  27. column=(type=char(255) updatewhereclause=yes initial="null" name=u_updatecostmx_pcode dbname="u_updatecostmx.pcode"
  28. values="库存成本价调整单明细表-配置2 /" )
  29. column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_updatecostmx_cost dbname="u_updatecostmx.cost" )
  30. column=(type=datetime updatewhereclause=yes initial="null" name=u_updatecostmx_waredate dbname="u_updatecostmx.waredate"
  31. values="U Updatecostmx
  32. Waredate /" )
  33. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  34. column=(type=char(10) updatewhereclause=yes initial="null" name=u_mtrldef_unit dbname="u_mtrldef.unit"
  35. values="物料定义表-标准库存单位 /" )
  36. column=(type=decimal(4) updatewhereclause=yes initial="null" name=u_mtrldef_packqty dbname="u_mtrldef.packqty"
  37. values="物料定义表-包装件数 /" )
  38. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_prdpackcode dbname="u_mtrldef.prdpackcode"
  39. values="物料定义表-包装单位 /" )
  40. column=(type=long updatewhereclause=yes initial="null" name=u_updatecostmx_mtrlwareid dbname="u_updatecostmx.mtrlwareid"
  41. values="库存成本价调整单明细表-库存ID /" )
  42. column=(type=long updatewhereclause=yes initial="null" name=u_updatecostmx_mtrlid dbname="u_updatecostmx.mtrlid"
  43. values="库存成本价调整单明细表-物料ID /" )
  44. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlsectype dbname="u_mtrldef.mtrlsectype"
  45. values="物料定义表-自定义1 /" )
  46. column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_zxmtrlmode dbname="u_mtrldef.zxmtrlmode"
  47. values="物料定义表-自定义2 /" )
  48. column=(type=char(50) updatewhereclause=yes initial="null" name=sptname dbname="sptname"
  49. values="Sptname /" )
  50. column=(type=char(20) updatewhereclause=yes initial="null" name=sptcode dbname="sptcode"
  51. values="Sptcode /" )
  52. retrieve="SELECT
  53. u_mtrldef.mtrlcode,
  54. u_mtrldef.mtrlname,
  55. u_updatecostmx.newcost,
  56. u_updatecostmx.noallocqty,
  57. u_updatecostmx.plancode,
  58. u_updatecostmx.status,
  59. u_updatecostmx.mxdscrp,
  60. u_updatecostmx.wareamt,
  61. u_updatecostmx.planprice,
  62. u_updatecostmx.newprice,
  63. u_updatecostmx.woodcode,
  64. u_updatecostmx.pcode,
  65. u_updatecostmx.cost,
  66. u_updatecostmx.waredate,
  67. u_mtrldef.mtrlmode,
  68. u_mtrldef.unit,
  69. u_mtrldef.packqty,
  70. u_mtrldef.prdpackcode,
  71. u_updatecostmx.mtrlwareid,
  72. u_updatecostmx.mtrlid ,
  73. u_mtrldef.mtrlsectype,
  74. u_mtrldef.zxmtrlmode,
  75. isnull(u_cust.name,'') as sptname,
  76. isnull(u_cust.cuscode,'') as sptcode
  77. FROM u_updatecostmx left outer join u_mtrlware on
  78. u_updatecostmx.mtrlwareid = u_mtrlware.mtrlwareid
  79. left outer join u_cust
  80. on ( u_mtrlware.sptid = u_cust.cusid ),
  81. u_mtrldef
  82. WHERE ( u_updatecostmx.mtrlid = u_mtrldef.mtrlid ) and
  83. ( u_updatecostmx.wareid = :arg_wareid ) AND
  84. ( u_updatecostmx.scid = :arg_scid )"
  85. arguments=(("arg_scid", number), ("arg_wareid", number))
  86. )
  87. text(name=u_updatecostmx_status_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="328" y="2" height="14" width="113" text="属性" )
  88. text(name=u_updatecostmx_mxdscrp_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="680" y="2" height="14" width="59" text="明细备注" )
  89. text(name=u_updatecostmx_noallocqty_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="443" y="2" height="14" width="82" text="数量" )
  90. text(name=u_updatecostmx_cost_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="527" y="2" height="14" width="72" text="成本价" )
  91. text(name=u_mtrldef_mtrlmode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="228" y="2" height="14" width="98" text="规格" )
  92. text(name=u_updatecostmx_newcost_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="601" y="2" height="14" width="77" text="新成本价" )
  93. text(name=u_mtrldef_mtrlname_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="122" y="2" height="14" width="104" text="品名" )
  94. text(name=u_mtrldef_mtrlcode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="23" y="2" height="14" width="97" text="编码" )
  95. text(name=t_1 visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="2" y="2" height="14" width="19" text="序" )
  96. column(name=u_updatecostmx_status visible="1" tag="u_updatecostmx_status" band=detail id=6 x="328" y="2" height="15" width="113" color="0" border="0" 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  97. column(name=u_updatecostmx_mxdscrp visible="1" tag="u_updatecostmx_mxdscrp" band=detail id=7 x="680" y="2" height="15" width="59" color="0" border="0" 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  98. column(name=u_updatecostmx_noallocqty visible="1" tag="u_updatecostmx_noallocqty" band=detail id=4 x="443" y="2" height="15" width="82" color="0" border="0" alignment="1" format="#,###0.###" 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  99. column(name=u_updatecostmx_cost visible="1" tag="u_updatecostmx_cost" band=detail id=13 x="527" y="2" height="15" width="72" color="0" border="0" alignment="1" format="#,##0.##########" protect="0" edit.format="#,##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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  100. column(name=u_mtrldef_mtrlmode visible="1" tag="u_mtrldef_mtrlmode" band=detail id=15 x="228" y="2" height="15" width="98" color="0" border="0" 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  101. column(name=u_updatecostmx_newcost visible="1" tag="u_updatecostmx_newcost" band=detail id=3 x="601" y="2" height="15" width="77" color="0" border="0" alignment="1" format="#,##0.##########" protect="0" edit.format="#,##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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  102. column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" band=detail id=2 x="122" y="2" height="15" width="104" color="0" border="0" 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=50 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  103. column(name=u_mtrldef_mtrlcode visible="1" tag="u_mtrldef_mtrlcode" band=detail id=1 x="23" y="2" height="15" width="97" color="0" border="0" 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  104. compute(name=printid visible="1" tag="getrow()" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="2" y="2" height="15" width="19" format="[GENERAL]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no )
  105. htmltable()
  106. htmlgen()
  107. export.xml(metadatatype=0 savemetadata=0 )
  108. import.xml()
  109. export.pdf(method=0 )