123456789101112131415161718192021222324252627282930313233 |
- namespace Comal.Classes
- {
- }
- //public class JobUnitLookups : ILookupDefinition<JobUnit>, ILookupDefinition<JobUnit, ManufacturingPacket>
- //{
- // public Columns<JobUnit> DefineColumns()
- // {
- // return new Columns<JobUnit>(
- // x => x.ID,
- // x => x.Code,
- // x => x.Description
- // );
- // }
- // public Filter<JobUnit> DefineFilter()
- // {
- // return new Filter<JobUnit>(x => x.ID).IsEqualTo(Guid.Empty).And(x => x.ID).IsNotEqualTo(Guid.Empty);
- // }
- // public Filter<JobUnit> DefineFilter(ManufacturingPacket[] items)
- // {
- // if (items.Length == 1)
- // return new Filter<JobUnit>(x => x.Job.ID).IsEqualTo(items.First().SetoutLink.JobLink.ID);
- // return DefineFilter();
- // }
- // public SortOrder<JobUnit> DefineSortOrder()
- // {
- // return new SortOrder<JobUnit>(x => x.Description);
- // }
- //}
|