Index: trunk/grails-app/views/inventoryLocation/create.gsp
===================================================================
--- trunk/grails-app/views/storeLocation/create.gsp	(revision 151)
+++ trunk/grails-app/views/inventoryLocation/create.gsp	(revision 175)
@@ -5,19 +5,19 @@
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <meta name="layout" content="main" />
-        <title>Create StoreLocation</title>         
+        <title>Create InventoryLocation</title>         
     </head>
     <body>
         <div class="nav">
             <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
-            <span class="menuButton"><g:link class="list" action="list">StoreLocation List</g:link></span>
+            <span class="menuButton"><g:link class="list" action="list">InventoryLocation List</g:link></span>
         </div>
         <div class="body">
-            <h1>Create StoreLocation</h1>
+            <h1>Create InventoryLocation</h1>
             <g:if test="${flash.message}">
             <div class="message">${flash.message}</div>
             </g:if>
-            <g:hasErrors bean="${storeLocationInstance}">
+            <g:hasErrors bean="${inventoryLocationInstance}">
             <div class="errors">
-                <g:renderErrors bean="${storeLocationInstance}" as="list" />
+                <g:renderErrors bean="${inventoryLocationInstance}" as="list" />
             </div>
             </g:hasErrors>
@@ -29,8 +29,8 @@
                             <tr class="prop">
                                 <td valign="top" class="name">
-                                    <label for="bin">Bin:</label>
+                                    <label for="name">Name:</label>
                                 </td>
-                                <td valign="top" class="value ${hasErrors(bean:storeLocationInstance,field:'bin','errors')}">
-                                    <input type="text" maxlength="50" id="bin" name="bin" value="${fieldValue(bean:storeLocationInstance,field:'bin')}"/>
+                                <td valign="top" class="value ${hasErrors(bean:inventoryLocationInstance,field:'name','errors')}">
+                                    <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:inventoryLocationInstance,field:'name')}"/>
                                 </td>
                             </tr> 
@@ -40,6 +40,6 @@
                                     <label for="inventoryStore">Inventory Store:</label>
                                 </td>
-                                <td valign="top" class="value ${hasErrors(bean:storeLocationInstance,field:'inventoryStore','errors')}">
-                                    <g:select optionKey="id" from="${InventoryStore.list()}" name="inventoryStore.id" value="${storeLocationInstance?.inventoryStore?.id}" ></g:select>
+                                <td valign="top" class="value ${hasErrors(bean:inventoryLocationInstance,field:'inventoryStore','errors')}">
+                                    <g:select optionKey="id" from="${InventoryStore.list()}" name="inventoryStore.id" value="${inventoryLocationInstance?.inventoryStore?.id}" ></g:select>
                                 </td>
                             </tr> 
@@ -49,6 +49,6 @@
                                     <label for="isActive">Is Active:</label>
                                 </td>
-                                <td valign="top" class="value ${hasErrors(bean:storeLocationInstance,field:'isActive','errors')}">
-                                    <g:checkBox name="isActive" value="${storeLocationInstance?.isActive}" ></g:checkBox>
+                                <td valign="top" class="value ${hasErrors(bean:inventoryLocationInstance,field:'isActive','errors')}">
+                                    <g:checkBox name="isActive" value="${inventoryLocationInstance?.isActive}" ></g:checkBox>
                                 </td>
                             </tr> 
Index: trunk/grails-app/views/inventoryLocation/edit.gsp
===================================================================
--- trunk/grails-app/views/storeLocation/edit.gsp	(revision 151)
+++ trunk/grails-app/views/inventoryLocation/edit.gsp	(revision 175)
@@ -5,25 +5,25 @@
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <meta name="layout" content="main" />
-        <title>Edit StoreLocation</title>
+        <title>Edit InventoryLocation</title>
     </head>
     <body>
         <div class="nav">
             <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
-            <span class="menuButton"><g:link class="list" action="list">StoreLocation List</g:link></span>
-            <span class="menuButton"><g:link class="create" action="create">New StoreLocation</g:link></span>
+            <span class="menuButton"><g:link class="list" action="list">InventoryLocation List</g:link></span>
+            <span class="menuButton"><g:link class="create" action="create">New InventoryLocation</g:link></span>
         </div>
         <div class="body">
-            <h1>Edit StoreLocation</h1>
+            <h1>Edit InventoryLocation</h1>
             <g:if test="${flash.message}">
             <div class="message">${flash.message}</div>
             </g:if>
-            <g:hasErrors bean="${storeLocationInstance}">
+            <g:hasErrors bean="${inventoryLocationInstance}">
             <div class="errors">
-                <g:renderErrors bean="${storeLocationInstance}" as="list" />
+                <g:renderErrors bean="${inventoryLocationInstance}" as="list" />
             </div>
             </g:hasErrors>
             <g:form method="post" >
