<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="ReceivingOptions.aspx.cs" Inherits="HRMS.Purcahsing.Receiving_Options" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
        <div class="main-panel">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                    <header class="panel-heading">
                    Receiving Options
                        <div class="pull-right">
                            <asp:button text="Save" CssClass="btn btn-info" ID="btn_save" Width="120px"  ValidationGroup="save"
                                runat="server" onclick="btn_save_Click"/>
                            <asp:button text="Back" CssClass="btn btn-info" ID="btn_cancel" 
                                runat="server" onclick="btn_cancel_Click"/>
                        </div>
                    </header>

                    <div class="panel-body">
                        <div class="span6">
                                <div id="divmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <asp:label text="" ID="lbl_msg" CssClass="msg" runat="server"></asp:label>
                                </div>
                            </div>

                            <div class="span6">
                                <div id="diverrmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <asp:label text="" id="lbl_err_msg" CssClass="msg" runat="server"></asp:label>
                                </div>
                            </div>
                        

                        <div class="row" style="padding-top:10px">
                        <label class="control-label col-md-2">Organization</label>
                                 <div class="col-md-3">
                                   
                                 <asp:DropDownList  CssClass="form-control" ID="ddl_Organizations" runat="server"></asp:DropDownList> 
                                 <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_Organiztion" controltovalidate="ddl_Organizations" errormessage="Organization is Required!" />
                                   
                                   
                               </div>
                               </div>
                         
                            <div class="row" style="padding-top:10px">
                                
                                <asp:HiddenField ID="hid_RecID" runat="server" />
                                 <asp:HiddenField ID="hid_RecAccount" runat="server" />
                                 <asp:HiddenField ID="hid_clearing" runat="server" />
                                 <asp:HiddenField ID="hid_hostaccounts" runat="server" />
                                <%--<asp:HiddenField ID="hid_tax_regime_code" runat="server" />
                                <asp:HiddenField ID="hid_tax_regimeid" runat="server" />--%>
                                  <label class="control-label col-md-2">Enforce Ship-to</label>
                                <div class="col-md-3">
                                 <asp:DropDownList  CssClass="form-control" ID="ddl_Enforce" runat="server"></asp:DropDownList>     
                                </div>
                                 <label class="col-md-1 control-label"></label>
                                <div class="col-md-4 text-left" >
                              <span class="checkbox"><input id="chk_Unordered" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$AllowTaxExemptions" />
                                   <label class="col-md-1 control-label" ></label>Allow Unordered Reciepts</span>                   
                               
                                </div>
                               </div>
                         <div class="row" style="padding-top:10px">
                                
                              
                                <%--<asp:HiddenField ID="hid_tax_regime_code" runat="server" />
                                <asp:HiddenField ID="hid_tax_regimeid" runat="server" />--%>
                                  <label class="control-label col-md-2">ASN Control Actions</label>
                                <div class="col-md-3">
                                 <asp:DropDownList  CssClass="form-control" ID="ddl_Asncontrol" runat="server"></asp:DropDownList>     
                                </div>
                                 <label class="col-md-1 control-label"></label>
                                <div class="col-md-4 text-left" >
                              <span class="checkbox"><input id="chk_allowextrans" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$Allowextrans" />
                                   <label class="col-md-1 control-label" ></label>Allow Express Transactions</span>                   
                               
                                </div>
                               </div>

                            <div class="row" style="padding-top:10px">
                            <asp:HiddenField ID="hid_content_owner_id" runat="server" />
                            <label class="col-md-2 control-label">Reciept Days Early</label>
                                <div class="col-md-3">
                                    
                                    <asp:TextBox ID="txt_Recdays" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_RecieptDays" controltovalidate="txt_Recdays" errormessage="Reciept Days is Required!" />
                               
                                   
                                    </div>
                           <label class="col-md-1 control-label"></label>
                                <div class="col-md-4 text-left" >
                              <span class="checkbox"><input id="chk_Allowcastrans" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$Allowsactrans" />
                                   <label class="col-md-1 control-label" ></label>Allow Cascade Transations</span>                   
                               
                                </div>  
                            </div>
                        <div class="row" style="padding-top:10px">
                            <asp:HiddenField ID="HiddenField1" runat="server" />
                            <label class="col-md-2 control-label">Reciept Days Late</label>
                                <div class="col-md-3">
                                    
                                    <asp:TextBox ID="txt_RecieptDayLate" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_Recdaylate" controltovalidate="txt_RecieptDayLate" errormessage="Reciept Days Late is Required!" />
                               
                                   
                                    </div>
                           <label class="col-md-1 control-label"></label>
                                <div class="col-md-4 text-left" >
                              <span class="checkbox"><input id="chk_Allowblindrec" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$Allowsactrans" />
                                   <label class="col-md-1 control-label" ></label>Allow Blind Receiving</span>                   
                               
                                </div>  
                            </div>

                        <div class="row" style="padding-top:10px">
                                
                              
                                <%--<asp:HiddenField ID="hid_tax_regime_code" runat="server" />
                                <asp:HiddenField ID="hid_tax_regimeid" runat="server" />--%>
                                  <label class="control-label col-md-2">Recipt Day Exceed Action</label>
                                <div class="col-md-3">
                                 <asp:DropDownList  CssClass="form-control" ID="ddl_Recdayexceed" runat="server"></asp:DropDownList>     
                                </div>
                                 <label class="col-md-1 control-label"></label>
                                <div class="col-md-4 text-left" >
                              <span class="checkbox"><input id="chk_valser" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$Chk_Validate" />
                                   <label class="col-md-1 control-label" ></label>Validate Serial Number on RMS Reciept</span>                   
                               
                                </div>
                               </div>

                        <div class="row" style="padding-top:10px">
                            <asp:HiddenField ID="HiddenField2" runat="server" />
                            <label class="col-md-2 control-label">Over Reciept Tolerence(%)</label>
                                <div class="col-md-3">
                                    
                                    <asp:TextBox ID="txt_overec" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_overrec" controltovalidate="txt_overec" errormessage="Over Reciept Tolerence is Required!" />
                               
                                   
                                    </div>
                           <label class="col-md-2 control-label">Reciept Number Generations</label>
                                 <div class="col-md-3">
                                 <asp:DropDownList  CssClass="form-control" ID="ddl_Recnumbgen" runat="server"></asp:DropDownList>     
                                </div>
                            </div>

                         <div class="row" style="padding-top:10px">
                            <asp:HiddenField ID="HiddenField3" runat="server" />
                            <label class="col-md-2 control-label">Over Reciept Action</label>
                         
                                 <div class="col-md-3">
                                 <asp:DropDownList  CssClass="form-control" ID="ddl_Overrecaction" runat="server"></asp:DropDownList>     
                                </div>
                           <label class="col-md-2 control-label">Reciept Number Type</label>
                                 <div class="col-md-3">
                                 <asp:DropDownList  CssClass="form-control" ID="ddl_Recnumtype" runat="server"></asp:DropDownList>     
                                </div>
                            </div>

                            <div class="row"  style="padding-top:10px">  
                               
                                 <label class="col-md-2 control-label">RMS Reciept Routing</label>
                                <div class="col-md-3">
                                 <asp:DropDownList  CssClass="form-control" ID="ddl_Alloerecrou" runat="server"></asp:DropDownList>     
                                </div>
                                <label class="col-md-2 control-label">Next Reciept Number</label>
                                   <div class="col-md-3">
                                    
                                    <asp:TextBox ID="txt_NextrecNumber" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_Nextrec" controltovalidate="txt_NextrecNumber" errormessage="Next Reciept Number is Required!" />
                               
                                   
                                    </div>
                            </div>

                         <div class="row"  style="padding-top:10px">  
                               
                                 <label class="col-md-2 control-label">Reciept Routing</label>
                                <div class="col-md-3">
                                 <asp:DropDownList  CssClass="form-control" ID="ddl_RecRouting" runat="server"></asp:DropDownList>     
                                </div>
                                <label class="col-md-2 control-label">Validate Lots of Reciepts</label>
                                   <div class="col-md-3">
                                    
                                     <asp:DropDownList  CssClass="form-control" ID="txt_Valilotsoff" runat="server"></asp:DropDownList> 
                                   
                                    </div>
                            </div>

                            <div class="row" style="padding-top:10px">
                              
                                <label class="col-md-1 control-label"></label>
                                <div class="col-md-11 text-left" >
                              <span class="checkbox"><input id="chk_Allowsubs" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$Chk_AllowSubs" />
                                   <label class="col-md-1 control-label" ></label>Allow Substitude Reciepts</span>                   
                               
                                </div>

                               </div>                            

                           
                              <div class="panel">
                                <div class="panel-heading">
                                    <h3 class="panel-title">Accounts</h3>
                                </div>

                                <!--Panel Place-->
                                <div class="panel-body">
                                     <div class="row" style="padding-top:10px">                             
                              
                                  <label class="control-label col-md-2">Receiving Inventory Accounts</label>
                                 <div class="col-md-3">
                                    <div class="input-group">
                                 <asp:TextBox  CssClass="form-control" ID="txt_recinventory" runat="server" ></asp:TextBox>
                                 <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_recinventory" controltovalidate="txt_recinventory" errormessage="Receiving Inventory Accounts is Required!" />
                                    <span class="input-group-btn">
                                    <button id="btn_lov_recinventory" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_recinventory_Click"><i class="fa fa-search"></i></button>
                                    </span>
                               </div>
                               </div>
                                         </div>


                            <div class="row" style="padding-top:10px">                             
                              
                                  <label class="control-label col-md-2">Ratroactive Price adjusment Accounts</label>
                                 <div class="col-md-3">
                                    <div class="input-group">
                                 <asp:TextBox  CssClass="form-control" ID="txt_retroactive" runat="server" ></asp:TextBox>
                                      <span class="input-group-btn">
                                    <button id="btn_lov_retroactive" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_retroactive_Click"><i class="fa fa-search"></i></button>
                                    </span>
                               </div>
                               </div>
                                </div>
                            <div class="row" style="padding-top:10px">                             
                              
                                  <label class="control-label col-md-2">Clearing Accounts</label>
                                 <div class="col-md-3">
                                    <div class="input-group">
                                 <asp:TextBox  CssClass="form-control" ID="txt_Cleaaccounts" runat="server" ></asp:TextBox>
                                     <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_ClearingAccounts" controltovalidate="txt_Cleaaccounts" errormessage="Clearing Accounts is Required!" />
                                    <span class="input-group-btn">
                                    <button id="btn_lov_Cleaaccounts" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_Cleaaccounts_Click"><i class="fa fa-search"></i></button>
                                    </span>
                               </div>
                               </div>
                                </div>
                           
                                    </div>
                                    </div>
                          <div class="panel">
                                <div class="panel-heading">
                                    <h3 class="panel-title">Cost Factors</h3>
                                </div>

                                <!--Panel Place-->
                                <div class="panel-body"> 
                                    
                                     <div class="row" style="padding-top:10px">
                            
                                 <label class="col-md-1 control-label"></label>
                                <div class="col-md-11 text-left" >
                              <span class="checkbox"><input id="chk_Interfaceadvance" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$chk_Interfaceadvance" />
                                   <label class="col-md-1 control-label" ></label>Interfaces to advance Pricing </span>                   
                               
                                </div>
                                         </div>
                                    <div class="row" style="padding-top:10px">
                                         <label class="col-md-1 control-label"></label>
                                <div class="col-md-11 text-left" >
                              <span class="checkbox"><input id="chk_Interfacetrans" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$chk_Interfacetrans" />
                                   <label class="col-md-1 control-label" ></label>Interfaces to Transportations Executions </span>                   
                               
                                </div>
                               </div>
</div>
                              </div>
                            <hr />
                            <div class="row">
                                <asp:Label CssClass="control-label col-md-offset-2" ID="lbl_due" runat="server"></asp:Label>
                            </div>


                    </div>
                </section>
            </div>
        </div>
  
</asp:Content>
