| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod upload ( |
| | | StaticMethod Upload ( |
| | | GlobalOTDTable parent, |
| | | String filePath, |
| | | BinaryValue bytes |
| | | String base64Str, |
| | | String userName |
| | | ) as MatAttrSettingAndPlanStrategyInputSource |
| | | { |
| | | TextBody: |
| | |
| | | fileName := filePath.Tokenize( "\" ).Element( filePath.Tokenize( "\" ).Size() - 1 ); |
| | | info( "fileName : " + fileName ); |
| | | inputSource := parent.MatAttrSettingAndPlanStrategyInputSource( relnew, |
| | | fileName := fileName, |
| | | bytes := bytes, |
| | | isXlsx := fileName.EndsWith( "xlsx" )); |
| | | FileName := fileName, |
| | | Base64Str := base64Str, |
| | | IsXlsx := fileName.EndsWith( "xlsx" ), |
| | | UserName := userName ); |
| | | |
| | | return inputSource; |
| | | *] |