Finite Capacity as default on Scheduling Options

There is no simple switch to make this happen. Although I haven't done
it yet, I was told to use Customization to set the default setting of
that checkbox to True.

--- In vantage@yahoogroups.com, Tony Hughes <thughes281@...> wrote:
>
> Is there an easy configuration that will set the "Finite Capacity"
checkbox as checked by default on the Scheduling Options?
>
> Thanks,
>
> Tony
>
Is there an easy configuration that will set the "Finite Capacity" checkbox as checked by default on the Scheduling Options?

Thanks,

Tony
Tony,

No company config setting for this that I'm aware of (anyone else know if there is and I just missed it?)

Easy via customization of the job entry/job scheduler submit form:

Declare this for use in the module:

Public withEvents edvSchedEng As EpiDataView

In Sub InitializeCustomCode(), add:

edvSchedEng = CType(oTrans.EpiDataViews("ScheduleEngine"), EpiDataView)

For good housekeeping, in Sub DestroyCode(), add:

edvSchedEng = Nothing

Now add this subroutine:

Private Sub ScheduleForm_Load(ByVal sender As object, ByVal args As EventArgs) Handles ScheduleForm.Load
'// '// Add Event Handler Code
'//
edvSchedEng.dataView(edvSchedEng.Row)("Finite") = True

End Sub

That will force the form to default to finite every time it is loaded. (ANYTHING else on the form can be set using this technique as well.)

Rob



--- On Mon, 12/1/08, Tony Hughes <thughes281@...> wrote:

From: Tony Hughes <thughes281@...>
Subject: [Vantage] Finite Capacity as default on Scheduling Options
To: vantage@yahoogroups.com
Date: Monday, December 1, 2008, 4:20 PM






Is there an easy configuration that will set the "Finite Capacity" checkbox as checked by default on the Scheduling Options?

Thanks,

Tony