| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | | Quintiq file version 2.0 |  | #parent: pHeader/bExport |  | Response OnClick () id:Response_pHeader_bExport_OnClick |  | { |  |   #keys: '[413988.0.1503619865]' |  |   CanBindMultiple: false |  |   DefinitionID: 'Responsedef_WebButton_OnClick' |  |   Precondition: |  |   [* |  |     return not isnull( MacroPlan ); |  |   *] |  |   QuillAction |  |   { |  |     Body: |  |     [* |  |       mlcrrs := selectset( MacroPlan, MachineLogisticsCostReportRow, tempMLCRR, tempMLCRR.Factory() = ddslFactory.Text() ); |  |        |  |       binaryValue := MachineLogisticsCostReportCell::Export( MacroPlan, mlcrrs ); |  |        |  |       Application.Download( ddslFactory.Text() + "_机加物流成本报表.xlsx", binaryValue.AsBinaryData() ); |  |     *] |  |     GroupServerCalls: false |  |   } |  | } | 
 |