| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Load ( |
| | | Archive archive, |
| | | LocalTable localTable |
| | | ) const |
| | | { |
| | |
| | | [* |
| | | // rislai Jun-20-2024 (created) |
| | | file := OSFile::Construct(); |
| | | //originRow := localTable.LocalRow( relnew ,Index := localTable.GetRowIndexCache()); |
| | | //carTypeRow := localTable.LocalRow( relnew ,Index := localTable.GetRowIndexCache()); |
| | | //productRow := localTable.LocalRow( relnew ,Index := localTable.GetRowIndexCache()); |
| | | //fourDigitRow := localTable.LocalRow( relnew,Index := localTable.GetRowIndexCache()); |
| | | recycleBin := localTable.RecycleBin(); |
| | | |
| | | columns := selectset( localTable,LocalColumn,column,true ); |
| | | columnTree := NamedValueTree::Create(); |
| | |
| | | file.Open( this.FilePath(), "Read", false ); |
| | | webFileBinaryData := file.ReadBinary(); |
| | | |
| | | generalExcelImportAndExportDataSource := GeneralExcelImportAndExportDataSource::Upload( archive, webFileBinaryData, this.Name() ); |
| | | generalExcelImportAndExportDataSource := GeneralExcelImportAndExportDataSource::Upload( recycleBin, webFileBinaryData, this.Name() ); |
| | | generalExcelImportAndExportDataSource.ReadStructure(); |
| | | selections := selectset( generalExcelImportAndExportDataSource, GeneralExcelImportAndExportDataTable, tempGEIAEDT, true ); |
| | | if( selections.Size() <> 0 ){ |