<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Item.aspx.cs"
    Inherits="HRMS.Purcahsing.Item" %>
    <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">
                            Item
                            <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">
                                <asp:HiddenField ID="ItemID" runat="server" />
                                <asp:HiddenField ID="OrgID" runat="server" />

                                <label class="control-label col-md-2">Organization</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_Orgname" runat="server">
                                        </asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save"
                                            runat="server" id="req_txt_Orgname" controltovalidate="txt_Orgname"
                                            errormessage="Organization is Required!" />
                                        <span class="input-group-btn">
                                            <button id="btn_lov_Org" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_lov_Org_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                            </div>

                            <div class="row" style="padding-top:10px">

                                <label class="col-md-2 control-label">Item</label>
                                <div class="col-md-3">

                                    <asp:TextBox ID="txt_Item" runat="server" CssClass="form-control"></asp:TextBox>


                                </div>
                            </div>
                            <div class="row" style="padding-top:10px">
                                <label class="col-md-2 control-label">Description</label>
                                <div class="col-md-3">

                                    <asp:TextBox ID="txt_Desc" runat="server" CssClass="form-control"></asp:TextBox>


                                </div>
                                <div class="col-md-3">


                                    <label class="radio-inline"><input type="radio" name="optradio" checked> Master
                                    </label>
                                    <label class="radio-inline"><input type="radio" name="optradio"> Org </label>
                                    <label class="radio-inline"><input type="radio" name="optradio"> All </label>
                                    <!--Panel Place-->

                                </div>
                            </div>

                            <hr />




                            <updatepanel>
                                <asp:HiddenField runat="server" ID="hidTAB" Value="0" />

                                <ul class="nav nav-tabs">
                                    <li class="active"><a data-toggle="tab" id="Main_click" href="#Main"
                                            aria-expanded="true">Main</a></li>
                                    <li class="inactive"><a data-toggle="tab" id="Inventory_click" href="#Inventory"
                                            aria-expanded="false">Inventory</a></li>
                                    <li class="inactive"><a data-toggle="tab" id="BOM_click" href="#BOM"
                                            aria-expanded="false">Bills Of Materials</a></li>
                                    <li class="inactive"><a data-toggle="tab" id="AssetM_click" href="#Assetmanagment"
                                            aria-expanded="false">Asset Managment</a></li>
                                    <li class="inactive"><a data-toggle="tab" id="Costing_click" href="#Costing"
                                            aria-expanded="false">Costing</a>
                                    <li class="inactive"><a data-toggle="tab" id="Purchasing_click" href="#Purchasing"
                                            aria-expanded="true">Purchasing</a></li>
                                    <li class="inactive"><a data-toggle="tab" id="Receiving_click" href="#Receiving"
                                            aria-expanded="false">Receiving</a></li>
                                    <li class="inactive"><a data-toggle="tab" id="PhysicalA_click" href="#PhysicalA"
                                            aria-expanded="false">Physical Attributes</a></li>
                                    <li class="inactive"><a data-toggle="tab" id="GeneralP_click" href="#GeneralP"
                                            aria-expanded="false">General Planning</a></li>
                                    <%-- <div class="nav-item dropdown">
                                        <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">Other
                                            Menu</a>
                                        <div class="dropdown-menu">
                                            <a href="#MPS" class="dropdown-item">MPS/MRP Planning</a>
                                            <a href="#leadtimes" class="dropdown-item">Lead Times</a>
                                            <a href="#WIP" class="dropdown-item">Work InProccess</a>
                                            <a href="#orderM" class="dropdown-item">Order Managment</a>
                                            <a href="#Invoicing" class="dropdown-item">Invoicing</a>
                                            <a href="#ProcessManu" class="dropdown-item">Proccess Manufacturing</a>
                                            <a href="#Service" class="dropdown-item">Service</a>
                                            <a href="#Weboption" class="dropdown-item">WebOption</a>--%>



                                            <li class="inactive"><a data-toggle="tab" id="MPS_click" href="#MPS"
                                                    aria-expanded="false">MPS/MRP Planning</a>
                                            <li class="inactive"><a data-toggle="tab" id="leadtime_click"
                                                    href="#leadtimes" aria-expanded="true">Lead Times</a></li>
                                            <li class="inactive"><a data-toggle="tab" id="WIP_click" href="#WIP"
                                                    aria-expanded="false">Work InProccess</a></li>
                                            <li class="inactive"><a data-toggle="tab" id="orderM_click" href="#orderM"
                                                    aria-expanded="false">Order Managment</a></li>
                                            <li class="inactive"><a data-toggle="tab" id="Invoicing_click"
                                                    href="#Invoicing" aria-expanded="false">Invoicing</a></li>
                                            <li class="inactive"><a data-toggle="tab" id="ProcessManu_click"
                                                    href="#ProcessManu" aria-expanded="false">Proccess Manufacturing</a>
                                            </li>
                                            <li class="inactive"><a data-toggle="tab" id="Service_click" href="#Service"
                                                    aria-expanded="false">Service</a>
                                            <li class="inactive"><a data-toggle="tab" id="Weboptione_click"
                                                    href="#Weboption" aria-expanded="false">WebOption</a>
                                                <%-- </div>
                                        </div>--%>

                                        </li>
                                </ul>


                                <div class="tab-content">
                                    <div id="Main" class="tab-pane fade active in">
                                        <br />
                                        <div class="panel">
                                            <div class="panel-heading">
                                                <h3 class="panel-title">Unit Of Measurment</h3>
                                            </div>
                                            <div class="row" style="padding-top:10px">
                                                <asp:HiddenField ID="hid_UOMID" runat="server" />
                                                <asp:HiddenField ID="HID_UOMSEC" runat="server" />

                                                <label class="control-label col-md-2">Primary</label>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_primary"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        <asp:RequiredFieldValidator SetFocusOnError="true"
                                                            ValidationGroup="save" runat="server" id="req_Prim"
                                                            controltovalidate="txt_primary"
                                                            errormessage="Primary is Required!" />
                                                        <span class="input-group-btn">
                                                            <button id="btn_lov_primary" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_lov_primary_Click"><i
                                                                    class="fa fa-search"></i></button>
                                                        </span>
                                                    </div>
                                                </div>


                                                <div class="col-md-3">
                                                    <label class="radio-inline"><input type="radio" name="optradio"
                                                            checked> Standerd </label>
                                                    <label class="radio-inline"><input type="radio" name="optradio">
                                                        Item Specific </label>
                                                    <label class="radio-inline"><input type="radio" name="optradio">
                                                        Both </label>
                                                </div>
                                            </div>

                                            <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Tracking</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_tracking" runat="server"
                                                        CssClass="form-control">

                                                        <asp:ListItem Text="Primary" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Primary/Secendory" Value="2"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>
                                            </div>
                                            <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Pricing</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_pricing" runat="server"
                                                        CssClass="form-control">

                                                        <asp:ListItem Text="Primary" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Secendory" Value="2"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>
                                            </div>
                                            <div class="row" style="padding-top:10px">

                                                <label class="control-label col-md-2">Secendory</label>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_Secendory"
                                                            runat="server">
                                                        </asp:TextBox>

                                                        <span class="input-group-btn">
                                                            <button id="btn_lov_Secend" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_lov_Secend_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">Default</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_Default" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Default" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Fixed" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="No Default" Value="3"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>
                                            </div>
                                              <div class="row" style="padding-top:10px">

                                                <label class="control-label col-md-2">Deviation Factor Plus</label>
                                                <div class="col-md-3">

                                                    <asp:TextBox CssClass="form-control" ID="txt_Devfactor_Plus"
                                                        runat="server">
                                                    </asp:TextBox>

                                                </div>
                                           
                                          

                                                <label class="control-label col-md-2">Deviation Factor Minus</label>
                                                <div class="col-md-3">

                                                    <asp:TextBox CssClass="form-control" ID="txt_Devfactor_Minus"
                                                        runat="server">
                                                    </asp:TextBox>

                                                </div>
                                            </div>

                                       <div class="row" style="padding-top:10px">

                                                <label class="control-label col-md-2">User Item Type</label>
                                                <div class="col-md-3">

                                                    <asp:TextBox CssClass="form-control" ID="txt_Useritemtype"
                                                        runat="server">
                                                    </asp:TextBox>

                                                </div>
                                           
                                          

                                                <label class="control-label col-md-2">Item Status</label>
                                                <div class="col-md-3">

                                                    <asp:TextBox CssClass="form-control" ID="txt_Itemstatus"
                                                        runat="server">
                                                    </asp:TextBox>

                                                </div>
                                            </div>
                                     <div class="row" style="padding-top:10px">
                                           <div class="col-md-3">


                                    <label class="radio-inline"><input type="radio" name="rdb_Stat" id="rdb_Stat" checked> Standard </label>
                                    <label class="radio-inline"><input type="radio" name="rdb_item" id="rdb_item"> ItemSpecific </label>
                                    <label class="radio-inline"><input type="radio" name="rdb_Both" id="rdb_Both"> Both </label>
                                    <!--Panel Place-->
                                               </div>
                                         </div>
                                        <div class="row" style="padding-top:10px">

                                            <label class="control-label col-md-2">Long Description</label>
                                            <div class="col-md-3">

                                                <asp:TextBox CssClass="form-control" ID="txt_Long_Desc" runat="server"
                                                    TextMode="MultiLine">
                                                </asp:TextBox>

                                            </div>
                                        </div>
                                    </div>
                                      </div>  
                                    <div id="Inventory" class="tab-pane fade active in">
                                        <br />

                                        <div class="row" style="padding-top:10px">

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_InventoryItem" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Invemitem" />
                                                    <label class="col-md-1 control-label"></label>Inventory Item</span>

                                            </div>
                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="Chk_Stockable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$stockable" />
                                                    <label class="col-md-1 control-label"></label>StockAble</span>

                                            </div>

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_transable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$transable" />
                                                    <label class="col-md-1 control-label"></label>Trancactable</span>

                                            </div>
                                        </div>
                                        <div class="row" style="padding-top:10px">


                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Revision" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Revision" />
                                                    <label class="col-md-1 control-label"></label>Revision Control
                                                    D</span>

                                            </div>


                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_reserve" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$reserve" />
                                                    <label class="col-md-1 control-label"></label>Reserveable (G)</span>

                                            </div>
                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_CheckMaterial" runat="server"
                                                        type="checkbox"
                                                        name="ctl00$ContentPlaceHolder1$chk_MaterialShortage" />
                                                    <label class="col-md-1 control-label"></label>Check Material
                                                    Shortage</span>

                                            </div>
                                        </div>

                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Lots Expiration (Shelf Life)</h3>
                                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-2">Control</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Control" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                                            <label class="control-label col-md-2">Shelf Life
                                                                Days</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Shelflifedays" runat="server">
                                                                </asp:TextBox>
                                                            </div>
                                                            <label class="control-label col-md-2">Retest
                                                                Intervel</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_RetestIntervel" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                        </div>
                                                        <div class="row" style="padding-top:10px">


                                                            <label class="control-label col-md-2">Expiration Action
                                                                Internal</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_ExpirationInternal" runat="server">
                                                                </asp:TextBox>

                                                            </div>




                                                            <label class="control-label col-md-2">Expiration
                                                                Action</label>
                                                            <div class="col-md-3">

                                                                <div class="input-group">
                                                                    <asp:TextBox CssClass="form-control"
                                                                        ID="txt_ExpirationAction" runat="server">
                                                                    </asp:TextBox>

                                                                    <span class="input-group-btn">
                                                                        <button id="btn_ExpiAction" type="button"
                                                                            runat="server" class="btn btn-white"
                                                                            onserverclick="btn_ExpiAction_Click"><i
                                                                                class="fa fa-search"></i></button>
                                                                    </span>
                                                                </div>

                                                            </div>
                                                        </div>
                                                    </div>

                                                </div>
                                            </div>
                                        </div>

                                  
                                    <div class="panel">
                                      
                                 <div class="panel-body">
                                                    
                                                     <div class="row" style="padding-top:10px">
                                                    <div class="col-md-4 text-center">
                                                    <span class="checkbox"><input id="Chk_EnbuyerName"
                                                                    runat="server" type="checkbox"
                                                                    name="ctl00$ContentPlaceHolder1$EnbuyerName" />
                                                                <label class="col-md-1 control-label"></label>Cycle
                                                                Count Enabled</span>
                                                        </div>
                                                       
                                                            <label class="control-label col-md-2">Negative massurment Error</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Negativemass" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                      
                                                   
                                                            <label class="control-label col-md-2">Posative Massurement
                                                                Error</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control" ID="txt_Positive"
                                                                    runat="server">
                                                                </asp:TextBox>

                                                          
                                                        </div>
                                                    </div>
                                               </div>
                                         

                                        <br />
                                    </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Lots </h3>
                                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-2">Control</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Controllot" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                                            <label class="control-label col-md-2">Statting Perifix
                                                                Days</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Startingperifix" runat="server">
                                                                </asp:TextBox>
                                                            </div>
                                                            <label class="control-label col-md-2">Starting Number</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_StartingNumb" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                        </div>
                                                        <div class="row" style="padding-top:10px">


                                                            <label class="control-label col-md-2">Maturity Days
                                                                </label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Matdays" runat="server">
                                                                </asp:TextBox>

                                                            </div>




                                                            <label class="control-label col-md-2">Hold Days</label>
                                                            <div class="col-md-3">

                                                                <div class="input-group">
                                                                    <asp:TextBox CssClass="form-control"
                                                                        ID="txt_Holddays" runat="server">
                                                                    </asp:TextBox>

                                                                    <span class="input-group-btn">
                                                                        <button id="Button2" type="button"
                                                                            runat="server" class="btn btn-white"
                                                                            onserverclick="btn_ExpiAction_Click"><i
                                                                                class="fa fa-search"></i></button>
                                                                    </span>
                                                                </div>

                                                            </div>
                                                        </div>
                                                    </div>

                                                </div>
                                            </div>
                                        </div>
                                          <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Serials </h3>
                                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-2">Generations</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Generations" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                                            <label class="control-label col-md-2">Statting Perifix
                                                                </label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_StatpreifixSerials" runat="server">
                                                                </asp:TextBox>
                                                            </div>
                                                            <label class="control-label col-md-2">Starting Number</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Serialsstarting" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                        </div>
                                                      
                                                    </div>

                                                </div>
                                            </div>
                                        </div>
                                        <div class="panel-body">
                                                    
                                                     <div class="row" style="padding-top:10px">
                                                    <div class="col-md-4 text-center">
                                                    <span class="checkbox"><input id="chk_Gradecontrol"
                                                                    runat="server" type="checkbox"
                                                                    name="ctl00$ContentPlaceHolder1$Gradecontrol" />
                                                                <label class="col-md-1 control-label"></label>Grade Control</span>
                                                        </div>
                                                       
                                                            <label class="control-label col-md-2">Grade Defaul</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Gradedefault" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                      
                                                    </div>
                                               </div>
                                               <div class="row" style="padding-top:10px">

                                           <label class="control-label col-md-2">Locator Control</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Locator" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_ressubinventory" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$ressubinventory" />
                                                    <label class="col-md-1 control-label"></label>RestrictSubinventories</span>

                                            </div>

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Restrictlocator" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Restrictlocator" />
                                                    <label class="col-md-1 control-label"></label>Restrict Locators</span>

                                            </div>
                                        </div>
                                          </div>

                                     <div id="Receiving" class="tab-pane fade active in">
                                        <br />

                                      

                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Reciept Date Controls</h3>
                                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-2">Action</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Actions" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                                           
                                                            <label class="control-label col-md-2">Days Early
                                                                </label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_DaysEarly" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                            


                                                            <label class="control-label col-md-2">Days Late
                                                                </label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Dayslate" runat="server">
                                                                </asp:TextBox>

                                                            </div>

                                                        </div>
                                                        



                                                           
                                                      
                                                    </div>
                                                    </div>
                                                </div>
                                            </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Valid Tranactions</h3>
                                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-2">Allow Substitute Reciepts</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Allowsubsitute" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                                           
                                                                <label class="control-label col-md-2">Allow Unordered Reciept</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Allowunorderd" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                                            


                                                               <label class="control-label col-md-2">Allow Express Tranactions</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Allowexpress" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>

                                                        </div>
                                                        



                                                           
                                                      
                                                    </div>
                                                    </div>
                                                </div>
                                            </div>
                                          <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Overreciept Quantity Controls</h3>
                                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-2">Action</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Actionsovver" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                                           
                                                               <label class="control-label col-md-2">Tolerence
                                                                </label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_TolerencesActions" runat="server">
                                                                </asp:TextBox>
                                                            </div>
                                                            


                                                          

                                                        </div>
                                                        



                                                           
                                                      
                                                    </div>
                                                    </div>
                                                </div>
                                            </div>
                                         
                                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-2">Reciept Routinh</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Recieptrouting" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                                            <label class="control-label col-md-2">Enforce Ship-To</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Enforceshipto" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                                           
                                                               <label class="control-label col-md-2">Recieving SubInventory
                                                                </label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Recsubinventory" runat="server">
                                                                </asp:TextBox>
                                                            </div>
                                                            


                                                          

                                                        </div>
                                                        



                                                           
                                                      
                                                    
                                        </div>

                                    <div id="BOM" class="tab-pane fade active in">

                                          <div class="row" style="padding-top:10px">

                                         
                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_bomallowed" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$bomallowed" />
                                                    <label class="col-md-1 control-label"></label>BomAllowed</span>

                                            </div>
                                             </div>
                                        <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">BOM Item Type</label>
                                                            <div class="col-md-3">

                                                                <asp:DropDownList ID="ddl_Bomitemtype" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>

                                            <label class="control-label col-md-2">Base Model
                                                                </label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Basemodel" runat="server">
                                                                </asp:TextBox>
                                                            </div>
                                        </div>
                                         <div class="row" style="padding-top:10px">

                                         
                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_AutoConfig" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$AutoConfig" />
                                                    <label class="col-md-1 control-label"></label>Autocreated Configurations</span>

                                            </div>
                                             </div>
                                         <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Effectivity Control</label>
                                                            <div class="col-md-3">

                                                                <asp:DropDownList ID="ddl_Effcontrol" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="Date" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>

                                             <label class="control-label col-md-2">Configurtion Model Type</label>
                                                            <div class="col-md-3">

                                                                <asp:DropDownList ID="ddl_confmodeltype" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="Standard" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                        </div>
                                        <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Create Configurations Item BOM </label>
                                                            <div class="col-md-3">

                                                                <asp:DropDownList ID="ddl_createconfig" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>

                                             <label class="control-label col-md-2">Match Configurations</label>
                                                            <div class="col-md-3">

                                                                <asp:DropDownList ID="ddl_Matchconfig" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="No Control" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Shelf Life Days" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="User Define" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                        </div>

                                        </div>
                                    <div id="Assetmanagment" class="tab-pane fade active in">
                                        
                                         <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Asset Item Type</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_Assetitemtype" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Match Config" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Custom Match" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="No Statndard" Value="3"></asp:ListItem>
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                             </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Asset Actitvity Properties</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Activity Type</label>
                                                <div class="col-md-2">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_Activitytype"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                

                                                <label class="control-label col-md-2">Shutdown Type</label>
                                          
                                               
                                                <div class="col-md-2">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Shutdowntype"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                                            <label class="control-label col-md-2">Activity Causes -</label>
                                          
                                               
                                                <div class="col-md-2">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Activitycause"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                     
                                                </div>
                                                        <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Activity Source</label>
                                                <div class="col-md-2">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_Activitysource"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Activitynoti" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Activitynoti" />
                                                    <label class="col-md-1 control-label"></label>Activity Notification Required</span>

                                            </div>

                                              
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                        </div>
                                  
                                 
                                          
                                     <div id="Costing" class="tab-pane fade active in">
                                        <br />

                                        <div class="row" style="padding-top:10px">

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Costingenable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Costingenable" />
                                                    <label class="col-md-1 control-label"></label>Costing Enabled</span>

                                            </div>
                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Inventoryasset" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Inventoryasset" />
                                                    <label class="col-md-1 control-label"></label>Inventory Asset Value</span>

                                            </div>

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_includeroll" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$includeroll" />
                                                    <label class="col-md-1 control-label"></label>Include In Rollup</span>

                                            </div>
                                        </div>
                                    

                                       
                                        <div class="row" style="padding-top:10px">
                                <asp:HiddenField ID="hid_Costofgood" runat="server" />
                               


                                <label class="control-label col-md-2">Cost Of Good Sold</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_Costofgood" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_Costofgood" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_Costofgood_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                                            <label class="control-label col-md-2">Statndard Lot Size</label>
                                <div class="col-md-3">
                                    
                                        <asp:TextBox CssClass="form-control" ID="txt_Standardlotsize" runat="server">
                                        </asp:TextBox>
                                        
                                      
                                    
                                </div>
                            </div>
                                           
                                       
                           
                                          </div>
                                     <div id="Purchasing" class="tab-pane fade active in">
                                        <br />

                                        <div class="row" style="padding-top:10px">

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Purchaed" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Purchaed" />
                                                    <label class="col-md-1 control-label"></label>Purchased</span>

                                            </div>
                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Purchaeable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Purchaeable" />
                                                    <label class="col-md-1 control-label"></label>Purchaeable</span>

                                            </div>

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_UsedApprovedSupplier" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$UsedApprovedSupplier" />
                                                    <label class="col-md-1 control-label"></label>Used Approved Supplier</span>

                                            </div>
                                        </div>
                                        <div class="row" style="padding-top:10px">


                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Allowdescupdate" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Allowdescupdate" />
                                                    <label class="col-md-1 control-label"></label>Allow description Update</span>

                                            </div>


                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Outside" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Outside" />
                                                    <label class="col-md-1 control-label"></label>Out Sourced Assembly</span>

                                            </div>
                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_outsideitems" runat="server"
                                                        type="checkbox"
                                                        name="ctl00$ContentPlaceHolder1$chk_MaterialShortage" />
                                                    <label class="col-md-1 control-label"></label>OutSide Processing Item
                                                    Shortage</span>

                                            </div>
                                        </div>

                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">OutSide Processing Item</h3>
                                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-2">Unit Type</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Unittype" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="None" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Reject " Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Warrning" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="row" style="padding-top:10px">


                                                            <label class="control-label col-md-2">Expiration Action
                                                                Internal</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="TextBox5" runat="server">
                                                                </asp:TextBox>

                                                            </div>




                                                            <label class="control-label col-md-2">Expiration
                                                                Action</label>
                                                            <div class="col-md-3">

                                                                <div class="input-group">
                                                                    <asp:TextBox CssClass="form-control"
                                                                        ID="TextBox6" runat="server">
                                                                    </asp:TextBox>

                                                                    <span class="input-group-btn">
                                                                        <button id="Button1" type="button"
                                                                            runat="server" class="btn btn-white"
                                                                            onserverclick="btn_ExpiAction_Click"><i
                                                                                class="fa fa-search"></i></button>
                                                                    </span>
                                                                </div>

                                                            </div>
                                                        </div>
                                                    </div>

                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-2">RFQ Required</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Rfqrequired" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="Yes" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="No " Value="2">
                                                                    </asp:ListItem>
                                                                    
                                                                </asp:DropDownList>
                                                            </div>
                                                <label class="control-label col-md-2">Taxable</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Taxable" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="Yes" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="No " Value="2">
                                                                    </asp:ListItem>
                                                                    
                                                                </asp:DropDownList>
                                                            </div>
                                              <label class="control-label col-md-2">Input Tax Classifications Code</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control" ID="txt_Inputtaxclass"
                                                                    runat="server">
                                                                </asp:TextBox>

                                                          
                                                        </div>
                                                        </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Invoice Matching</h3>
                                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-2">Reciept Required</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Recreq" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="Yes" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="No " Value="2">
                                                                    </asp:ListItem>

                                                                </asp:DropDownList>
                                                            </div>
                                                            <label class="control-label col-md-2">Inspection Required</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Inspection" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="Yes" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="No " Value="2">
                                                                    </asp:ListItem>

                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                     
                                                    </div>

                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" style="padding-top:10px">
                                <asp:HiddenField ID="hid_defaultbuyer" runat="server" />
                                <asp:HiddenField ID="hid_Unitissue" runat="server" />
                                              <asp:HiddenField ID="hid_Unnumber" runat="server" />
                                              <asp:HiddenField ID="hid_Hazard" runat="server" />
                                              <asp:HiddenField ID="hid_Encumberance" runat="server" />
                                              <asp:HiddenField ID="hid_Expenseaccount" runat="server" />
                                               <asp:HiddenField ID="hid_Assetcat" runat="server" />


                                <label class="control-label col-md-2">Default Buyer</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_DefaultBuyer" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_DefaultBuyer" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_DefaultBuyer_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                                            <label class="control-label col-md-2">Unit Of Issue</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_Unitofissue" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_Unitofissue" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_Unitofissue_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">Reciept Close Tolerance</label>
                                <div class="col-md-3">
                                    
                                        <asp:TextBox CssClass="form-control" ID="txt_Recclosetol" runat="server">
                                        </asp:TextBox>
                                       
                                        
                                   
                                </div>
                                            
                                                   
                                                             <label class="control-label col-md-2">Invoice Close Tolerance</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Invoiceclose" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                           <div class="row" style="padding-top:10px">
                                


                                <label class="control-label col-md-2">UN Number</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_Unnumber" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_Unnumber" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_Unnumber_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                                            <label class="control-label col-md-2">Hazard Class</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_hazardclass" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_hazardclass" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_hazardclass_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">List Price </label>
                                <div class="col-md-3">
                                    
                                        <asp:TextBox CssClass="form-control" ID="txt_listprice" runat="server">
                                        </asp:TextBox>
                                       
                                        
                                   
                                </div>
                                            
                                                   
                                                             <label class="control-label col-md-2">Market Price</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Marketprice" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                         <div class="row" style="padding-top:10px">
                                               <label class="control-label col-md-2">Price Tolerance</label>
                                <div class="col-md-3">
                                    
                                        <asp:TextBox CssClass="form-control" ID="txt_Pricetolr" runat="server">
                                        </asp:TextBox>
                                       
                                        
                                   
                                </div>
                                            
                                                   
                                                             <label class="control-label col-md-2">Rounding Factors</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_RoundingFactors" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                          <div class="row" style="padding-top:10px">
                                


                                <label class="control-label col-md-2">UEncumberance Account</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_Encumberance" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_Encumberance" type="button" runat="server" class="btn btn-white"
                                                onserverclick="Encumberance_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                                            <label class="control-label col-md-2">Expense Account</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_ExpenseAccount" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_ExpenseAccount" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_ExpenseAccount_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">Asset Category</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_Assetcategory" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_Assetcategory" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_Assetcategory_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                                
                            </div>
                                       
                           
                                          </div>
                                    <div id="ProcessManu" class="tab-pane fade active in">
                                         <br />
                                        <div class="row" style="padding-top:10px">

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-justify">
                                                <span class="checkbox"><input id="chk_proqual" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$proqual" />
                                                    <label class="col-md-1 control-label"></label>Process Quality Enabled</span>

                                            </div>
                                            

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-justify">
                                                <span class="checkbox"><input id="chk_procosting" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$procosting" />
                                                    <label class="col-md-1 control-label"></label>Process Costing Enabled</span>

                                            </div>
                                           

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-justify">
                                                <span class="checkbox"><input id="chk_recenabled" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$recenabled" />
                                                    <label class="col-md-1 control-label"></label>Recipe Enabled</span>

                                            </div>
                                            </div>
                                        <br />
                                        <div class="row" style="padding-top:10px">
                                               <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-justify">
                                                <span class="checkbox"><input id="chk_Hazdosmaterial" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$recenabled" />
                                                    <label class="col-md-1 control-label"></label>Hazardous Material</span>

                                            </div> 
                                            
                                                   
                                                             <label class="control-label col-md-3">CAS Number</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_CasNumber" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                        <br />
                                         <div class="row" style="padding-top:10px">

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-justify">
                                                <span class="checkbox"><input id="chk_proexe" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$proexe" />
                                                    <label class="col-md-1 control-label"></label>Process Execution Enabled</span>

                                            </div>
                                            </div>
                                         <div class="row" style="padding-top:10px">
                                               <label class="control-label col-md-2">Supply Subinventory</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_supplysub" runat="server">
                                        </asp:TextBox>
                                       
                                        <span class="input-group-btn">
                                            <button id="btn_Supplysub" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_Supplysub_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                                            
                                                   
                                                             <label class="control-label col-md-2">Supply Locator</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="TextBox1" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                         <div class="row" style="padding-top:10px">
                                               <label class="control-label col-md-2">Yield Subinventory</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_Yeildsub" runat="server">
                                        </asp:TextBox>
                                       
                                        <span class="input-group-btn">
                                            <button id="btn_Yeildsub" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_Yeildsub_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                                            
                                                   
                                                             <label class="control-label col-md-2">Yield Locator</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_yieldloc" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>

                                                      
                                         

                                    </div>
                                    <div id="PhysicalA" class="tab-pane fade active in">
                                        
                               
                                       
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Weight</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">

                                                               <asp:HiddenField ID="hid_weightUOM" runat="server" />
                               

                                <label class="control-label col-md-2">Unit Of Measure</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_WeightUOM" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_WeightUOM" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_WeightUOM_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>

                                                <label class="control-label col-md-2">Unit Weight</label>
                                                <div class="col-md-3">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_Unitweight"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                

                                               
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Volume</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">

                                                               <asp:HiddenField ID="hid_Volumeunitofmeasure" runat="server" />
                               

                                <label class="control-label col-md-2">Unit Of Measure</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_VolunitofMeasure" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_VolunitofMeasure" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_VolunitofMeasure_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>

                                                <label class="control-label col-md-2">Unit Volume</label>
                                                <div class="col-md-3">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_Unitvolume"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                

                                             
                                                           
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Dimensions</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">

                                                               <asp:HiddenField ID="hid_dimentionsuom" runat="server" />
                               

                                <label class="control-label col-md-2">Unit Of Measure</label>
                                <div class="col-md-2">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_dimentionsuom" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_dimentionsuom" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_dimentionsuom_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>

                                                <label class="control-label col-md-2">Length</label>
                                                <div class="col-md-1">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_Length"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                 <label class="control-label col-md-2">Width</label>
                                                <div class="col-md-1">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_Width"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>

                                             <label class="control-label col-md-2">Hieght</label>
                                                <div class="col-md-1">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_Hieght"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>

                                                           
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Container</h3>
                                                       

                                                          <div class="row" style="padding-top:10px">

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Container" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Container" />
                                                    <label class="col-md-1 control-label"></label>Container</span>

                                            </div>
                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Vehicles" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$stocVehicle" />
                                                    <label class="col-md-1 control-label"></label>Vehicle</span>

                                            </div>

                                     
                                        </div>
                                                        <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Container Type</label>
                                                <div class="col-md-2">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_Contype"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                

                                                <label class="control-label col-md-2">Internal Volume</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_InternalVolume"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                                           
                                     
                                                </div>
                                                        <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Maximum Load Weight</label>
                                                <div class="col-md-2">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_Maximumload"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                

                                                <label class="control-label col-md-2">Minimum Fill Percent</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Minfillpers"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                                           
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Type</h3>
                                                       

                                                  <div class="row" style="padding-top:10px">

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_CollateralItem" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$CollateralItem" />
                                                    <label class="col-md-1 control-label"></label>Collateral Item</span>

                                            </div>
                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Electrical" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Electrical" />
                                                    <label class="col-md-1 control-label"></label>Electrical Format</span>

                                            </div>

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Event" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Event" />
                                                    <label class="col-md-1 control-label"></label>Event</span>

                                            </div>
                                        </div>
                                                  <div class="row" style="padding-top:10px">

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Downloadable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Downloadable" />
                                                    <label class="col-md-1 control-label"></label>Downloadable</span>

                                            </div>
                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Equipment" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Equipment" />
                                                    <label class="col-md-1 control-label"></label>Equipment</span>

                                            </div>

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_ominvisible" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$ominvisible" />
                                                    <label class="col-md-1 control-label"></label>OM Invisible</span>

                                            </div>
                                        </div>
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                       
                                        </div>
                                    <div id="GeneralP" class="tab-pane fade active in">
                                        
                                         <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Inventory Planning Method</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_Inventoryplanmethod" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Not Planned" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Min" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="Max" Value="3"></asp:ListItem>
                                                        <asp:ListItem Text="Record Point" Value="4"></asp:ListItem>
                                                        <asp:ListItem Text="Vendor Manged" Value="5"></asp:ListItem>
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>

                                                <asp:HiddenField ID="hid_Planner" runat="server" />
                                               

                                                <label class="control-label col-md-2">Planner</label>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_Planner"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                        <span class="input-group-btn">
                                                            <button id="btn_planner" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_planner_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">Suncontracting Components</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_Subcontracting" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Prepositioned" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Synchronised" Value="2"></asp:ListItem>
                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                             <label class="control-label col-md-2">Make Or Buy</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_Makeorbuy" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Buy" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Make" Value="2"></asp:ListItem>
                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                            

                                            
                                               

                                            

                                         </div>  
                                       
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Min- Max Quantity</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Minimum</label>
                                                <div class="col-md-3">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_minimum"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                

                                                <label class="control-label col-md-2">Maximum</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Max"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                                           
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Order Quantity</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Minimum</label>
                                                <div class="col-md-3">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_minorder"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                

                                                <label class="control-label col-md-2">Maximum</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Maxorder"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                                           
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Cost</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Order</label>
                                                <div class="col-md-3">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_order"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                

                                                <label class="control-label col-md-2">Carrying</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Carrying"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                                           
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Source</h3>
                                                      <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Type</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_Sourcetype" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Inventory" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Supplier" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="SubInventory" Value="3"></asp:ListItem>
                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                             
                                <asp:HiddenField ID="hid_SourceORG" runat="server" />

                                <label class="control-label col-md-2">Organization</label>
                                <div class="col-md-2">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_Sourceorg" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_Sourceorg" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_Sourceorg_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                                            
 <asp:HiddenField ID="hid_Sourcesubinventory" runat="server" />

                                <label class="control-label col-md-2">Subinventory</label>
                                <div class="col-md-2">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_Sourcesubinventory" runat="server">
                                        </asp:TextBox>
                                        
                                        <span class="input-group-btn">
                                            <button id="btn_Sourcesubinventory" type="button" runat="server" class="btn btn-white"
                                                onserverclick="btn_Sourcesubinventory_Click"><i class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                                            
                                               

                                            

                                         </div> 

                                               
                                                        </div></div></div>
                                        </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Sefety Stock</h3>
                                                      <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Method</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_nonmrpmethod" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Non-MRP Palnned" Value="1"></asp:ListItem>
                                                     
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                             
                                

                                <label class="control-label col-md-2">Bucket Days</label>
                                <div class="col-md-2">
                                    
                                        <asp:TextBox CssClass="form-control" ID="txt_Bucketdays" runat="server">
                                        </asp:TextBox>
                                        
                                        
                                    
                                </div>
                                            


                                <label class="control-label col-md-2">Percent</label>
                                <div class="col-md-2">
                                  
                                        <asp:TextBox CssClass="form-control" ID="txt_Percent" runat="server">
                                        </asp:TextBox>
                                        
                                       
                                    
                                </div>
                                            
                                               

                                            

                                         </div> 

                                               
                                                        </div></div></div>
                                        </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Order Modifiers</h3>
                                                      <div class="row" style="padding-top:10px">
                                             
                                             
                                

                                <label class="control-label col-md-2">Fixed Order Quantity</label>
                                <div class="col-md-2">
                                    
                                        <asp:TextBox CssClass="form-control" ID="txt_Fixorderqty" runat="server">
                                        </asp:TextBox>
                                        
                                        
                                    
                                </div>
                                            


                                <label class="control-label col-md-2">Fixed Day Supply</label>
                                <div class="col-md-2">
                                  
                                        <asp:TextBox CssClass="form-control" ID="trxt_Fixdaysupply" runat="server">
                                        </asp:TextBox>
                                        
                                       
                                    
                                </div>
                                            
                                             <label class="control-label col-md-2">Fixed Lot Multiplier</label>
                                <div class="col-md-2">
                                  
                                        <asp:TextBox CssClass="form-control" ID="txt_Fixlotmulti" runat="server">
                                        </asp:TextBox>
                                        
                                       
                                    
                                </div>  

                                            

                                         </div> 

                                               
                                                        </div></div></div>
                                        </div>
                                        <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Planning Time Fence</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList10" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="User Defined" Value="1"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>

                                            
                                               

                                                <label class="control-label col-md-2">Days1</label>
                                                <div class="col-md-3">
                                                    
                                                        <asp:TextBox CssClass="form-control" ID="TextBox9"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                </div>

                                         </div>
                                        <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Vendor Manged</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList11" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="User Defined" Value="1"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>

                                            
                                               

                                                <label class="control-label col-md-2">Days</label>
                                                <div class="col-md-3">
                                                    
                                                        <asp:TextBox CssClass="form-control" ID="TextBox10"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                </div>

                                         </div>
                                        <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Realease Time Fence</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList12" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="User Defined" Value="1"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>

                                            
                                               

                                                <label class="control-label col-md-2">Days</label>
                                                <div class="col-md-3">
                                                    
                                                        <asp:TextBox CssClass="form-control" ID="TextBox11"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                </div>

                                         </div>
                                        <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Substitution Windows</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList13" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="User Defined" Value="1"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>

                                            
                                               

                                                <label class="control-label col-md-2">Days</label>
                                                <div class="col-md-3">
                                                    
                                                        <asp:TextBox CssClass="form-control" ID="TextBox12"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                </div>

                                         </div>
                                        <br />
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Incremental Supply Pattern</h3>
                                                        <div class="row" style="padding-top:10px">
                                                      
                                                   
                                     
                                                

                                               <label class="control-label col-md-2">Continous Inter-ORG Transfers</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList14" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                         <asp:ListItem Text="No" Value="2"></asp:ListItem>
                                                         <asp:ListItem Text="User Globel Value" Value="3"></asp:ListItem>

                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                                              <label class="control-label col-md-2">Convergence Pattern</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList15" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                         <asp:ListItem Text="No" Value="2"></asp:ListItem>
                                                         <asp:ListItem Text="User Globel Value" Value="3"></asp:ListItem>

                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                                                         
                                                            <label class="control-label col-md-2">Divergence Pattern</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList16" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                         <asp:ListItem Text="No" Value="2"></asp:ListItem>
                                                         <asp:ListItem Text="User Globel Value" Value="3"></asp:ListItem>

                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