-                <input type="hidden" name="id" value="${storeLocationInstance?.id}" />
-                <input type="hidden" name="version" value="${storeLocationInstance?.version}" />
+                <input type="hidden" name="id" value="${inventoryLocationInstance?.id}" />
+                <input type="hidden" name="version" value="${inventoryLocationInstance?.version}" />
                 <div class="dialog">
                     <table>
@@ -32,8 +32,24 @@
                             <tr class="prop">
                                 <td valign="top" class="name">
-                                    <label for="bin">Bin:</label>
+                                    <label for="name">Name:</label>
                                 </td>
-                                <td valign="top" class="value ${hasErrors(bean:storeLocationInstance,field:'bin','errors')}">
-                                    <input type="text" maxlength="50" id="bin" name="bin" value="${fieldValue(bean:storeLocationInstance,field:'bin')}"/>
+                                <td valign="top" class="value ${hasErrors(bean:inventoryLocationInstance,field:'name','errors')}">
+                                    <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:inventoryLocationInstance,field:'name')}"/>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="inventoryItems">Inventory Items:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:inventoryLocationInstance,field:'inventoryItems','errors')}">
+                                    
+<ul>
+<g:each var="i" in="${inventoryLocationInstance?.inventoryItems?}">
+    <li><g:link controller="inventoryItem" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
+</g:each>
+</ul>
+<g:link controller="inventoryItem" params="['inventoryLocation.id':inventoryLocationInstance?.id]" action="create">Add InventoryItem</g:link>
+
                                 </td>
                             </tr> 
@@ -43,6 +59,6 @@
                                     <label for="inventoryStore">Inventory Store:</label>
                                 </td>
-                                <td valign="top" class="value ${hasErrors(bean:storeLocationInstance,field:'inventoryStore','errors')}">
-                                    <g:select optionKey="id" from="${InventoryStore.list()}" name="inventoryStore.id" value="${storeLocationInstance?.inventoryStore?.id}" ></g:select>
+                                <td valign="top" class="value ${hasErrors(bean:inventoryLocationInstance,field:'inventoryStore','errors')}">
+                                    <g:select optionKey="id" from="${InventoryStore.list()}" name="inventoryStore.id" value="${inventoryLocationInstance?.inventoryStore?.id}" ></g:select>
                                 </td>
                             </tr> 
@@ -52,22 +68,6 @@
                                     <label for="isActive">Is Active:</label>
                                 </td>
-                                <td valign="top" class="value ${hasErrors(bean:storeLocationInstance,field:'isActive','errors')}">
-                                    <g:checkBox name="isActive" value="${storeLocationInstance?.isActive}" ></g:checkBox>
-                                </td>
-                            </tr> 
-                        
-                            <tr class="prop">
-                                <td valign="top" class="name">
-                                    <label for="storedItems">Stored Items:</label>
-                                </td>
-                                <td valign="top" class="value ${hasErrors(bean:storeLocationInstance,field:'storedItems','errors')}">
-                                    
-<ul>
-<g:each var="s" in="${storeLocationInstance?.storedItems?}">
-    <li><g:link controller="storedItem" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
-</g:each>
-</ul>
-<g:link controller="storedItem" params="['storeLocation.id':storeLocationInstance?.id]" action="create">Add StoredItem</g:link>
-
+                                <td valign="top" class="value ${hasErrors(bean:inventoryLocationInstance,field:'isActive','errors')}">
+                                    <g:checkBox name="isActive" value="${inventoryLocationInstance?.isActive}" ></g:checkBox>
                                 </td>
                             </tr> 
Index: trunk/grails-app/views/inventoryLocation/list.gsp
===================================================================
--- trunk/grails-app/views/storeLocation/list.gsp	(revision 151)
+++ trunk/grails-app/views/inventoryLocation/list.gsp	(revision 175)
@@ -5,13 +5,13 @@
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <meta name="layout" content="main" />
-        <title>StoreLocation List</title>
+        <title>InventoryLocation List</title>
     </head>
     <body>
         <div class="nav">
             <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
-            <span class="menuButton"><g:link class="create" action="create">New StoreLocation</g:link></span>
+            <span class="menuButton"><g:link class="create" action="create">New InventoryLocation</g:link></span>
         </div>
         <div class="body">
-            <h1>StoreLocation List</h1>
+            <h1>InventoryLocation List</h1>
             <g:if test="${flash.message}">
             <div class="message">${flash.message}</div>
@@ -24,5 +24,5 @@
                    	        <g:sortableColumn property="id" title="Id" />
                         
-                   	        <g:sortableColumn property="bin" title="Bin" />
+                   	        <g:sortableColumn property="name" title="Name" />
                         
                    	        <th>Inventory Store</th>
@@ -33,14 +33,14 @@
                     </thead>
                     <tbody>
-                    <g:each in="${storeLocationInstanceList}" status="i" var="storeLocationInstance">
+                    <g:each in="${inventoryLocationInstanceList}" status="i" var="inventoryLocationInstance">
                         <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                         
