| 1234567891011121314151617181920212223242526272829303132 | 
							- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using InABox.Clients;
 
- using InABox.Core;
 
- namespace Comal.Classes
 
- {
 
-     public class StockLocationLookups : EntityLookup<StockLocation>
 
-     {
 
-         public override Columns<StockLocation> DefineColumns()
 
-         {
 
-             return Columns.None<StockLocation>().Add(
 
-                 x => x.ID,
 
-                 x => x.Code,
 
-                 x => x.Area.Warehouse.Description,
 
-                 x => x.Area.Description,
 
-                 x => x.Description
 
-             );
 
-         }
 
-         public override Filter<StockLocation> DefineFilter()
 
-         {
 
-             return new Filter<StockLocation>(x => x.Active).IsEqualTo(true);
 
-         }
 
-         public override SortOrder<StockLocation> DefineSortOrder()
 
-         {
 
-             return new SortOrder<StockLocation>(x => x.Code);
 
-         }
 
-     }
 
- }
 
 
  |