</div>

                                               
                                                        </div></div></div>
                                        </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Distribution Planning</h3>
                                                        <div class="row" style="padding-top:10px">
                                                      <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="Checkbox8" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Displan" />
                                                    <label class="col-md-1 control-label"></label>Distribution Plan</span>

                                            </div>
                                                            </div>
                                                             <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Maximum Inventory</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="TextBox13" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 <label class="control-label col-md-2">Target Inventory</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="TextBox14" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                   
                                     
                                                
               
                                                           
</div>

                                               
                                                        </div></div></div>
                                        </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Repair</h3>
                                                        <div class="row" style="padding-top:10px">
                                                     <label class="control-label col-md-2">Continous Inter-ORG Transfers</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList17" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Repair Return" Value="1"></asp:ListItem>
                                                         <asp:ListItem Text="Advanced Exchange or Defector Reciept" Value="2"></asp:ListItem>
                                                         <asp:ListItem Text="Advanced Exchange on PO Issue" Value="3"></asp:ListItem>

                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                                            </div>
                                                             <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Repair Yield</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="TextBox15" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 <label class="control-label col-md-2">Repair Lead Time</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="TextBox16" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                  <label class="col-md-1 control-label"></label>
                                            <div class="col-md-2 text-left">
                                                <span class="checkbox"><input id="Checkbox9" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$prepositionpoint" />
                                                    <label class="col-md-1 control-label"></label>Preposition Point</span>

                                            </div>
                                                   
                                     
                                                
               
                                                           
