Beispiel #1
0
        public RouteWrkSheetInq()
            : base()
        {
            Routes.Cache.AllowInsert = false;
            routeDocumentMaint       = PXGraph.CreateInstance <RouteDocumentMaint>();

            CreateNew.SetEnabled(RouteDocumentMaint.IsReadyToBeUsed(this));
        }
        public AppointmentInq()
        {
            Appointments.Cache.AllowDelete = false;
            Appointments.Cache.AllowInsert = false;
            Appointments.Cache.AllowUpdate = false;

            CreateNew.SetEnabled(AppointmentEntry.IsReadyToBeUsed(this, this.Accessinfo.ScreenID));
        }