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
|
}
|
}
|