lihongji
2024-12-10 a520b98f6d6951245266e7b80ad3b3e22aa8af72
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
Quintiq file version 2.0
#parent: pHeader/bDeductChangeoverLoss_737
Response OnClick () id:Response_pHeader_bDeductChangeoverLoss_OnClick
{
  #keys: '[413988.0.1657320426]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan )/* and MacroPlan.A_PreviousScenaioName() <> MacroPlan.ScenarioName()*/;
  *]
  QuillAction
  {
    Body:
    [*
      NewOfflinePlanCell::DeductionOfReplacementLoss( MacroPlan, dhNewOfflinePlanTable.Data(),
                                                      DataHolderCheckedEntities.Data() );
      
      opt := maxselect( MacroPlan, NewOfflinePlanTable, tempNOPT, true, tempNOPT.SaveDateTime() );
      dhNewOfflinePlanTable.Data( opt );
      
      WebMessageBox::Success( Translations::A_VWED_Success() );
    *]
    GroupServerCalls: false
  }
}