| Quintiq file version 2.0 | 
| #parent: PanelInterfaceTest/ButtonSynchronizeDataToMacroPlan | 
| Response OnClick () id:Response_PanelInterfaceTest_ButtonSynchronizeDataToMacroPlan_OnClick | 
| { | 
|   #keys: '[414702.0.465857875]' | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_WebButton_OnClick' | 
|   Precondition: | 
|   [* | 
|     return not isnull( GlobalOTDTable ) and not isnull( MacroPlan ); | 
|   *] | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       GlobalOTDTable.SynchronizeDataToMacroPlan( MacroPlan,  | 
|                                                  CheckboxUnitOfMeasure_MP.Checked() | 
|                                                 ); | 
|        | 
|       WebMessageBox::Success( "同步成功!", true ); | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |