| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Upload ( |
| | | GlobalOTDTable parent, |
| | | GlobalOTDTable globalOTDTable, |
| | | String filePath, |
| | | String base64Str, |
| | | String userName |
| | |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Jul-1-2023 (created) |
| | | parent.MatAttrSettingAndPlanStrategyInputSource( relflush ); |
| | | info( "filePath : " + filePath ); |
| | | globalOTDTable.MatAttrSettingAndPlanStrategyInputSource( relflush ); |
| | | |
| | | fileName := filePath.Tokenize( "\" ).Element( filePath.Tokenize( "\" ).Size() - 1 ); |
| | | info( "fileName : " + fileName ); |
| | | inputSource := parent.MatAttrSettingAndPlanStrategyInputSource( relnew, |
| | | FileName := fileName, |
| | | Base64Str := base64Str, |
| | | IsXlsx := fileName.EndsWith( "xlsx" ), |
| | | UserName := userName ); |
| | | |
| | | inputSource := globalOTDTable.MatAttrSettingAndPlanStrategyInputSource( relnew, |
| | | FileName := fileName, |
| | | Base64Str := base64Str, |
| | | IsXlsx := fileName.EndsWith( "xlsx" ), |
| | | UserName := userName ); |
| | | |
| | | return inputSource; |
| | | *] |