Quintiq file version 2.0
#parent: ListFillingScheme
Response OnClick (
  FilllingCapacityOrderScheme selection
) id:Response_ListFillingScheme_MenuDelete_OnClick
{
  #keys: '[414382.0.475970386]'
  CanBindMultiple: false
  DefinitionID => /ListFillingScheme/Responsedef_ListFillingScheme_WebMenu_OnClick
  Initiator: 'MenuDelete'
  Precondition:
  [*
    //feedback := Translations::FilllingCapacity_NotRelease();
    //checkValue := not FilllingCapacityOrderScheme::HasAlreadyRelease( MacroPlan);
    //return checkValue;
    feedback := Translations::FilllingCapacity_NotRelease();
    checkValue := selectobject( MacroPlan,FilllingCapacityOrderScheme,scheme,scheme.IsRelease())
    return isnull( checkValue );
  *]
  QuillAction
  {
    Body:
    [*
      FilllingCapacityOrderScheme::DeleteDetails( MacroPlan,selection.SchemeName());
      selection.Delete();
    *]
    GroupServerCalls: false
  }
}
