<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="MaterialManagement_InventoryPlanning_StockItemMaster, App_Web_b150320m" title="Stock Item Master" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/MaterialManagement/PurchaseUom/MultiplePurchaseUom.ascx"
    TagPrefix="cc1" TagName="UomUserControl" %>
<%@ Register Src="~/UserControls/MaterialManagement/MultiPleBin/MultiPleBin.ascx"
    TagPrefix="cc2" TagName="MultiPleBinUserControl" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/Stock/StockDetailBoxControl.ascx" TagName="StockControl" TagPrefix="Stock" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ServiceItemUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <cc1:UomUserControl ID="UomUpdationCtrl" runat="server" />
            <%--<cc2:MultiPleBinUserControl ID="BinUserControl" runat="server" />--%>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <%-- <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                               <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>    
                                            </div>
                                        </div>
                                    </div>--%>
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="160"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>

                <div class="whiteboxpaddingleft row">
                    <Stock:StockControl ID="StockUserControl" runat="server" Visible="true" />

                    <!-- Sub Container2 Box Start -->
                    <div class="himssuHeader2WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server" meta:resourcekey="Panel1Resource1">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <asp:Image ID="Image2" runat="server" class="fLeft"
                                        meta:resourcekey="Image2Resource1" />
                                    <div class="headerText">
                                        <header>
                                            <i class="fal fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"
                                                meta:resourcekey="Label3Resource1">
                                                        
                                            </asp:Label>

                                        </header>
                                        <%--   <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" TargetControlID="DetailPanel"
                                                        ExpandControlID="Image2" CollapseControlID="Image2" TextLabelID="Label3" Collapsed="True"
                                                        ImageControlID="Image2" ExpandedImage="~/images/buttonCollapse.gif"
                                                        CollapsedImage="~/images/buttonExpand.gif" Enabled="True" />--%>
                                        <div class="pull-right mt-27">
                                            <asp:Button ID="AddNewButtonID" OnClick="AddNewButton_Click" runat="server" SkinID="0" CssClass="btn btn-add fas" Text="&#xf067; Add" />
                                        </div>

                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="server"
                                meta:resourcekey="DetailPanelResource1">
                                <div class="himsBoxContent">
                                    <div class="contentHolder">
                                        <asp:Panel ID="SearchCriteriaPanel" runat="server"
                                            meta:resourcekey="SearchCriteriaPanelResource1">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label1" Text="Code" runat="server"
                                                        meta:resourcekey="Label1Resource1"></asp:Label>
                                                </div>
                                                <div class="fLeft">
                                                    <asp:TextBox ID="SearchCodeTextBox" SkinID="CustomWidthTextBox" 
                                                        runat="server" meta:resourcekey="SearchCodeTextBoxResource1" MaxLength="100"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label2" Text="Name" runat="server"
                                                        meta:resourcekey="Label2Resource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SearchNameTextBox" SkinID="CustomWidthTextBox" 
                                                        runat="server" meta:resourcekey="SearchNameTextBoxResource1" MaxLength="100"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="">
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SearchMainGroupLabel" runat="server" Text="Main Group"
                                                        meta:resourcekey="Label11Resource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="SearchMainGroupDropDownList"
                                                        runat="server" onmouseleave="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="Fill_Search_Item_Sub_Category" SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                        meta:resourcekey="MainGroupDropDownListResource1">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SearchSubGroupLabel" runat="server" Text="Sub Group"
                                                        meta:resourcekey="Label11Resource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="SearchSubGroupDropDownList"
                                                        runat="server" onmouseleave="showHideTooltip()" AutoPostBack="false" SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                        meta:resourcekey="MainGroupDropDownListResource1">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop15 col-md-12">
                                                <div class="searchBoxBtn alignCenter">
                                                    <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="server"
                                                        OnClick="SearchButton_Click" SkinID="0" CssClass="fas btn btn-search" />
                                                    <asp:Button ID="ResetButton" runat="server" Text="&#xf12d; Clear" CssClass="btn btn-clear fas" onblur="fnClearTabIndexChange()"
                                                        OnClick="ResetButton_Click" SkinID="0" meta:resourcekey="ResetButtonResource1" />
                                                    <asp:Button ID="ExportButton" Enabled="false" SkinID="0" CssClass="btn-examcommon btn fas"
                                                        Text="&#xf093; Export" runat="Server" OnClick="ExportButton_Click" />
                                                </div>
                                            </div>
                                        </asp:Panel>



                                        <div id="StockItemMasterDetailDiv" visible="False" runat="server">

                                            <div class="himssuHeader7WireBox col-md-12" id="PatientRelationDiv" runat="server" style="width: 100%">
                                                <div class="himsBoxHeader" id="ListDiv" runat="server" visible="True">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle" style="width: 99%">
                                                        <div class="headerText">
                                                            <div class="fLeft">
                                                            </div>
                                                             <div class="col-md-5">
                                                            <asp:Label ID="RecordsPerPage" Text="Records per Page : " runat="server" />
                                                            <asp:DropDownList ID="AddRowsToGridDropDownList" SkinID="CustomWidthDropDownList" Width="60px" runat="server"
                                                                AutoPostBack="true" OnSelectedIndexChanged="AddRowsToGridDropDownList_SelectedIndexChanged">
                                                                <asp:ListItem Text="25" Value="25" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="50" Value="50"></asp:ListItem>
                                                                <asp:ListItem Text="75" Value="75"></asp:ListItem>
                                                                <asp:ListItem Text="100" Value="100"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                        </div>
                                                        <div class="fRight" style="margin-top: 0px;">
                                                            <uc1:GridViewPager ID="StockItemMasterGridView_GridViewPager" runat="server" OnFirstRecordClick="StockItemMasterGridView_GridViewPager_FirstRecordClick"
                                                                OnLastRecordClick="StockItemMasterGridView_GridViewPager_LastRecordClick" OnNextRecordClick="StockItemMasterGridView_GridViewPager_NextRecordClick"
                                                                OnPrevRecordClick="StockItemMasterGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="StockItemMasterGridView_GridViewPager_TextBoxValueChange"
                                                                ParentGridView="StockItemMasterGridView" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <asp:HiddenField ID="StockItemPlanningHiddenField" runat="server" />
                                                <div class="himsBoxContent">
                                                    <%-- <div id="DivHeader" style="vertical-align: top; width: 100%; height: 21px;">
                                    <asp:Table ID="StockItemMasterGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                        BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" 
                                        CssClass="GridViewTableRow" 
                                        meta:resourcekey="StockItemMasterGridViewTableResource1">
                                    </asp:Table>
                                </div>--%>


                                                    <%-- <div id="DivData" class="Container" style="vertical-align: top; height: 109px; width: 99.6%;">--%>
                                                    <div id="Div2" runat="server" class="table-responsive pTop10">
                                                        <asp:GridView ID="StockItemMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            OnRowDataBound="StockItemMasterGridView_RowDataBound" OnPageIndexChanging="StockItemMasterGridView_PageIndexChanging"
                                                            PageSize="10" ShowHeader="True" AllowPaging="True"
                                                            DataKeyNames="TotalRecords"
                                                            meta:resourcekey="StockItemMasterGridViewResource1"
                                                            CssClass="table table-striped table-bordered table-hover">
                                                            <Columns>
                                                                <asp:TemplateField meta:resourcekey="TemplateFieldResource1">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="EditLinkButton" runat="server" OnClick="LinkButton_Click" Text="Select"
                                                                            CausesValidation="False" CommandName="Select"
                                                                            meta:resourcekey="EditLinkButtonResource1">
                                                                        </asp:LinkButton>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Id" SortExpression="Id" Visible="False"
                                                                    meta:resourcekey="TemplateFieldResource2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="IdLabel" runat="server" Text='<%# Bind("Id") %>'
                                                                            meta:resourcekey="IdLabelResource1"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="0%" />
                                                                    <ItemStyle Width="0%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="StockItemPlanningId" SortExpression="Id" Visible="False"
                                                                    meta:resourcekey="TemplateFieldResource2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StockItemPlanningIdLabel" runat="server" Text='<%# Bind("StockItemPlanningId") %>'
                                                                            meta:resourcekey="IdLabelResource1"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="0%" />
                                                                    <ItemStyle Width="0%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Code" SortExpression="Code" HeaderStyle-HorizontalAlign="Left"
                                                                    meta:resourcekey="TemplateFieldResource3">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="CodeLabel" runat="server" Text='<%# Bind("Code") %>'
                                                                            meta:resourcekey="CodeLabelResource1"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="20%" />
                                                                    <ItemStyle Width="20%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Name" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                    meta:resourcekey="TemplateFieldResource4">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="NameLabel" runat="server" Text='<%# Bind("Title") %>'
                                                                            meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="20%" />
                                                                    <ItemStyle Width="20%" />
                                                                </asp:TemplateField>
                                                                <%--                                          <asp:TemplateField HeaderText="Type" SortExpression="StockItemTypeTitle" 
                                                meta:resourcekey="TemplateFieldResource5">
                                                <ItemTemplate>
                                                    <asp:Label ID="ServiceMainGroupLabel" runat="server" 
                                                        Text='<%# Bind("StockItemTypeTitle") %>' 
                                                        meta:resourcekey="ServiceMainGroupLabelResource1"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle Width="10%" />
                                                <ItemStyle Width="20%" />
                                            </asp:TemplateField>--%>
                                                                <asp:TemplateField HeaderText="Main Group" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                    meta:resourcekey="TemplateFieldResource4">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="MainGroupLabel" runat="server" Text='<%# Bind("MainGroupName") %>'
                                                                            meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="20%" />
                                                                    <ItemStyle Width="20%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Sub Group" SortExpression="Title" Visible="false"
                                                                    meta:resourcekey="TemplateFieldResource4">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="SubGroupLabel" runat="server" Text='<%# Bind("SubGroupName") %>'
                                                                            meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="20%" />
                                                                    <ItemStyle Width="20%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="InActive" SortExpression="IsObsolete"
                                                                    meta:resourcekey="TemplateFieldResource6">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ObsoleteLabel" runat="server"
                                                                            Text='<%# DataBinder.Eval(Container.DataItem,"IsObsolete").ToString().ToUpper()=="TRUE"?"Y":"N" %>'
                                                                            meta:resourcekey="ObsoleteLabelResource1"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle HorizontalAlign="Center" Width="10%" />
                                                                    <ItemStyle HorizontalAlign="Center" Width="20%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Batch Wise" SortExpression="BatchWiseTracking"
                                                                    meta:resourcekey="TemplateFieldResource6">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="lblIsBatchWiseTracking" runat="server"
                                                                            Text='<%# DataBinder.Eval(Container.DataItem,"IsBatchWiseTracking").ToString().ToUpper()=="TRUE"?"Y":"N" %>'
                                                                            meta:resourcekey="lblIsBatchWiseTracking1"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle HorizontalAlign="Center" Width="10%" />
                                                                    <ItemStyle HorizontalAlign="Center" Width="20%" />
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                    <%-- <div class="spacer">
                                    <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" 
                                        meta:resourcekey="Image3Resource1" />
                                </div>--%>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <asp:HiddenField ID="TaxGroupIdHiddenField" runat="server" />
                    <%--   <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif"
                                        meta:resourcekey="Image4Resource1" />
                                </div>--%>

                    <div class="tableContainer card card-box" id="DetailDiv" runat="server">
                        <div class="card-head">

                            <div id="NumberOfRecordDiv" runat="server" class="fRight mt-27 pagination display-flex" visible="false">

                                <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                    ID="FirstRecordImageButton" runat="server" OnClick="FirstRecordImageButton_Click">
                                                       <i class="fa fa-fast-backward"></i>
                                </asp:LinkButton>
                                <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                    ID="PreviousImageButton" runat="server" OnClick="PreviousImageButton_Click">
                                                       <i class="fa fa-play fa-rotate-180"></i>
                                </asp:LinkButton>
                                &nbsp;
                                                    <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                <asp:Label ID="ofLabel" Text="of" runat="server" />
                                <asp:Label ID="TotalRecord" runat="server" />
                                &nbsp;
                                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                                        ID="NextImageButtom" runat="server" OnClick="NextImageButton_Click">
                                                       <i class="fa fa-play"></i>
                                                    </asp:LinkButton>
                                <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                    ID="LastRecordImageButton" runat="server" OnClick="LastRecordImageButton_Click">
                                                       <i class="fa fa-fast-forward"></i>
                                </asp:LinkButton>
                                &nbsp;&nbsp;&nbsp;       
                                                 
                                                    &nbsp; 
                            </div>
                            <div class="fRight">
                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                    CssClass="btn btn-back fas" Text="&#xf30a; Back" />
                            </div>

                        </div>
                        <ajaxToolkit:TabContainer ID="StockItemTabContainer" runat="server" AutoPostBack="False"
                            CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                            OnActiveTabChanged="StockItemTabContainer_ActiveTabChanged">
                            <ajaxToolkit:TabPanel ID="GeneralTabPanel" runat="server" HeaderText="General"
                                meta:resourcekey="GeneralTabPanelResource1" TabIndex="0">
                                <HeaderTemplate>

                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                        <li class="fancyTab">
                                            <a>
                                                <i class="fas fa-edit"></i>&nbsp;General
                                            </a>
                                        </li>
                                    </ul>
                                </HeaderTemplate>

                                <ContentTemplate>

                                    <!-- Tax Information Box Start -->
                                    <div class="contentHolder">
                                        <div class="himssuHeader1WireBox pTop15">

                                            <div class="himsBoxHeader" id="Div4" runat="server" visible="True">
                                                <div class="leftdiv">
                                                </div>

                                                <%--   <div class="himsBoxTitle">
                                                                <div class="headerText fLeft">

                                                                    <asp:Label ID="Label9" Text="General"
                                                                        runat="server" />
                                                                </div>
                                                            </div>--%>
                                            </div>
                                            <div class="himsBoxContent card-body">
                                                <div class="contentHolder">

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label4" runat="server" Text="Code" SkinID="MandatoryLabel"
                                                                meta:resourcekey="Label4Resource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:TextBox ID="TextBox1" Visible="False" runat="server" MaxLength="10"
                                                                AutoPostBack="True" meta:resourcekey="TextBox1Resource1"></asp:TextBox>
                                                            <asp:TextBox ID="CodeTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                                MaxLength="100" AutoPostBack="True" OnTextChanged="CodeTextBox_TextChanged" onkeypress="return fnKeyPressForCodeField(event)"
                                                                onblur="return fnonTextChangeCodeField(this)" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" meta:resourcekey="CodeTextBoxResource2"></asp:TextBox>
                                                            <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label5" runat="server" Text="Name" SkinID="MandatoryLabel"
                                                                meta:resourcekey="Label5Resource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="NameTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                                MaxLength="100" onkeypress="return fnKeyPressForNameField(event)"
                                                                onblur="return fnonTextChangeNameField(this)" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" meta:resourcekey="NameTextBoxResource2"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label11" runat="server" Text="Main Group" SkinID="MandatoryLabel"
                                                                meta:resourcekey="Label11Resource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="MainGroupDropDownList"
                                                                runat="server" onmouseleave="showHideTooltip()" AutoPostBack="True" OnSelectedIndexChanged="Fill_Item_Sub_Category" SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="MainGroupDropDownListResource1">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ServiceSubGroupLabel" runat="server" SkinID="MandatoryLabel" Text="Sub Group"
                                                                meta:resourcekey="ServiceSubGroupLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="ServiceSubGroupDropDownList" runat="server" onmouseleave="showHideTooltip()" AutoPostBack="False"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                meta:resourcekey="ServiceSubGroupDropDownListResource1">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="">
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="StockItemCategoryIdLabele" runat="server" Text="Stock Item Category"
                                                                meta:resourcekey="ServiceSubGroupLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:DropDownList ID="StockItemCategoryIdDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="TaxGroupLabel" runat="server" SkinID="MandatoryLabel" Text="Issue UOM"
                                                                meta:resourcekey="TaxGroupLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft  pRight5">
                                                            <asp:DropDownList ID="IssueDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" meta:resourcekey="IssueDropDownListResource1">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label8" runat="server" Text="Purchase UOM"
                                                                meta:resourcekey="Label8Resource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="lstUom" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                runat="server" meta:resourcekey="lstUomResource1">
                                                            </asp:DropDownList>
                                                            <asp:ImageButton ID="PurchaseImageButton" ImageUrl="~/Images/icon_uom.gif" OnClick="UomBtnImage_click"
                                                                ToolTip="Add Purchase Uom" runat="server"
                                                                meta:resourcekey="PurchaseImageButtonResource1" />
                                                        </div>
                                                    </div>
                                                    <div class="cBoth"></div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label14" runat="server" Text="Bin Name"
                                                                meta:resourcekey="Label14Resource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="BinNameDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="BinNameDropDownListResource1">
                                                            </asp:DropDownList>
                                                            <%--  <asp:ImageButton ID="BinButton" ImageUrl="~/Images/icons/icon_visit.png" OnClick="BinBtnImage_click"
                                                                            ToolTip="Add Multiple Bin" runat="server"
                                                                            meta:resourcekey="BinButtonResource1" />--%>
                                                        </div>
                                                    </div>


                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label19" runat="server" Text="Vendor"
                                                                meta:resourcekey="Label19Resource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5 display-flex">
                                                            <acc:AutoCompleteControl ID="VendorAutoCompleteControl" SkinID="CustomWidthTextBox" style="width:100%"
                                                                IsCacheEnabled="false" runat="server" MinimumPrefixLength="2" FirstRowSelected="true"
                                                                ContextKey="Procurement.VendorName" AutoPostBack="false" DisplayLoadingStatus="true" />
                                                            <asp:ImageButton ID="VendorSearchImageButton" SkinID="FindImage" OnClick="VendorSearchImageButton_Click"
                                                                ToolTip="Vendor" runat="server"
                                                                meta:resourcekey="VendorSearchImageButtonResource1" />
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="StandardPriceLabel" runat="server" Text="Standard Price"
                                                                meta:resourcekey="StandardPriceLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="StandardPriceTextBox" SkinID="CustomWidthTextBox" runat="server" MaxLength="13"
                                                                dir="ltr" onKeypress="javascript:return MaskDecimal(event,10,2)" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="StandardPriceTextBoxResource1"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="OrganizationDepartmentLabel" runat="server" Text="Tax Group"
                                                                meta:resourcekey="OrganizationDepartmentLabelResource1" Visible="false"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="TaxDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" meta:resourcekey="TaxDropDownListResource1" Visible="false">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>


                                                    <%--  <div class="RespiratoryBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ReminderLabel10" Visible="false" Text="Reminder" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="ReminderTextBox" Visible="false"  runat="server" SkinID="MultilineTextBox"
                                                        Width="440px" Height="35px" TextMode="MultiLine" MaxLength="500"></asp:TextBox>
                                                </div>
                                            </div>--%>



                                                    <%--  <div class="outerBox11 pTop5">
                                <div class="fLeft">
                                    <asp:CheckBox ID="DrugDetailsCheckBox" Visible="false" AutoPostBack="True" OnCheckedChanged="UomType_Changed"
                                        runat="server" meta:resourcekey="DrugDetailsCheckBoxResource1" />
                                </div>
                                <div class="fLeft pLeft5 pTop5">
                                    <asp:Label ID="ObsoleteLabel1" runat="server" Visible="false" Text="Drug" 
                                        meta:resourcekey="ObsoleteLabel1Resource1"></asp:Label>
                                </div>
                            </div> --%>

                                                    <div class="outerBox11 col-md-3 pTop5" id="BatchWiseDiv" runat="server">
                                                        <div class="fLeft">
                                                            <asp:CheckBox ID="BatchWiseCheckBox" runat="server"
                                                                meta:resourcekey="BatchWiseCheckBoxResource1" Text="IsBatchWise" />
                                                        </div>
                                                        <div class="fLeft pLeft5 pTop5">
                                                            <%--  <asp:Label ID="IsBatchWiseLabel" AssociatedControlID="BatchWiseCheckBox" runat="server" 
                                                                    meta:resourcekey="Label10Resource1"></asp:Label>--%>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox11 col-md-3 pTop5" runat="server" visible="false">
                                                        <div class="fLeft">
                                                            <asp:CheckBox ID="IsBlockedForIssueCheckBox1"
                                                                runat="server" meta:resourcekey="DrugDetailsCheckBoxResource1" Text="Blocked For Opd Issue" />
                                                        </div>
                                                        <div class="fLeft pLeft5 pTop5">
                                                            <%--  <asp:Label ID="IsBlockedForIssueLabel10" runat="server" Text="Blocked For Opd Issue"
                                                                    meta:resourcekey="ObsoleteLabel1Resource1"></asp:Label>--%>
                                                        </div>
                                                    </div>

                                                    <div class="">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3" id="IdObsolete" runat="server">
                                                        <div class="fLeft">
                                                            <asp:CheckBox ID="ObsoleteCheckBox" runat="server"
                                                                meta:resourcekey="ObsoleteCheckBoxResource1" Text="InActive" />
                                                        </div>
                                                        <div class="fLeft pLeft5 pTop5">
                                                            <%--    <asp:Label ID="ObsoleteLabel" runat="server" Text="InActive"
                                                                    meta:resourcekey="ObsoleteLabelResource2"></asp:Label>--%>
                                                        </div>
                                                    </div>
                                                    <div class="">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>


                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <ajaxToolkit:TabPanel ID="TabPanel2" runat="server" HeaderText="Planning"
                                meta:resourcekey="TabPanel2Resource1" TabIndex="1">
                                <HeaderTemplate>

                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                        <li class="fancyTab">
                                            <a><i class="fas fa-calendar-check"></i>&nbsp;Planning
                                            </a>
                                        </li>
                                    </ul>
                                </HeaderTemplate>
                                <ContentTemplate>

                                    <!-- Tax Information Box Start -->
                                    <div class="contentHolder">
                                        <div class="himssuHeader1WireBox">
                                            <div class="himsBoxHeader" id="Div1" runat="server" visible="True">
                                                <div class="leftdiv">
                                                </div>

                                                <%--   <div class="himsBoxTitle">
                                                                <div class="headerText fLeft">

                                                                    <asp:Label ID="Label10" Text="Planning"
                                                                        runat="server" />
                                                                </div>
                                                            </div>--%>
                                            </div>
                                            <div class="himsBoxContent card-body">
                                                <div class="contentHolder">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="label13" runat="server" Text="Last Purchase Price"></asp:Label>

                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:TextBox ID="Textlastpurchase" runat="server"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="TextlastpurchaseResource1"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="label100" runat="server"
                                                                Text="Weighted Average Cost" meta:resourcekey="label100Resource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="TextWeighted" runat="server"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="TextWeightedResource1"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="label6" runat="server" Text="Maximum Inventory"></asp:Label>

                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:TextBox ID="MaxInventoryTextBox" runat="server"
                                                                dir="ltr" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                MaxLength="13" onBlur="javascript:return fnValidateDecimal(this,10,2)"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="MaxInventoryTextBoxResource1"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="label7" runat="server" Text="Reorder Point"></asp:Label>

                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:TextBox ID="ReorderTextBox" runat="server"
                                                                dir="ltr" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                MaxLength="13" onblur="return fnonTextChangeNameField(this)" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="ReorderTextBoxResource1"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="label12" runat="server" Text="Safety Stock"></asp:Label>

                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:TextBox ID="SafetyTextBox1" runat="server"
                                                                dir="ltr" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                MaxLength="13" onBlur="javascript:return fnValidateDecimal(this,10,2)"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="SafetyTextBox1Resource1"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="label9" runat="server" Text="Reorder Quantity"></asp:Label>

                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:TextBox ID="ReorderQuantityTextBox" runat="server"
                                                                dir="ltr" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                MaxLength="13" onblur="return fnonTextChangeNameField(this)" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="ReorderTextBoxResource1"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="">
                                                    </div>

                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>



                        </ajaxToolkit:TabContainer>

                        <!-- Sub Container1 Box Ends -->
                    </div>
                </div>

                <%--HEDP History Ends Here--%>
            </div>

        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/stock-item-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/stock-item-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
