$PBExportHeader$dw_msg_mainface_newstyle_demo.srd
release 11.5;
datawindow(units=0 timer_interval=0 color=16777215 brushmode=0 transparency=0 gradient.angle=0 gradient.color=8421504 gradient.focus=0 gradient.repetition.count=0 gradient.repetition.length=100 gradient.repetition.mode=0 gradient.scale=100 gradient.spread=100 gradient.transparency=0 picture.blur=0 picture.clip.bottom=0 picture.clip.left=0 picture.clip.right=0 picture.clip.top=0 picture.mode=0 picture.scale.x=100 picture.scale.y=100 picture.transparency=0 processing=0 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 print.background=no print.preview.background=no print.preview.outline=yes hidegrayline=no showbackcoloronxp=no picture.file="" )
header(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
summary(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
footer(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
detail(height=256 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" height.autosize=yes )
table(column=(type=long updatewhereclause=yes name=msgid dbname="msgid" )
column=(type=datetime updatewhereclause=yes name=senddt dbname="senddt" )
column=(type=char(10) updatewhereclause=yes name=sendemp dbname="sendemp" )
column=(type=long updatewhereclause=yes name=dealflag dbname="dealflag" )
column=(type=datetime updatewhereclause=yes name=dealdt dbname="dealdt" )
column=(type=char(100) updatewhereclause=yes name=s_msgtitle dbname="s_msgtitle" )
column=(type=char(32766) updatewhereclause=no name=s_msg dbname="s_msg" )
column=(type=long updatewhereclause=yes name=sendempid dbname="sendempid" )
column=(type=long updatewhereclause=yes name=empid dbname="empid" )
column=(type=char(30) updatewhereclause=yes name=billcode dbname="billcode" )
column=(type=long updatewhereclause=yes name=scid dbname="scid" )
column=(type=long updatewhereclause=yes identity=yes name=fjcnt dbname="fjcnt" )
column=(type=long updatewhereclause=yes name=read_flag dbname="read_flag" )
column=(type=char(24) updatewhereclause=yes name=fjstr dbname="fjstr" )
column=(type=char(30) updatewhereclause=yes name=relcode dbname="relcode" )
retrieve="SELECT sys_admsgmx.msgid
,sys_admsg.senddt
,sys_admsg.sendemp
,sys_admsgmx.dealflag
,sys_admsgmx.dealdt
,sys_admsgmx.s_msgtitle
,REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(sys_admsgmx.s_msg,
'
','')
,'','')
,'
',''),
'
',''),
' ',''),
' face=幼圆',''),
' face=宋体',''),
' face=~"汉仪旗黑-55 Book~"',''),
' size=2',''),
' size=3',''),
' size=4',''),
' size=5',''),
' size=6',''),
' size=7',''),
'
',''),
' ','') as s_msg
,sys_admsg.sendempid
,sys_admsgmx.empid
,sys_admsgmx.billcode
,sys_admsgmx.scid
,ISNULL(v_fj.fjcnt, 0) AS fjcnt
,Sys_admsgmx.read_flag
,'点击查看'+cast(ISNULL(v_fj.fjcnt, 0) as varchar(10))+'个附件' as fjstr
,case isnull(u_saletask.relcode,'') when '' then sys_admsgmx.billcode else isnull(u_saletask.relcode,'') end as relcode
FROM Sys_admsg
INNER JOIN Sys_admsgmx
ON Sys_admsg.msgid = Sys_admsgmx.msgid
LEFT JOIN (
SELECT count(fjid) as fjcnt, msgid
FROM Sys_admsg_fj
group by msgid
) v_fj
ON Sys_admsgmx.msgid = v_fj.msgid
left outer join u_saletask
on sys_admsgmx.billcode = u_saletask.taskcode" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432~tif( sendempid <> f_sys_empid(),rgb(0,0,255),rgb(0,128,64))" x="50" y="12" height="68" width="233" format="[general]" html.valueishtml="0" name=sendemp visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="8421504" x="1577" y="16" height="56" width="649" format="[general]" html.valueishtml="0" name=fjstr pointer="HyperLink!" visible="1~tif( fjcnt = 0 ,0,1)" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
bitmap(band=detail filename="mt_fj_add.png" x="1495" y="8" height="64" width="73" border="0" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" name=p_fj pointer="HyperLink!" visible="1~tif( fjcnt = 0 ,0,1)" transparency="0" )
column(band=detail id=6 alignment="0" tabsequence=10 border="0" color="33554432" x="101" y="84" height="68" width="2203" format="[general]" html.valueishtml="0" name=s_msgtitle visible="1" edit.limit=100 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.displayonly=yes font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
column(band=detail id=7 alignment="0" tabsequence=20 border="0" color="0" x="105" y="160" height="72" width="2231" format="[general]" html.valueishtml="0" name=s_msg visible="1" height.autosize=yes edit.limit=32000 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.displayonly=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
text(band=detail alignment="1" text="相关号:" border="0" color="21250786" x="768" y="12" height="56" width="256" html.valueishtml="0" name=billcode_t visible="1~tif(len(trim(relcode))> 0 ,1,0)" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432~tif( sendempid <> f_sys_empid(),rgb(0,0,255),rgb(0,128,64))" x="293" y="12" height="68" width="462" format="yyyy/m/d h:mm~tif(date( senddt ) = date(today()), '今天 '+ 'h:mm','yyyy/m/d h:mm')" html.valueishtml="0" name=senddt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
column(band=detail id=15 alignment="0" tabsequence=30 border="0" color="21250786" x="1033" y="12" height="68" width="425" format="[general]" html.valueishtml="0" name=relcode pointer="HyperLink!" visible="1~tif(len(relcode)> 0 ,1,0)" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="1" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.tip="~t'点击打开单据 '+ billcode " tooltip.transparency="0" transparency="0" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
xhtmlgen() cssgen(sessionspecific="0" )
xmlgen(inline="0" )
xsltgen()
jsgen()
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
export.xhtml()