Quintiq file version 2.0
|
#parent: #root
|
StaticMethod DeleteWithoutFinalize (LibOpt_Runs set)
|
{
|
Description:
|
[*
|
This will delete all the `LibOpt_Run` objects that are passed in AND skip the Finalize of any `LibOpt_Tasks` that are still attached to the run.
|
This allows you to delete runs that have not had their `LibOpt_Tasks` cleaned up as expected.
|
This should only be used when the normal delete does not work anymore.
|
This may also leave the dataset in an invalid state since the optimizer has not executed the expected cleanup.
|
*]
|
TextBody:
|
[*
|
traverse( set, Elements, run )
|
{
|
run.SkipTaskFinalize( true );
|
run.Delete();
|
}
|
*]
|
InterfaceProperties { Accessibility: 'Module' }
|
}
|