</div>

                                               
                                                        </div></div></div>
                                        </div>
                                              
                                         

                                 

                                        </div>
                                    <div id="MPS" class="tab-pane fade active in">
                                        
                                         <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Planning Method</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_planningmethod" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Not Planned" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="MRP Planned" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="MPS Planned" Value="3"></asp:ListItem>
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>

                                                <asp:HiddenField ID="hid_Exceptionset" runat="server" />
                                               

                                                <label class="control-label col-md-2">Exceptions Set</label>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_Exceptionset"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                        <span class="input-group-btn">
                                                            <button id="btn_Exceptionset" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_Exceptionset_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">Forecast Control</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList3" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="None" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Consume" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="Consume And der" Value="3"></asp:ListItem>
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>

                                            
                                               

                                                <label class="control-label col-md-2">Shrinkage Rate</label>
                                                <div class="col-md-3">
                                                    
                                                        <asp:TextBox CssClass="form-control" ID="txt_Shirinkage"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                </div>

                                         </div>  
                                         <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Pegging</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_Pegging" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="None" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Soft Pegging" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="End Assembly Pegging" Value="3"></asp:ListItem>
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>

                                            
                                               

                                                <label class="control-label col-md-2">Acceptable Early Days</label>
                                                <div class="col-md-3">
                                                    
                                                        <asp:TextBox CssClass="form-control" ID="txt_Acceptableearlydays"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                </div>

                                         </div>
                                         <div class="row" style="padding-top:10px">

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_roundorderquantities" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$roundorderquantities" />
                                                    <label class="col-md-1 control-label"></label>Round Order Quantities</span>

                                            </div>
                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Plannedinventory" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Plannedinventory" />
                                                    <label class="col-md-1 control-label"></label>Planned Inventory Point</span>

                                            </div>

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Createsupply" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Createsupply" />
                                                    <label class="col-md-1 control-label"></label>Create Supply</span>

                                            </div>
                                        </div>
                                        <div class="row" style="padding-top:10px">

                                            <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_exclude" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$exclude" />
                                                    <label class="col-md-1 control-label"></label>Exclude From Budget</span>

                                            </div>
                                           
                                            <label class="col-md-5 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_ciriticalcom" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$ciriticalcom" />
                                                    <label class="col-md-1 control-label"></label>Ciritical Component(J)</span>

                                            </div>
                                        </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Repetitive Planning</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Overrun</label>
                                                <div class="col-md-2">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_Overrun"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                  
                                                  
                                                </div>
                                                   
                                     
                                                

                                                <label class="control-label col-md-2">Acceptable Rate +</label>
                                          
                                               
                                                <div class="col-md-2">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Acceptablerate"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                                            <label class="control-label col-md-2">Acceptable Rate -</label>
                                          
                                               
                                                <div class="col-md-2">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Acceptablerates"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">MPS Planning</h3>
                                                        <div class="row" style="padding-top:10px">
                                                       <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Calculateatp" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Calculateatp" />
                                                    <label class="col-md-1 control-label"></label>Calculate ATP (Z)</span>

                                            </div>
                                                   
                                     
                                                

                                               <label class="control-label col-md-2">Reduce MPS</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_ReduceMPS" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="User Define" Value="1"></asp:ListItem>
                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
