<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frm_ReportDetalladoPorAsiento.aspx.cs" Inherits="frm_ReportDetalladoPorAsiento" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <rsweb:ReportViewer ID="ReportViewer1" Width="100%" runat="server" Height="580px">
            <LocalReport ReportPath="Reportes\DetalladoPorAsiento.rdlc">
                <DataSources>
                    <rsweb:ReportDataSource DataSourceId="SqlDataSource_ReporteAnalisisPorCuenta" Name="DS_UCOL_AsientosContables" />
                </DataSources>
            </LocalReport>
        </rsweb:ReportViewer>
        <asp:SqlDataSource ID="SqlDataSource_ReporteAnalisisPorCuenta" runat="server" ConnectionString="<%$ ConnectionStrings:SHIOL_CONTA_BTHConnectionString %>" 
            SelectCommand="UCOL_AsientosContablesDetallesGeneral_Select" SelectCommandType="StoredProcedure"
            CancelSelectOnNullParameter="False" >
            <SelectParameters>
                <asp:SessionParameter DefaultValue="112" Name="Empresa" SessionField="EmpresaID" Type="String" />
                <asp:SessionParameter DefaultValue="2014" Name="Anio" SessionField="txtPeriodo" Type="Int32" />
                <asp:QueryStringParameter DefaultValue="0" Name="SubDiarioId" QueryStringField="SUBDI" Type="Int32" />
                <asp:QueryStringParameter DefaultValue="0" Name="UnidadNegocioID" QueryStringField="UNG" Type="Int32" />
                <asp:QueryStringParameter DefaultValue="0" Name="AreaId" QueryStringField="ARA" Type="Int32" />
                <asp:QueryStringParameter DefaultValue="0" Name="HotelId" QueryStringField="HTL" Type="Int32" />
                <asp:QueryStringParameter DefaultValue="01/01/2014" Name="desde" QueryStringField="FD" Type="DateTime" />
                <asp:QueryStringParameter DefaultValue="01/01/2014" Name="hasta" QueryStringField="FH" Type="DateTime" />
            </SelectParameters>
        </asp:SqlDataSource>    
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <%--<telerik:RadScriptManager ID="RadScriptManager1" runat="server" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%" Height="650"></telerik:RadScriptManager>--%>
    </div>
    </form>
</body>
</html>