-                            <td><g:link action="show" id="${storeLocationInstance.id}">${fieldValue(bean:storeLocationInstance, field:'id')}</g:link></td>
+                            <td><g:link action="show" id="${inventoryLocationInstance.id}">${fieldValue(bean:inventoryLocationInstance, field:'id')}</g:link></td>
                         
-                            <td>${fieldValue(bean:storeLocationInstance, field:'bin')}</td>
+                            <td>${fieldValue(bean:inventoryLocationInstance, field:'name')}</td>
                         
-                            <td>${fieldValue(bean:storeLocationInstance, field:'inventoryStore')}</td>
+                            <td>${fieldValue(bean:inventoryLocationInstance, field:'inventoryStore')}</td>
                         
-                            <td>${fieldValue(bean:storeLocationInstance, field:'isActive')}</td>
+                            <td>${fieldValue(bean:inventoryLocationInstance, field:'isActive')}</td>
                         
                         </tr>
@@ -50,5 +50,5 @@
             </div>
             <div class="paginateButtons">
-                <g:paginate total="${storeLocationInstanceTotal}" />
+                <g:paginate total="${inventoryLocationInstanceTotal}" />
             </div>
         </div>
Index: trunk/grails-app/views/inventoryLocation/show.gsp
===================================================================
--- trunk/grails-app/views/storeLocation/show.gsp	(revision 151)
+++ trunk/grails-app/views/inventoryLocation/show.gsp	(revision 175)
@@ -5,14 +5,14 @@
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <meta name="layout" content="main" />
-        <title>Show StoreLocation</title>
+        <title>Show InventoryLocation</title>
     </head>
     <body>
         <div class="nav">
             <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
-            <span class="menuButton"><g:link class="list" action="list">StoreLocation List</g:link></span>
-            <span class="menuButton"><g:link class="create" action="create">New StoreLocation</g:link></span>
+            <span class="menuButton"><g:link class="list" action="list">InventoryLocation List</g:link></span>
+            <span class="menuButton"><g:link class="create" action="create">New InventoryLocation</g:link></span>
         </div>
         <div class="body">
-            <h1>Show StoreLocation</h1>
+            <h1>Show InventoryLocation</h1>
             <g:if test="${flash.message}">
             <div class="message">${flash.message}</div>
@@ -26,12 +26,25 @@
                             <td valign="top" class="name">Id:</td>
                             
-                            <td valign="top" class="value">${fieldValue(bean:storeLocationInstance, field:'id')}</td>
+                            <td valign="top" class="value">${fieldValue(bean:inventoryLocationInstance, field:'id')}</td>
                             
                         </tr>
                     
                         <tr class="prop">
-                            <td valign="top" class="name">Bin:</td>
+                            <td valign="top" class="name">Name:</td>
                             
-                            <td valign="top" class="value">${fieldValue(bean:storeLocationInstance, field:'bin')}</td>
+                            <td valign="top" class="value">${fieldValue(bean:inventoryLocationInstance, field:'name')}</td>
+                            
+                        </tr>
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Inventory Items:</td>
+                            
+                            <td  valign="top" style="text-align:left;" class="value">
+                                <ul>
+                                <g:each var="i" in="${inventoryLocationInstance.inventoryItems}">
+                                    <li><g:link controller="inventoryItem" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
+                                </g:each>
+                                </ul>
+                            </td>
                             
                         </tr>
@@ -40,5 +53,5 @@
                             <td valign="top" class="name">Inventory Store:</td>
                             
-                            <td valign="top" class="value"><g:link controller="inventoryStore" action="show" id="${storeLocationInstance?.inventoryStore?.id}">${storeLocationInstance?.inventoryStore?.encodeAsHTML()}</g:link></td>
+                            <td valign="top" class="value"><g:link controller="inventoryStore" action="show" id="${inventoryLocationInstance?.inventoryStore?.id}">${inventoryLocationInstance?.inventoryStore?.encodeAsHTML()}</g:link></td>
                             
                         </tr>
@@ -47,18 +60,5 @@
                             <td valign="top" class="name">Is Active:</td>
                             
-                            <td valign="top" class="value">${fieldValue(bean:storeLocationInstance, field:'isActive')}</td>
-                            
-                        </tr>
-                    
-                        <tr class="prop">
-                            <td valign="top" class="name">Stored Items:</td>
-                            
-                            <td  valign="top" style="text-align:left;" class="value">
-                                <ul>
-                                <g:each var="s" in="${storeLocationInstance.storedItems}">
-                                    <li><g:link controller="storedItem" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
-                                </g:each>
-                                </ul>
-                            </td>
+                            <td valign="top" class="value">${fieldValue(bean:inventoryLocationInstance, field:'isActive')}</td>
                             
                         </tr>
@@ -69,5 +69,5 @@
             <div class="buttons">
                 <g:form>
-                    <input type="hidden" name="id" value="${storeLocationInstance?.id}" />
+                    <input type="hidden" name="id" value="${inventoryLocationInstance?.id}" />
                     <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
                     <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