</div>

                                               
                                                        </div></div></div>
                                        </div>
                                        <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Planning Time Fence</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_Planningtimefence" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="User Defined" Value="1"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>

                                            
                                               

                                                <label class="control-label col-md-2">Days1</label>
                                                <div class="col-md-3">
                                                    
                                                        <asp:TextBox CssClass="form-control" ID="txt_Days1"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                </div>

                                         </div>
                                        <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Demand Time Fence</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_DemandtimeF" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="User Defined" Value="1"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>

                                            
                                               

                                                <label class="control-label col-md-2">Days</label>
                                                <div class="col-md-3">
                                                    
                                                        <asp:TextBox CssClass="form-control" ID="txt_Days2"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                </div>

                                         </div>
                                        <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Realease Time Fence</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_Release" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="User Defined" Value="1"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>

                                            
                                               

                                                <label class="control-label col-md-2">Days</label>
                                                <div class="col-md-3">
                                                    
                                                        <asp:TextBox CssClass="form-control" ID="txt_Days3"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                </div>

                                         </div>
                                        <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Substitution Windows</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_Subwindows" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="User Defined" Value="1"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>

                                            
                                               

                                                <label class="control-label col-md-2">Days</label>
                                                <div class="col-md-3">
                                                    
                                                        <asp:TextBox CssClass="form-control" ID="txt_Day4"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                </div>

                                         </div>
                                        <br />
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Incremental Supply Pattern</h3>
                                                        <div class="row" style="padding-top:10px">
                                                      
                                                   
                                     
                                                

                                               <label class="control-label col-md-2">Continous Inter-ORG Transfers</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList4" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                         <asp:ListItem Text="No" Value="2"></asp:ListItem>
                                                         <asp:ListItem Text="User Globel Value" Value="3"></asp:ListItem>

                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                                              <label class="control-label col-md-2">Convergence Pattern</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_ConvergencePattern" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                         <asp:ListItem Text="No" Value="2"></asp:ListItem>
                                                         <asp:ListItem Text="User Globel Value" Value="3"></asp:ListItem>

                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                                                         
                                                            <label class="control-label col-md-2">Divergence Pattern</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_DivergencePattern" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                                         <asp:ListItem Text="No" Value="2"></asp:ListItem>
                                                         <asp:ListItem Text="User Globel Value" Value="3"></asp:ListItem>

                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
