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
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method Import ( 
 |    Boolean isimportuserimportprofile, 
 |    BinaryValues binaryValues, 
 |    Strings brokernames, 
 |    Boolean is3DDrive, 
 |    FileItems fileItems, 
 |    Strings fileNames 
 |  ) 
 |  { 
 |    Description: 'Import objects of MPSync from excel' 
 |    TextBody: 
 |    [* 
 |      usergroupprofiles := BinaryValue::Construct(); 
 |       
 |      if( is3DDrive ) 
 |      { 
 |        binaryValues := MPSyncUtility::ImportFrom3DDrive( fileNames, fileItems ); 
 |      } 
 |       
 |      this.ImportBinaryData( binaryValues, brokernames, usergroupprofiles ); 
 |       
 |      if( isimportuserimportprofile ) 
 |      { 
 |        this.ImportUserGroupProfiles( usergroupprofiles ); 
 |      } 
 |    *] 
 |  } 
 |  
  |