public ScheduleMaint() { GLSetup gls = GLSetup.Current; Batch_History.Cache.AllowDelete = false; Batch_History.Cache.AllowInsert = false; Batch_History.Cache.AllowUpdate = false; Schedule_Header.WhereAnd <Where <Schedule.module, Equal <BatchModule.moduleGL> > >(); Views.Caches.Remove(typeof(Batch)); }
public ARScheduleMaint() { ARSetup arSetup = ARSetup.Current; Document_History.Cache.AllowDelete = false; Document_History.Cache.AllowInsert = false; Document_History.Cache.AllowUpdate = false; Schedule_Header.Join <LeftJoin < ARRegisterAccess, On <ARRegisterAccess.scheduleID, Equal <Schedule.scheduleID>, And <ARRegisterAccess.scheduled, Equal <True>, And <Not <Match <ARRegisterAccess, Current <AccessInfo.userName> > > > > > > >(); Schedule_Header.WhereAnd <Where < Schedule.module, Equal <BatchModule.moduleAR>, And <ARRegisterAccess.docType, IsNull> > >(); }