</div>

                                               
                                                        </div></div></div>
                                        </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Distribution Planning</h3>
                                                        <div class="row" style="padding-top:10px">
                                                      <label class="col-md-1 control-label"></label>
                                            <div class="col-md-3 text-left">
                                                <span class="checkbox"><input id="chk_Displan" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Displan" />
                                                    <label class="col-md-1 control-label"></label>Distribution Plan</span>

                                            </div>
                                                            </div>
                                                             <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Maximum Inventory</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_maximuminventory" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 <label class="control-label col-md-2">Target Inventory</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_targetinventory" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                   
                                     
                                                
               
                                                           
</div>

                                               
                                                        </div></div></div>
                                        </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Repair</h3>
                                                        <div class="row" style="padding-top:10px">
                                                     <label class="control-label col-md-2">Continous Inter-ORG Transfers</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList5" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Repair Return" Value="1"></asp:ListItem>
                                                         <asp:ListItem Text="Advanced Exchange or Defector Reciept" Value="2"></asp:ListItem>
                                                         <asp:ListItem Text="Advanced Exchange on PO Issue" Value="3"></asp:ListItem>

                                                        
                                                        
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                                            </div>
                                                             <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Repair Yield</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_repairyield" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 <label class="control-label col-md-2">Repair Lead Time</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Repiarleadtime" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                  <label class="col-md-1 control-label"></label>
                                            <div class="col-md-2 text-left">
                                                <span class="checkbox"><input id="chk_prepositionpoint" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$prepositionpoint" />
                                                    <label class="col-md-1 control-label"></label>Preposition Point</span>

                                            </div>
                                                   
                                     
                                                
               
                                                           
