<monitorConfiguration>
<debug>ON</debug>
<trace>OFF</trace>
<monitors>
	<monitor0>
		<table>900EVE</table>
		<condition>EVELista3= 'Esperando Cliente' AND EVEFecha2 &lt;= *HOY* AND EVECodAgente=42</condition>
		<fields>EVECodigo, EVEEnlaceP, EVECodAgente,EVELista3,EVEFecha2,EVENombre</fields>
		<DBactions>
			<DBaction0 type='update' ocurrences='one'>
				<table>900EVE</table>
				<updateFields>
					<updatedField0>EVELista3='Perdido'</updatedField0>
					<updatedField1>EVELista4='No Contesto'</updatedField1>
				</updateFields>
				<where>EVELista3= 'Esperando Cliente' AND EVEFecha2 &lt;= *HOY* AND EVECodAgente=42</where>
			</DBaction0>
			<DBaction1 type='delete' ocurrences='one'>
				<table>900EVE</table>
				<where>EVECodigo='164463'</where>
			</DBaction1>
			<DBaction2 type='insert' ocurrences='all'>
				<table>900AR2</table>
				<insertFields>
					<insertField0>AR2Lista2='Planificado'</insertField0>
					<insertField1>AR2EnlaceE=*EVECodigo*</insertField1>
					<insertField2>AR2Nombre='Prueba Mila *EVENombre*'</insertField2>
				</insertFields>
			</DBaction2>
		</DBactions>
		<messages>
			<message0  ocurrences='all'>
				<from>42</from>
				<to>42,1</to> 
				<subject>Prueba mensaje</subject>
				<content>Esto es una prueba de la configuracion del monitor</content>
				<email>SI</email>
				<options></options>
			</message0>
		</messages>
		<emails>
			<email0  ocurrences='one'>
				<fromName>Mila</fromName>
				<from>milagro.feijoo@gmail.com</from>
				<to>beatriz.gonzalez@gmail.com</to>
				<subject>Prueba email</subject>
				<content>Prueba de configuracion de monitor</content>
			</email0>
		</emails>
	</monitor0>
</monitors>
</monitorConfiguration>