yypsybs
2023-09-22 744ece58704eabc06b44d3df45216bcced80ed96
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: Panel647/btn_Add_Order_FOF
Response OnClick () id:Response_Panel647_btn_Add_Order_FOF_OnClick
{
  #keys: '[414724.0.86152095]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan);
  *]
  QuillAction
  {
    Body:
    [*
      SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect");
      if(not isnull( SelectItem) and SelectItem.Value().Length()>0)
      {
        Application.OpenForm( "FrmAuthorizeAndCountersign_Order","popout");
      }
      else
      {
        WebMessageBox::Information( "请选择一项预测后再点击按钮!");  
      }
    *]
    GroupServerCalls: false
  }
}