</div>

                                               
                                                        </div></div></div>
                                        </div>
                                              
                                         

                                 

                                        </div>

                                    <div id="leadtimes" class="tab-pane fade active in">
                                        
                                                   <div class="row" style="padding-top:10px">
                                           <label class="control-label col-md-2">Preprocessing</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_preprocessing" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                                   <div class="row" style="padding-top:10px">
                                           <label class="control-label col-md-2">Processing</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_processing" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                                   <div class="row" style="padding-top:10px">
                                           <label class="control-label col-md-2">Postprocessing</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Postprocessing" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                                   <div class="row" style="padding-top:10px">
                                           <label class="control-label col-md-2">Fixed</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Fixed" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                                   <div class="row" style="padding-top:10px">
                                           <label class="control-label col-md-2">Veriable</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Veriable" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                                   <div class="row" style="padding-top:10px">
                                           <label class="control-label col-md-2">Cumulative Manufacturing</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Cumulativemanu" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                                   <div class="row" style="padding-top:10px">
                                           <label class="control-label col-md-2">Cumulative Total</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Cumulativetotal" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                                   <div class="row" style="padding-top:10px">
                                           <label class="control-label col-md-2">Lead Time Lot Size</label>
                                                            <div class="col-md-3">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Leadtimelotsize" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                         

                                                             </div>
                                           

                                        </div>
                                    <div id="WIP" class="tab-pane fade active in">
                                        
                                      
                                         <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_Buildinwip" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Buildinwip" />
                                                    <label class="col-md-1 control-label"></label>Build in WIP</span>

                                            </div>
                                          </div>
                                       
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Supply</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-2">Type</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_Types" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Push" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Assembly Pull" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="Operation Pull" Value="3"></asp:ListItem>
                                                        <asp:ListItem Text="Bulk" Value="4"></asp:ListItem>
                                                        <asp:ListItem Text="Supplier" Value="5"></asp:ListItem>
                                                        <asp:ListItem Text="phaton" Value="6"></asp:ListItem>
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                                             <asp:HiddenField ID="hid_Subinventoryshipp" runat="server" />
                                               

                                                <label class="control-label col-md-2">Suinventory</label>
                                                <div class="col-md-2">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_Subinventoryshipp"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                        <span class="input-group-btn">
                                                            <button id="btn_Subinventoryshipp" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_Subinventoryshipp_Click"><i
                                                                    class="fa fa-search"></i></button>
                                                        </span>
                                                    </div>
                                                </div>
                                                   
                                     
                                                

                                                <label class="control-label col-md-2">Locator</label>
                                          
                                               
                                                <div class="col-md-2">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Locator"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Scheduling Penalty Per Day</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">
                                                  
                                                   
                                     
                                                

                                                <label class="control-label col-md-2">Inventory Carry</label>
                                          
                                               
                                                <div class="col-md-2">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Inventorycarry"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                     
                                                            <label class="control-label col-md-2">Operation Slack</label>
                                          
                                               
                                                <div class="col-md-2">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Operationdslack"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                        <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">OverCompletion</h3>
                                                       
                                                        <div class="row" style="padding-top:10px">
                                                  
                                                   
                                     
                                                

                                                 <label class="control-label col-md-2">Tolerance Type</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="ddl_toleracnetype" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Percent" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Amount" Value="2"></asp:ListItem>
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                     
                                                            <label class="control-label col-md-2">Tolerance Value</label>
                                          
                                               
                                                <div class="col-md-2">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Tolervalue"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                     
                                                </div>

                                               
                                                        </div></div></div>

                                       
                                              
                                         

                                    </div>
                                        </div>

                                    <div id="orderM" class="tab-pane fade active in">
                                        
                                      
                                         <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_Customer" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$customer" />
                                                    <label class="col-md-1 control-label"></label>Customer Ordered</span>

                                            </div>
                                          
                                          

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_CustomerDate" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$CustomerDate" />
                                                    <label class="col-md-1 control-label"></label>Customer Ordered Date</span>

                                            </div>

                                               <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_Shipppable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Shipppable" />
                                                    <label class="col-md-1 control-label"></label>Shippable</span>

                                            </div>
                                              </div>
                                         <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_InternalOrd" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$InternalOrd" />
                                                    <label class="col-md-1 control-label"></label>Internal Ordeared</span>

                                            </div>
                                          
                                          

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_InternalOrdEnable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$InternalOrdEnable" />
                                                    <label class="col-md-1 control-label"></label>Internal Ordeared Enable</span>

                                            </div>

                                               <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_oetransactable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$oetransactable" />
                                                    <label class="col-md-1 control-label"></label>OE Transactable</span>

                                            </div>
                                              </div>
                                         <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-3 text-justify">
                                                <span class="checkbox"><input id="chk_pickcomponent" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$pickcomponent" />
                                                    <label class="col-md-1 control-label"></label>Pick Components</span>

                                            </div>
                                                   <label class="control-label col-md-2">Check ATP</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_Checkatp" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Material Only" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Resource Only" Value="2"></asp:ListItem>
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                                    </div>
                                         <div class="row" style="padding-top:10px">
                                              <label class="col-md-2 control-label"></label>
                                            <div class="col-md-3 text-justify">
                                                <span class="checkbox"><input id="chk_asstoorder" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$asstoorder" />
                                                    <label class="col-md-1 control-label"></label>Assemble To Order</span>

                                            </div>
                                                <asp:HiddenField ID="hid_Atprule" runat="server" />
                                               

                                                <label class="control-label col-md-2">ATP Rule</label>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_atprule"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                        <span class="input-group-btn">
                                                            <button id="btn_atprule" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_atprule_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-7"> ATP Components</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_atpcomponents" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Material Only" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Resource Only" Value="2"></asp:ListItem>
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                                    </div>
                                         <div class="row" style="padding-top:10px">
                                              <label class="col-md-2 control-label"></label>
                                            <div class="col-md-3 text-justify">
                                                <span class="checkbox"><input id="chk_Shipmpdel" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Shipmpdel" />
                                                    <label class="col-md-1 control-label"></label>Ship Model Compelete </span>

                                            </div>
                                                

                                                <label class="control-label col-md-2">Picking Rule</label>
                                            
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Picingrule"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div></div>
                                         <div class="row" style="padding-top:10px">
                                     
                                                

                                                <label class="control-label col-md-7">Default Shipping Organizations</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_defaultshippingorg"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div></div>
                                         <div class="row" style="padding-top:10px">
                                                   <label class="control-label col-md-7">Default SO Source Type</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_Defaultsosource" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Internal" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="External" Value="2"></asp:ListItem>
                                                        
                                                    </asp:DropDownList>

                                                </div>
                                                    </div>
                                         <div class="row" style="padding-top:10px">
                                     
                                                

                                                <label class="control-label col-md-7">Shipping SubInventory</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Shipsubinventory"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div></div>
                                         <div class="row" style="padding-top:10px">
                                     
                                                

                                                <label class="control-label col-md-7">Charge Periodicity</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="TextBox2"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div></div>
                                         <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_Returnable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Returnable" />
                                                    <label class="col-md-1 control-label"></label>Returnable</span>

                                            </div>
                                          
                                          

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_RMAinspection" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$RMAinspection" />
                                                    <label class="col-md-1 control-label"></label>RMA Inspection Required</span>

                                            </div>

                                               <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_Financingallowed" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Financingallowed" />
                                                    <label class="col-md-1 control-label"></label>Financing Allowed</span>

                                            </div>
                                              </div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Tolerances</h3>
                                                       
                                                         <div class="row" style="padding-top:10px">
                                     
                                                

                                                <label class="control-label col-md-2">Over Shippment</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_overshippment"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                     
                                                

                                                <label class="control-label col-md-2">Over Return</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Overreturn"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div></div>
                                                         <div class="row" style="padding-top:10px">
                                     
                                                

                                                <label class="control-label col-md-2">Under Shippment</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_Undershippment"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div>
                                     
                                                

                                                <label class="control-label col-md-2">Under Return</label>
                                          
                                               
                                                <div class="col-md-3">
                                            
                                                        <asp:TextBox CssClass="form-control" ID="txt_underretuen"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                      
                                                 
                                                </div></div>
                                                        </div></div></div></div>

                                       
                                              
                                         

                                    </div>
                                    <div id="Invoicing" class="tab-pane fade active in">
                                        
                                      
                                          <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-3 text-justify">
                                                <span class="checkbox"><input id="cjhk_Invoicable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Invoicable" />
                                                    <label class="col-md-1 control-label"></label>Invoicable Item</span>

                                            </div>
                                            </div>
                                          <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="Chk_Invoiceenabale" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Invoiceenabale" />
                                                    <label class="col-md-1 control-label"></label>Invoice Enable</span>

                                            </div>
                                            </div>
                                          <div class="row" style="padding-top:10px">
                                                <asp:HiddenField ID="hid_accountingrule" runat="server" />
                                               

                                                <label class="control-label col-md-2">Accounting Rule</label>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_Accountingrule"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                        <span class="input-group-btn">
                                                            <button id="btn_accountingrule" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_accountingrule_Click"><i
                                                                    class="fa fa-search"></i></button>
                                                        </span>
                                                    </div>
                                                </div></div>
                                          <div class="row" style="padding-top:10px">
                                                <asp:HiddenField ID="hid_Invoicingrule" runat="server" />
                                              

                                                <label class="control-label col-md-2">Invoicing Rule</label>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_InvoicingRule"
                                                            runat="server">
                                                        </asp:TextBox>
                                                       
                                                        <span class="input-group-btn">
                                                            <button id="btn_Invoicingrule" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_Invoicingrule_Click"><i
                                                                    class="fa fa-search"></i></button>
                                                        </span>
                                                    </div>
                                                </div>
                                               </div>
                                          <div class="row" style="padding-top:10px">
                                                <asp:HiddenField ID="hid_tacclasscode" runat="server" />
                                               

                                                <label class="control-label col-md-2">Output Tac Classification Code</label>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_classcode"
                                                            runat="server">
                                                        </asp:TextBox>
                                                        
                                                        <span class="input-group-btn">
                                                            <button id="btn_Classcode" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_Classcode_Click"><i
                                                                    class="fa fa-search"></i></button>
                                                        </span>
                                                    </div>
                                                </div>
                                               </div>
                                          <div class="row" style="padding-top:10px">
                                                <asp:HiddenField ID="hid_Salesaccount" runat="server" />
                                               

                                                <label class="control-label col-md-2">Primary</label>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_SalesAccount"
                                                            runat="server">
                                                        </asp:TextBox>
                                                       
                                                        <span class="input-group-btn">
                                                            <button id="btn_SalesAccount" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_SalesAccount_Click"><i
                                                                    class="fa fa-search"></i></button>
                                                        </span>
                                                    </div>
                                                </div>
                                               </div>
                                          <div class="row" style="padding-top:10px">
                                                <asp:HiddenField ID="hid_Payterms" runat="server" />
                                               

                                                <label class="control-label col-md-2">Payment Terms</label>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_Paymentterms"
                                                            runat="server"></asp:TextBox>
                                                       
                                                        <span class="input-group-btn">
                                                            <button id="btn_paymentterms" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_paymentterms_Click"><i
                                                                    class="fa fa-search"></i></button>
                                                        </span>
                                                    </div>
                                                </div>
                                               </div>
                                              
                                         

                                    </div>
                                    <div id="Service" class="tab-pane fade active in">
                                        
                                            <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Service</h3>
                                                        <div class="row" style="padding-top:10px">
                                                            <label class="control-label col-md-4">Service Request</label>
                                                            <div class="col-md-2">

                                                                <asp:DropDownList ID="ddl_Servicerequest" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="Enable" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Disable" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Inactive" Value="3">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>

                                                            </div>
                                                           
                                                        </div>
                                                        <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-3 text-justify">
                                                <span class="checkbox"><input id="chk_EnblCont" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$chk_EnblCont" />
                                                    <label class="col-md-1 control-label"></label>Enable Contract Coverage</span>

                                            </div>
                                            </div>
                                                         <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_EnbleDef" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$chk_EnbleDef" />
                                                    <label class="col-md-1 control-label"></label>Enable Defect Tracking</span>

                                            </div>
                                            </div>
                                                         <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_EnableProvis" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$chk_EnableProvis" />
                                                    <label class="col-md-1 control-label"></label>Enable Privisioning</span>

                                            </div>
                                            </div>
                                                  
                                                    </div>

                                                </div>
                                            </div>
                                        </div>
                                          <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Service Contracts</h3>
                                                         <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Contract Item Type </label>
                                                <div class="col-md-2">

                                                         <asp:DropDownList ID="ddl_Conitemtype" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="Service" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Usage" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="Subscription" Value="3">
                                                                    </asp:ListItem>
                                                                     <asp:ListItem Text="Warranty" Value="4">
                                                                    </asp:ListItem>
                                                                </asp:DropDownList>
                                                    </div>
                                                    
                                                             <label class="control-label col-md-2">Duration</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Durations" runat="server">
                                                                </asp:TextBox>

                                                            </div>
                                                                 
                                                          <label class="control-label col-md-2">Duration Period</label>
                                                <div class="col-md-2">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_DurationPer"
                                                            runat="server">
                                                        </asp:TextBox>
                                                      
                                                        <span class="input-group-btn">
                                                            <button id="btn_Duraperiod" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_Duraperiod_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">Templete</label>
                                                <div class="col-md-2">
                                                    <div class="input-group">
                                                        <asp:TextBox CssClass="form-control" ID="txt_Templete"
                                                            runat="server">
                                                        </asp:TextBox>
                                                      
                                                        <span class="input-group-btn">
                                                            <button id="btn_Templete" type="button" runat="server"
                                                                class="btn btn-white"
                                                                onserverclick="btn_Templete_Click"><i
                                                                    class="fa fa-search"></i></button>
                                                        </span>
                                                    </div>
                                                </div>
                                                           <label class="control-label col-md-2">Starting Delay Days</label>
                                                            <div class="col-md-2">

                                                                <asp:TextBox CssClass="form-control"
                                                                    ID="txt_Startingdelay" runat="server">
                                                                </asp:TextBox>

                                                            </div>

                                                             </div>
                                                        </div></div></div></div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Installed Base</h3>
                                                         <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_TracinInstall" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$chk_TracinInstall" />
                                                    <label class="col-md-1 control-label"></label>Track In Install Base</span>

                                            </div>
                                                             <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="Checkbox1" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$chk_TracinInstall" />
                                                    <label class="col-md-1 control-label"></label>Create Fixed Asset</span>

                                            </div>
                                                             <label class="control-label col-md-2">Instance Class</label>
                                                <div class="col-md-2">

                                                    <asp:DropDownList ID="DropDownList2" runat="server"
                                                        CssClass="form-control">
                                                        <asp:ListItem Text="---Select---" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Hardware" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Link" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="Software" Value="3"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>
                                            </div>
                                                        </div></div></div></div>
                                         <div class="panel">
                                            <div class="row" style="padding-top:50px,inherit">
                                                <div class="col-md-12" style="text-align-last">
                                                    <div class="panel-heading">
                                                        <h3 class="panel-title">Dibrief & Charges</h3>
                                                         <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Recoverd Part Dispositions </label>
                                                <div class="col-md-2">

                                                         <asp:DropDownList ID="ddl_recpartdisp" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="Fast Retuen" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="No Retuen" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="SLow Return" Value="3">
                                                                    </asp:ListItem>
                                                                    
                                                                </asp:DropDownList>
                                                    </div>
                                                    
                                                             <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_EnableServicebilling" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$chk_EnableServicebilling" />
                                                    <label class="col-md-1 control-label"></label>Enable Service Billing</span>

                                            </div>
                                                                 <label class="control-label col-md-2">Billing Type </label> 
                                                          <div class="col-md-2">

                                                         <asp:DropDownList ID="ddl_BillingType" runat="server"
                                                                    CssClass="form-control">

                                                                    <asp:ListItem Text="Fast Retuen" Value="1">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="No Retuen" Value="2">
                                                                    </asp:ListItem>
                                                                    <asp:ListItem Text="SLow Return" Value="3">
                                                                    </asp:ListItem>
                                                                    
                                                                </asp:DropDownList>
                                                    </div>

                                                             </div>

                                                     
                                                        </div></div></div></div>

                                    </div>
                                    <div id="Weboption" class="tab-pane fade active in">
                                        
                                            <div class="row" style="padding-top:10px">
                                                <label class="control-label col-md-2">Web status</label>
                                                <div class="col-md-3">

                                                    <asp:DropDownList ID="ddl_Webstatus" runat="server"
                                                        CssClass="form-control">

                                                        <asp:ListItem Text="Disabled" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Published" Value="2"></asp:ListItem>
                                                         <asp:ListItem Text="UnPublished" Value="2"></asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>
                                            </div>
                                        <div class="row" style="padding-top:10px">

                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_Orderableweb" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$Invemitem" />
                                                    <label class="col-md-1 control-label"></label>Orderable on the Web</span>

                                            </div>
                                            </div>
                                        <div class="row" style="padding-top:10px">
                                            <label class="col-md-2 control-label"></label>
                                            <div class="col-md-2 text-justify">
                                                <span class="checkbox"><input id="chk_BackOrderable" runat="server"
                                                        type="checkbox" name="ctl00$ContentPlaceHolder1$stockable" />
                                                    <label class="col-md-1 control-label"></label>Back Orderable</span>

                                            </div>
                                            </div>
                                            <div class="row" style="padding-top:10px">

                                                <label class="control-label col-md-2">Minimum License Quantity</label>
                                                <div class="col-md-3">
                                                   
                                                        <asp:TextBox CssClass="form-control" ID="txt_minlicqty"
                                                            runat="server">
                                                        </asp:TextBox>

                                                        
                                                    </div>
                                                

                                            </div>
                                          

                                        </div>

                                      
                                   </div>
                                    <hr />



                            </updatepanel>
                            <hr />

                            <div class="row">
                                <asp:Label CssClass="control-label col-md-offset-2" ID="lbl_due" runat="server">
                                </asp:Label>
                            </div>

                        </div>
                </div>
                </section>
            </div>
        </div>
        </div>
        <script src="../../ThemeScrips/jquery.min.js"></script>
        <link href="../../ThemeScrips/select2.min.css" rel="stylesheet" />
        <script src="../../ThemeScrips/select2.min.js"></script>
        <%--<script src="/ThemeScrips/select2.min.js">
            </script>--%>


            <script src="Scripts/jquery-2.1.3.min.js"></script>
            <script src="Scripts/bootstrap.js"></script>

            <script>
                $('.select2').select2();
                $('.select2').select2({ dropdownAutoWidth: true });
                $('.select2').select2({ width: '100%' });

                $(document).ready(function () {

                    var tabId = document.getElementById('<%= hidTAB.ClientID%>').value;
                    if (tabId == "17") {
                        $('#myTabs a[href="#Weboption"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "16") {
                        $('#myTabs a[href="#Service"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "15") {
                        $('#myTabs a[href="#ProcessManu"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "14") {
                        $('#myTabs a[href="#Invoicing"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "13") {
                        $('#myTabs a[href="#orderM"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "12") {
                        $('#myTabs a[href="#WIP"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "11") {
                        $('#myTabs a[href="#leadtimes"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "10") {
                        $('#myTabs a[href="#MPS"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "9") {
                        $('#myTabs a[href="#GeneralP"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "8") {
                        $('#myTabs a[href="#PhysicalA"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "7") {
                        $('#myTabs a[href="#Receiving"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "6") {
                        $('#myTabs a[href="#Purchasing"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    if (tabId == "5") {
                        $('#myTabs a[href="#Costing"]').tab('show');
                        //alert(tabId);
                        //$('.nav-tabs a[href="#Location"]').tab('show');
                    }
                    else if (tabId == "4") {
                        $('#myTabs a[href="#Assetmanagment"]').tab('show');
                        //alert(tabId);
                    }
                    else if (tabId == "3") {
                        $('#myTabs a[href="#BOM"]').tab('show');
                        //alert(tabId);
                    }
                    else if (tabId == "2") {
                        $('#myTabs a[href="#Inventory"]').tab('show');
                        //alert(tabId);
                    }
                    else {
                        $('#myTabs a[href="#Main"]').tab('show');
                        //alert(tabId);
                    }

                    //$('.nav-tabs a[href="#' + tabId + '"]').tab('show');
                    //$('#myTabs a[href="' + tab + '"]').tab('show');

                    //$("btn_lov_ReqPlan").click(function ()){
                    //    $('#myTabs a[href="#Action"]').tab('show');
                    //    alert('Yes Action');
                    //});

                });

                                <li class="inactive"><a data-toggle="tab" id="AssetM_click" href="#Assetmanagment" aria-expanded="false">Asset Managment</a></li>
                                <li class="inactive"><a data-toggle="tab" id="Costing_click" href="#Costing" aria-expanded="false">Costing</a>
                                <li class="inactive"><a data-toggle="tab" id="Purchasing_click" href="#Purchasing" aria-expanded="true">Purchasing</a></li>
                                <li class="inactive"><a data-toggle="tab" id="Receiving_click" href="#Receiving" aria-expanded="false">Receiving</a></li>
                                <li class="inactive"><a data-toggle="tab"id="PhysicalA_click" href="#PhysicalA" aria-expanded="false">Physical Attributes</a></li>
                                <li class="inactive"><a data-toggle="tab" id="GeneralP_click" href="#GeneralP" aria-expanded="false">General Planning</a></li>
                                <li class="inactive"><a data-toggle="tab" id="MPS_click" href="#MPS" aria-expanded="false">MPS/MRP Planning</a>
                                <li class="inactive"><a data-toggle="tab" id="leadtime_click" href="#leadtimes" aria-expanded="true">Lead Times</a></li>
                                <li class="inactive"><a data-toggle="tab" id="WIP_click" href="#WIP" aria-expanded="false">Work InProccess</a></li>
                                <li class="inactive"><a data-toggle="tab"id="orderM_click" href="#orderM" aria-expanded="false">Order Managment</a></li>
                                <li class="inactive"><a data-toggle="tab"id="Invoicing_click" href="#Invoicing" aria-expanded="false">Invoicing</a></li>
                                <li class="inactive"><a data-toggle="tab" id="ProcessManu_click" href="#ProcessManu" aria-expanded="false">Proccess Manufacturing</a></li>
                                <li class="inactive"><a data-toggle="tab" id="Service_click" href="#Service" aria-expanded="false">Service</a>
                                <li class="inactive"><a data-toggle="tab" id="Weboptione_click" href="#Weboption" aria-expanded="false">WebOption</a>
        $("#Main_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "1";
            //var x = document.getElementById('<%= hidTAB.ClientID%>').value;           
            //alert(x);
        });

        $("#Inventory_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "2";
            //var y = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(y);
        });

        $("#BOM_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "3";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });

        $("#AssetM_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "4";
             //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });

        $("#Costing_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "5";
             //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#Purchasing_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "6";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#Receiving_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "7";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#PhysicalA_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "8";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#GeneralP_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "9";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#MPS_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "10";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#leadtime_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "11";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#WIP_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "12";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#orderM_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "13";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#Invoicing_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "14";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#ProcessManu_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "15";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#Service_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "16";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });
        $("#Weboptione_click").click(function () {
            document.getElementById('<%= hidTAB.ClientID%>').value = "17";
            //var z = document.getElementById('<%= hidTAB.ClientID%>').value;
            //alert(z);
        });

        //$("btn_lov_ReqPlan").click(function ()){
        //        $('#myTabs a[href="#Action"]').tab('show');
        //        alert('Yes Action');
        //});


        // Open & Close Modal Popup \\

        //function openModal() {
        //    $('[id*=myModal2]').modal('show');
        //}  

        //function closeModal() {
        //    $('[id*=myModal2]').modal('hide');
        //} 

        // Open & Close Modal Popup \\

        //$("#lnkpopup").click(function () {
        //    // show Modal
        //    //$('[id*=myModal2]').modal('show');
        //});

            </script>
    </asp:Content>