$PBExportHeader$dw_obs_medipar_formato_a4_36_30.srd
$PBExportComments$EParera INC5271
release 22;
datawindow(units=0 data.export.format=1 timer_interval=0 color=1073741824 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=48 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=20 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=decimal(0) updatewhereclause=yes name=t_com_cab_cod dbname="t_com_cab.cod" )
 column=(type=char(32767) updatewhereclause=no name=texto dbname="texto" )
 column=(type=char(32767) updatewhereclause=no name=parametro dbname="parametro" )
 column=(type=char(1) updatewhereclause=yes name=es_formula dbname="t_sgp_convenios_textos.es_formula" )
 column=(type=char(20) updatewhereclause=yes name=cod_entidad dbname="t_com_cab.cod_entidad" initial="0" )
 column=(type=long updatewhereclause=yes name=cod_convenio dbname="t_com_cab.cod_convenio" )
 column=(type=datetime updatewhereclause=yes name=fec_emision dbname="t_com_cab.fec_emision" )
 retrieve="select 
		t_com_cab.cod,
		cast(tx.texto as varchar(max)) as texto,
		cast(tx.parametro as varchar(max)) as parametro, 
		tx.es_formula,
		t_com_cab.cod_entidad,
		t_com_cab.cod_convenio,
		t_com_cab.fec_emision
from t_sgp_convenios_textos tx
		join t_com_cab on tx.cod_convenio = t_com_cab.cod_convenio
where 
		tx.aplicar_a in ('C', 'A') AND
		t_com_cab.fec_emision >= tx.fec_desde and 
		(t_com_cab.fec_emision < dateadd(day, 1, tx.fec_hasta) or tx.fec_hasta is null) 
		and 
		t_com_cab.cod = :id
union

select
		cast (null as int) ,
		REPLACE(CAST (t_com_cab.observacion as varchar(max)),'/',''),
		'',
		'',
		'',	
		cast (null as int) ,
		cast (null as datetime)
from t_com_cab
where t_com_cab.cod = :id" arguments=(("id", number)) )
text(band=header alignment="3" text="Observaciones:" border="0" color="33554432" x="14" y="0" height="44" width="293" html.valueishtml="0"  name=t_1 visible="1"  font.face="Arial Narrow" font.height="-7" font.weight="700"  font.family="2" font.pitch="2" font.charset="1" 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="2" text="-" border="0" color="33554432" x="0" y="4" height="40" width="18" html.valueishtml="0"  name=texto_t visible="1~tif(es_formula = 'S', f_ver_txt_comprobante (cod_convenio, cod_entidad, fec_emision, parametro), if((not isnull(texto)) and trim(texto)<>'',1,0))"  font.face="MS Sans Serif" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" 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" x="27" y="4" height="52" width="2144" format="[general]" html.valueishtml="0"  name=texto visible="1~tif(es_formula = 'S', f_ver_txt_comprobante (cod_convenio, cod_entidad, fec_emision, parametro),1)"  resizeable=1 height.autosize=yes edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no  font.face="Arial Narrow" font.height="-7" font.weight="400"  font.family="2" font.pitch="2" font.charset="1" 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" )
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=2 distill.custompostscript="0" nativepdf.customsize=0 nativepdf.customorientation=0 nativepdf.pdfstandard=0 nativepdf.useprintspec=yes )
export.xhtml()
 