<?xml version="1.0" encoding="UTF-8"?>
<component id="mandamientos_recibos_QWSR">
    <title>COLA DE MANDAMIENTOS</title>
    <component_type>Master-Detail</component_type>    
    <document_type>GRID MASTER - FORM_FORM</document_type>
    <base_path>..</base_path>
    <html_file>mandamientos_recibos</html_file>
    <process_bin>mdp.pl</process_bin>    
    <process_schema>mandamientos_recibos_queu.xml</process_schema>
    <rows>600</rows>
    <width>1100</width>
    <height>700</height>
    <source>   
        <table>sdm_mandamientos</table>
        <id_field>i8_mandamiento_id</id_field>
        <filters>
            <fields>i2_cajero_id,c4_status_mandamiento_id</fields>
            <field id="c4_status_mandamiento_id" type="post" value="OPEN"></field>
            <field id="i2_cajero_id" type="get" value="null"></field>
            <field id="null"></field>
        </filters>
        <select_fields>i8_mandamiento_id,v128_contribuyente,i8_emisor_id,ts_in</select_fields>
        <select_labels id="i8_emisor_id">
            <id_type>PIVOT</id_type>
            
            <table>sdm_users</table>
            <id_field>i8_user_id</id_field>
            <fields>v32_lname,v32_fname</fields>
            <document_fields>v32_lname,v32_fname</document_fields>
        </select_labels>
        <select_labels id="null"></select_labels>
        <grid_columns>i8_mandamiento_id,v128_contribuyente,i8_user_id,v32_fname,v32_lname,ts_in,del</grid_columns>
        <column id="i8_mandamiento_id">
            <width>10</width>            
            <header>ID</header>        
            <element_type>input_text</element_type>            
            <element_properties>
                <readonly>NO</readonly>            
                <onkeypress>NO</onkeypress>
                <onChange>NO</onChange>            
                <ondblclick>NO</ondblclick>
                <onClick>GridOpenWindow(this,'i8_mandamiento_id')</onClick>                
                <onmouseover>Hilite()</onmouseover>
                <onmouseout>Restore()</onmouseout>
            </element_properties>
            <component>i8_mandamiento_id|QMD|mandamientos|i8_mandamiento_id|parent.opener.parent.form.document.form|200|100||</component>
        </column>
        <column id="v128_contribuyente">
            <width>64</width>            
            <header>CONTRIBUYENTE</header>
            <element_type>input_text</element_type>            
            <element_properties>
                <readonly>NO</readonly>            
                <onkeypress>NO</onkeypress>
                <onChange>NO</onChange>            
                <onClick>generarRecibo(this)</onClick>                
                <onmouseover>Hilite()</onmouseover>
                <onmouseout>Restore()</onmouseout>
            </element_properties>
        </column>
        <column id="d82_total">
            <width>10</width>            
            <header>MONTO USD</header>
            <element_type>input_text</element_type>            
            <element_properties>
                <readonly>NO</readonly>            
                <onkeypress>NO</onkeypress>
                <onChange>NO</onChange>            
                <onClick>NO</onClick>                
                <onmouseover>Hilite()</onmouseover>
                <onmouseout>Restore()</onmouseout>
            </element_properties>
            <!--component>i8_mandamiento_id|QMD|mandamientos|i8_mandamiento_id|parent.opener.parent.form.document.form|200|100||</component-->
        </column>
        <column id="ts_in">
            <width>16</width>     
            <header>DIA Y HORA</header>
            <element_type>input_text</element_type>            
            <element_properties>
                <readonly>NO</readonly>            
                <onkeypress>NO</onkeypress>
                <onChange>NO</onChange>            
                <onClick>NO</onClick>                
                <onmouseover>Hilite()</onmouseover>
                <onmouseout>Restore()</onmouseout>
            </element_properties>
            <component>i8_mandamiento_id|QMD|mandamientos|i8_mandamiento_id|parent.opener.parent.form.document.form|200|100||</component>
        </column>        
        <column id="i8_user_id">
            <width>10</width>            
            <header>EMISOR ID</header>
            <element_type>input_text</element_type>            
            <element_properties>
                <readonly>NO</readonly>            
                <onkeypress>NO</onkeypress>
                <onChange>NO</onChange>            
                <onClick>NO</onClick>                
                <onmouseover>Hilite()</onmouseover>
                <onmouseout>Restore()</onmouseout>
            </element_properties>
        </column>
        <column id="v32_fname">
            <width>24</width>            
            <header>EMISOR NOMBRES</header>
            <element_type>input_text</element_type>            
            <element_properties>
                <readonly>NO</readonly>            
                <onkeypress>NO</onkeypress>
                <onChange>NO</onChange>            
                <onClick>NO</onClick>                
                <onmouseover>Hilite()</onmouseover>
                <onmouseout>Restore()</onmouseout>
            </element_properties>
        </column>
        <column id="v32_lname">
            <width>24</width>            
            <header>EMISOR APELIIDOS</header>
            <element_type>input_text</element_type>            
            <element_properties>
                <readonly>NO</readonly>            
                <onkeypress>NO</onkeypress>
                <onChange>NO</onChange>            
                <onClick>NO</onClick>                
                <onmouseover>Hilite()</onmouseover>
                <onmouseout>Restore()</onmouseout>
            </element_properties>
        </column>
        <column id="del">
            <width>4</width>            
            <header>ACCION</header>        
            <element_type>input_text</element_type>            
            <element_properties>
                <readonly>NO</readonly>            
                <onkeypress>NO</onkeypress>
                <onChange>NO</onChange>            
                <ondblclick>NO</ondblclick>
                <onClick>eliminarMandamiento(this)</onClick>
                <onmouseover>Hilite()</onmouseover>
                <onmouseout>Restore()</onmouseout>
            </element_properties>
        </column>
        <msg_processing>Processing</msg_processing>
        <tdheader_style>text-align:left;border-width:0.5</tdheader_style>
        <tdbody_style>text-align:left;vertical-align:center;border-width:0.5</tdbody_style>
        <bodyrows>300</bodyrows>
    </source>
    <elements>i2_cajero_id</elements>
    <element id="i2_cajero_id">
        <properties>
            <type>combo</type>
            <data>text</data>
            <header>CAJERO</header>
            <width>10</width>
        </properties>
        <events>NO</events>
        <clase>
            
            <table>sdm_cajeros</table>
            <keys>i2_cajero_id</keys>
            <fields>v64_cajero</fields>
        </clase>
    </element>
    <element id ="null"></element>    
</component>