Quintiq file version 2.0
|
#parent: #root
|
Method GetPeriodTaskRemovalWarningDialog (
|
structured[Process_MP] processes,
|
String definitionname
|
) as Boolean id:Method_ApplicationMacroPlanner_GetPeriodTaskRemovalWarningDialog
|
{
|
#keys: '[139394.0.1402718153]'
|
Body:
|
[*
|
// Prompt user with warning dialog for action confirmation
|
result := true;
|
|
if( processes.Size() > 0
|
and Process_MP::GetHasPlannedTask( processes ) )
|
{
|
message := Translations::MP_PeriodTask_MP_PeriodTasksWillBeRemoved( definitionname );
|
result := WebMessageBox::Question( message, Translations::MP_Designer_YesNo() ) = 0;
|
}
|
|
return result;
|
*]
|
}
|