lihongji
2024-09-18 95a29dd66d05d632d6b7b320ea2fd9047b49d640
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlan/Response_pHeader_bDeductionOfReplacementLoss_OnClick.def
@@ -5,8 +5,21 @@
  #keys: '[413988.0.1297973984]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      OfflinePlanCell::DeductionOfReplacementLoss( MacroPlan, dhOfflinePlanTable.Data() );
      opt := maxselect( MacroPlan, OfflinePlanTable, tempOPT, true, tempOPT.SaveDateTime() );
      dhOfflinePlanTable.Data( opt );
      WebMessageBox::Success( Translations::A_VWED_Success() );
    *]
    GroupServerCalls: false
  }
}