| | |
| | | uploadJson := JSON::Parse( uploadJsonString ); |
| | | Archive::VerifyTheFileName( uploadJson ); |
| | | |
| | | fileName := uploadJson.Get( "name" ).GetString(); |
| | | // fileName := uploadJson.Get( "name" ).GetString(); |
| | | base64String := uploadJson.Get( "data" ).GetString(); |
| | | |
| | | webFileBinaryData := BinaryData::FromBase64EncodedString( base64String ).AsBinaryValue(); |
| | | |
| | | CCEngineLogisticsCostReport::Import( MacroPlan, RecycleBin, webFileBinaryData, fileName ); |
| | | CCEngineLogisticsCostReport::Import( MacroPlan, RecycleBin, webFileBinaryData ); |
| | | |
| | | WebMessageBox::Success( Translations::A_VWED_Success() ); |
| | | } |