Quintiq file version 2.0
|
#parent: PanelExport_670/ButtonExport
|
Response OnClick () id:Response_PanelExport_670_ButtonExport_OnClick
|
{
|
#keys: '[415136.0.989500440]'
|
CanBindMultiple: false
|
DefinitionID: 'Responsedef_WebButton_OnClick'
|
Precondition:
|
[*
|
return not isnull( MacroPlan );
|
*]
|
QuillAction
|
{
|
Body:
|
[*
|
binaryValue := CCEngineLogisticsCostReport::Download( MacroPlan );
|
|
Application.Download( CCEngineLogisticsCostReport::GetDefaultName() + '.xlsx', binaryValue.AsBinaryData() );
|
*]
|
GroupServerCalls: false
|
}
|
}
|