Lai,Risheng
2023-11-02 30c02e0c981b16be0918483543f4b812956c45d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Quintiq file version 2.0
#parent: ListPostponementSpecification
Response OnClick (
  structured[PostponementSpecification] selection
) id:Response_ListPostponementSpecification_MenuDelete_OnClick
{
  #keys: '[135040.0.164757032]'
  CanBindMultiple: false
  DefinitionID => /ListPostponementSpecification/Responsedef_ListPostponementSpecification_WebMenu_OnClick
  GroupServerCalls: true
  Initiator: 'MenuDelete'
  UserRequiresReadWrite: true
  QuillAction
  {
    Body:
    [*
      // Delete a PostponementSpecification
      
      haspostponement := PostponementSpecification::HasPostponement( selection );
      if( not haspostponement or WebMessageBox::Warning( Translations::MP_Designer_GetConfirmation_DeletePostponementSpecification(),
                                                         Translations::MP_Designer_YesNo(),
                                                         true ) = 0 )
      {
        PostponementSpecification::Delete( selection );
      }
    *]
  }
}