123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- $PBExportHeader$dw_rp_inwaremx_wfjg_edit_th.srd
- release 9;
- datawindow ( units=1 timer_interval=0 color=16777215 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)
- header(height=23 color="536870912" )
- summary(height=0 color="536870912" )
- footer(height=0 color="536870912" )
- detail(height=26 color="536870912" height.autosize=yes)
- table(column=(type=decimal(4) updatewhereclause=yes initial="null" name=ow_wfjgmx_in_aft_qty dbname="ow_wfjgmx_in_aft.qty" )
- column=(type=decimal(10) updatewhereclause=yes initial="null" name=ow_wfjgmx_in_aft_planprice dbname="ow_wfjgmx_in_aft.planprice"
- values="planprice /" )
- column=(type=char(10) updatewhereclause=yes initial="null" name=u_mtrldef_unit dbname="u_mtrldef.unit" )
- column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" )
- column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
- column=(type=char(255) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlmode dbname="u_mtrldef_mtrlmode" )
- column=(type=char(30) updatewhereclause=yes initial="null" name=ow_wfjgmx_in_aft_plancode dbname="ow_wfjgmx_in_aft.plancode"
- values="批号 /" )
- column=(type=long updatewhereclause=yes initial="null" name=ow_wfjgmx_in_aft_inwareid dbname="ow_wfjgmx_in_aft.inwareid"
- values="外协收货单ID /" )
- column=(type=decimal(10) updatewhereclause=yes initial="null" name=ow_wfjgmx_in_aft_jgprice dbname="ow_wfjgmx_in_aft.jgprice" )
- column=(type=char(255) updatewhereclause=yes initial="null" name=ow_wfjgmx_in_aft_mxdscrp dbname="ow_wfjgmx_in_aft.mxdscrp" )
- column=(type=char(15) updatewhereclause=yes initial="null" name=u_order_wfjg_taskcode dbname="u_order_wfjg.TaskCode" )
- column=(type=long updatewhereclause=yes initial="null" name=ow_wfjgmx_in_aft_printid dbname="ow_wfjgmx_in_aft.printid"
- values="序号 /" )
- retrieve="SELECT ow_wfjgmx_in_aft.qty,
- ow_wfjgmx_in_aft.planprice,
- u_mtrldef.unit,
- u_mtrldef.mtrlcode,
- u_mtrldef.mtrlname,
- case len(ltrim(rtrim(ow_wfjgmx_in_aft.status))) when 0 then u_mtrldef.mtrlmode else ow_wfjgmx_in_aft.status end as u_mtrldef_mtrlmode,
- ow_wfjgmx_in_aft.plancode,
- ow_wfjgmx_in_aft.inwareid,
- ow_wfjgmx_in_aft.jgprice,
- ow_wfjgmx_in_aft.mxdscrp,
- u_order_wfjg.TaskCode,
- ow_wfjgmx_in_aft.printid
- FROM ow_wfjgmx_in_aft LEFT OUTER JOIN u_order_wfjg ON ow_wfjgmx_in_aft.relid = u_order_wfjg.wfjgid,
- u_mtrldef
- WHERE ( ow_wfjgmx_in_aft.mtrlid = u_mtrldef.mtrlid ) and
- ( ow_wfjgmx_in_aft.inwareid = :arg_inwareid ) and
- ( ow_wfjgmx_in_aft.scid = :arg_scid ) and
- ( :arg_printrow = :arg_printrow ) and
- ( :arg_top = :arg_top )
- union all
- SELECT TOP :arg_top null, null, null, null, null, null, null,null, null, null, null, 10000
- FROM syscolumns
-
- "
- arguments=(("arg_scid", number), ("arg_inwareid", number), ("arg_printrow", number), ("arg_top", number))
- )
- group(level=1 header.height=0 trailer.height=19 by=("aa" ) header.color="536870912" header.pointer="aa" trailer.color="536870912" newpage=yes )
- compute(name=aa visible="0" tag="ceiling( getrow() / arg_printrow )" band=background font.charset="0" font.face="Arial" font.family="2" font.height="-12" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" x="487" y="58" height="19" width="24" format="[GENERAL]" expression="ceiling( getrow() / arg_printrow )" alignment="0" border="0" crosstab.repeat=no )
- text(name=t_1 visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="2" y="4" height="17" width="14" text="序" )
- text(name=u_mtrldef_mtrlcode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="18" y="4" height="17" width="78" text="编码" )
- text(name=u_mtrldef_mtrlname_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="98" y="4" height="17" width="88" text="品名" )
- text(name=ow_wfjgmx_in_aft_qty_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="348" y="4" height="17" width="57" text="数量" )
- text(name=t_2 visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="467" y="4" height="17" width="75" text="金额" )
- text(name=u_mtrldef_unit_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="281" y="4" height="17" width="65" text="库存单位" )
- text(name=ow_wfjgmx_in_aft_mxdscrp_t visible="1" band=header font.charset="0" font.face="宋体" font.family="2" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="544" y="4" height="17" width="93" text="明细备注" )
- text(name=ow_wfjgmx_in_aft_jgprice_t visible="1" band=header font.charset="0" font.face="宋体" font.family="2" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="407" y="4" height="17" width="58" text="单价" )
- text(name=u_order_wfjg_taskcode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="639" y="4" height="17" width="65" text="加工单号" )
- text(name=u_mtrldef_mtrlmode_t visible="1" band=header font.charset="0" font.face="宋体" font.family="2" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="188" y="4" height="17" width="91" text="规格" )
- compute(name=cmpl2 visible="1" tag="getrow()" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="2" y="4" height="20" width="14" format="[general]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no )
- column(name=u_mtrldef_mtrlcode visible="1" tag="u_mtrldef_mtrlcode" band=detail id=4 x="18" y="4" height="20" width="78" 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="-10" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" height.autosize=yes band=detail id=5 x="98" y="4" height="20" width="88" 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="-11" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=ow_wfjgmx_in_aft_qty visible="1" tag="ow_wfjgmx_in_aft_qty" band=detail id=1 x="348" y="4" height="20" width="57" color="0" border="0" alignment="1" format="#,##0.####" protect="0" edit.format="#########0.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="-11" font.pitch="2" font.weight="400" tabsequence=0 )
- compute(name=cmpl1 visible="1" tag="ow_wfjgmx_in_aft_jgprice * ow_wfjgmx_in_aft_qty " band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="467" y="4" height="20" width="75" format="#,##0.00" expression="ow_wfjgmx_in_aft_jgprice * ow_wfjgmx_in_aft_qty " alignment="1" border="0" crosstab.repeat=no )
- column(name=u_mtrldef_unit visible="1" tag="u_mtrldef_unit" band=detail id=3 x="281" y="4" height="20" width="65" color="0" border="0" alignment="2" format="[general]" protect="0" edit.autohscroll=no 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="-11" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=ow_wfjgmx_in_aft_mxdscrp visible="1" tag="ow_wfjgmx_in_aft_mxdscrp" height.autosize=yes band=detail id=10 x="544" y="4" height="20" width="93" color="0" border="0" alignment="2" format="[general]" protect="0" edit.autohscroll=no 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="-10" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=ow_wfjgmx_in_aft_jgprice visible="1" tag="ow_wfjgmx_in_aft_jgprice" band=detail id=9 x="407" y="4" height="20" width="58" color="0" border="0" alignment="1" format="#,##0.00########" protect="0" edit.autohscroll=no 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="-11" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=u_order_wfjg_taskcode visible="1" tag="u_order_wfjg_taskcode" band=detail id=11 x="639" y="4" height="20" width="65" color="0" border="0" alignment="0" format="[general]" protect="0" edit.autohscroll=no 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="-10" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=u_mtrldef_mtrlmode visible="1" tag="u_mtrldef_mtrlmode" band=detail id=6 x="188" y="4" height="20" width="91" color="0" border="0" alignment="0" format="[general]" protect="0" edit.autohscroll=no 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="-10" font.pitch="2" font.weight="400" tabsequence=0 )
- compute(name=compute_1 visible="1" tag="count(u_mtrldef_mtrlname for group 1)" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="98" y="1" height="17" width="88" format="[general]" expression="count(u_mtrldef_mtrlname for group 1)" alignment="2" border="0" crosstab.repeat=no )
- text(name=t_3 visible="1" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="18" y="1" height="17" width="78" text="本页小计" )
- compute(name=compute_3 visible="1" tag="sum(ow_wfjgmx_in_aft_qty for group 1)" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="348" y="1" height="17" width="57" format="#,##0.####" expression="sum(ow_wfjgmx_in_aft_qty for group 1)" alignment="1" border="0" crosstab.repeat=no )
- compute(name=compute_2 visible="1" tag="sum(ow_wfjgmx_in_aft_jgprice * ow_wfjgmx_in_aft_qty for group 1)" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="467" y="1" height="17" width="75" format="#,##0.00" expression="sum(ow_wfjgmx_in_aft_jgprice * ow_wfjgmx_in_aft_qty for group 1)" alignment="1" border="0" crosstab.repeat=no )
- htmltable()
- htmlgen()
- export.xml(metadatatype=0 savemetadata=0 )
- import.xml()
- export.pdf(method=0 )
|