Quintiq file version 2.0
|
#parent: #root
|
Method InitializeDialog (
|
SWF_StepDefinition selection,
|
Boolean isNew
|
) id:Method_SWF_DialogCreateEditStepDefinition_InitializeDialog
|
{
|
#keys: '[136682.0.979169701]'
|
Body:
|
[*
|
//Initialize data
|
|
Form.InitializeParentStepDefinition( isNew, selection );
|
|
if ( not isNew )
|
{
|
DataHolderDialogData.Data( selection );
|
numpickerduedoffset.Number( selection.DueOffset() );
|
DataHolderSelectedParentStep.Data( selection.ParentStepDefinition() );
|
|
}
|
else if ( isNew )
|
{
|
if ( not isnull( selection ) )
|
{
|
|
DataHolderSelectedParentStep.Data( selection );
|
}
|
Form.numpickerduedoffset().Number( 1 );
|
}
|
|
Form.SetTitle( isNew );
|
|
|
Form.SetManagedBy();
|
GlobalStateSOPWorkflow.ShowFormModal( this );
|
*]
|
}
|