Job Entry Screen - Schedule Job - Finite Capacity tickbox

Hi,

Can anyone please see where I have gone wrong I’m trying to get the finite capacity tick box to be ticked as true.

The below has been created through form event wizard, Event Type is EpiViewNotification and View is ScheduleEngine

image

private void edvScheduleEngine_EpiViewNotification(EpiDataView view, EpiNotifyArgs args)
{
	// ** Argument Properties and Uses **
	// view.dataView[args.Row]["FieldName"]
	// args.Row, args.Column, args.Sender, args.NotifyType
	// NotifyType.Initialize, NotifyType.AddRow, NotifyType.DeleteRow, NotifyType.InitLastView, NotifyType.InitAndResetTreeNodes
	if ((args.NotifyType == EpiTransaction.NotifyType.AddRow))
	{
		if ((args.Row > -1))
		{
			view.dataView[view.Row].BeginEdit();
			view.dataView[view.Row]["FiniteLoad"]=true;
			view.dataView[view.Row].EndEdit();
		}

Thanks

Try this:

Make sure that customization is opened when creating scheduling.

Hope this help.

Just select the box on the form!