hongji.li
2023-11-03 aefafd2142478d4fb07d6b8b45c3047e247389e0
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Quintiq file version 2.0
#parent: #root
Method Export (
  Boolean exportstategies,
  Boolean exportaccounts,
  Boolean exportbookmarks,
  Boolean exportkpisettings,
  Boolean isexportbinary,
  Boolean is3DDrive,
  FileItem directory3DDrive,
  output BinaryValues binaryvalues,
  output Strings brokernames
)
{
  TextBody:
  [*
    // cye1 Oct-20-2016 (created)
    if( exportstategies )
    {
      this.ExportStrategies( isexportbinary, binaryvalues, brokernames );
    }
    
    if( exportaccounts )
    {
      this.ExportAccounts( isexportbinary, binaryvalues, brokernames );
    }
    
    if( exportbookmarks )
    {
      this.ExportBookmarks( isexportbinary, binaryvalues, brokernames );
    }
    
    if( exportkpisettings )
    {
      this.ExportKPISettings( isexportbinary, binaryvalues, brokernames );
    }
    
    // 3DDrive handling
    if( is3DDrive )
    {  
      MPSyncUtility::ExportTo3DDrive( directory3DDrive, binaryvalues, brokernames );
    }
  *]
}